Home / Servers / DigitalOcean API / uptime_update_alert

Update an Alert

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

Update an Alert To update the settings of an Uptime alert, send a PUT request to /v2/uptime/checks/$CHECK_ID/alerts/$ALERT_ID. [PUT /v2/uptime/checks/{check_id}/alerts/{alert_id}]

Name on the gateway: digitalocean_api__uptime_update_alert · may change things.

Parameters

NameTypeDescription
check_id requiredstringA unique identifier for a check.
alert_id requiredstringA unique identifier for an 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_update_alert",
  "arguments": {
    "check_id": "…",
    "alert_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 update an alert tool with check_id set to ….

More from DigitalOcean API