Home / Servers / DigitalOcean API / insights_update_alert_rule

Update an Alert Rule

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

Update an Alert Rule This PUT endpoint uses merge semantics. To update an alert rule, send a request to /v2/insights/alert-rules/{id} with a full spec. Omit notification_channels to keep existing bindings. Omit status… [PUT /v2/insights/alert-rules/{id}]

Name on the gateway: digitalocean_api__insights_update_alert_rule · may change things.

Parameters

NameTypeDescription
id requiredstringA unique identifier for an alert rule.
spec requiredobjectSpec for an Insights alert rule. On create, name, query, thresholds, and at…
statusALERT_RULE_STATUS_ACTIVE | ALERT_RULE_STATUS_PAUSEDDesired alert rule status. Allowed values: - ALERT_RULE_STATUS_ACTIVE = active…

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__insights_update_alert_rule",
  "arguments": {
    "id": "…",
    "spec": "…"
  }
}

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 rule tool with id set to ….

More from DigitalOcean API