create-monitor
Create a Datadog monitor for metric, log, or service check alerts. Define queries, thresholds, and notification messages to detect issues.
Instructions
Create a new Datadog monitor (metric alert, log alert, etc.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"type": "<type>",
"query": "<query>"
},
"name": "create-monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Monitor name | |
| type | Yes | Monitor type (e.g. metric alert, log alert, query alert, service check) | |
| query | Yes | Monitor query. Example: avg(last_5m):avg:system.cpu.user{env:prod} > 90 | |
| message | No | Notification message (supports @mentions) | |
| tags | No | Tags for the monitor | |
| priority | No | Priority 1-5 (1=highest) | |
| options | No | Advanced monitor options (thresholds, etc.) |