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
| Name | Type | Description |
|---|---|---|
check_id required | string | A unique identifier for a check. |
id | string | A unique ID that can be used to identify and reference the alert. |
name required | string | A human-friendly display name. |
type required | latency | down | down_global | ssl_expiry | The type of alert. |
threshold | integer | The threshold at which the alert will enter a trigger state. The specific… |
comparison | greater_than | less_than | The comparison operator used against the alert's threshold. |
notifications required | object | The notification settings for a trigger alert. |
period required | 2m | 3m | 5m | 10m | 15m | 30m | 1h | Period 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:
{
"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:
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 ….