Home / Servers / DigitalOcean API / uptime_create_alert

Create a New Alert

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Create a New Alert To create an Uptime alert, send a POST request to /v2/uptime/checks/$CHECK_ID/alerts specifying the attributes in the table below in the JSON body. [POST /v2/uptime/checks/{check_id}/alerts]

Name on the gateway: digitalocean_api__uptime_create_alert · may change things.

Parameters

NameTypeDescription
check_id requiredstringA unique identifier for a check.
idstringA unique ID that can be used to identify and reference the alert.
name requiredstringA human-friendly display name.
type requiredlatency | down | down_global | ssl_expiryThe type of alert.
thresholdintegerThe threshold at which the alert will enter a trigger state. The specific…
comparisongreater_than | less_thanThe comparison operator used against the alert's threshold.
notifications requiredobjectThe notification settings for a trigger alert.
period required2m | 3m | 5m | 10m | 15m | 30m | 1hPeriod of time the threshold must be exceeded to trigger the alert.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__uptime_create_alert",
  "arguments": {
    "check_id": "…",
    "name": "…",
    "type": "…",
    "notifications": "…",
    "period": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a new alert tool with check_id set to ….

More from DigitalOcean API