Home / Servers / DigitalOcean API / monitoring_create_alert_policy

Create Alert Policy

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

Create Alert Policy To create a new alert, send a POST request to /v2/monitoring/alerts. [POST /v2/monitoring/alerts]

Name on the gateway: digitalocean_api__monitoring_create_alert_policy · may change things.

Parameters

NameTypeDescription
alerts requiredobject
compare requiredGreaterThan | LessThan
description requiredstring
enabled requiredboolean
entities requiredarray
tags requiredarray
type requiredstring
value requirednumber
window required5m | 10m | 30m | 1h

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__monitoring_create_alert_policy",
  "arguments": {
    "alerts": "…",
    "compare": "…",
    "description": "…",
    "enabled": true,
    "entities": [],
    "tags": [],
    "type": "…",
    "value": 0,
    "window": "…"
  }
}

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 alert policy tool with alerts set to ….

More from DigitalOcean API