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
| Name | Type | Description |
|---|---|---|
id required | string | A unique identifier for an alert rule. |
spec required | object | Spec for an Insights alert rule. On create, name, query, thresholds, and at… |
status | ALERT_RULE_STATUS_ACTIVE | ALERT_RULE_STATUS_PAUSED | Desired 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:
{
"name": "digitalocean_api__insights_update_alert_rule",
"arguments": {
"id": "…",
"spec": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
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 ….