Create outage alerts for a stack
create_alert_stackSTART HERE to set up outage alerts for a user. One call, no account or API key. Creates an alert stack that notifies an email address (double opt-in: the recipient clicks one confirmation link) and/or a webhook URL (signed JSON; Slack and Discord incoming-webhook URLs are auto-formatted) when any listed service goes down, stays degraded for N minutes, or gets N user reports in an hour, plus a recovery notice. Services accept slugs or common names ('openai', 'ChatGPT', 'Anthropic', 'AWS', 'Google Cloud'). If the user didn't say where alerts should go, ask for an email or a Slack/Discord webhook URL first. Returns the stack id, a management token and a private manage_link, all shown ONCE: give the user the manage_link and tell them to keep it private.
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": {
"services": "<services>"
},
"name": "create_alert_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Label, e.g. 'Acme AI production stack' | |
| No | Email address for alerts (recipient must click a confirmation link) | ||
| on_down | No | ||
| services | Yes | Services to watch: slugs or common names, e.g. ['openai', 'stripe', 'cloudflare'] | |
| webhook_url | No | https URL to POST alerts to | |
| notify_recovery | No | ||
| degraded_minutes | No | Alert when degraded or down for at least this many minutes; null = off | |
| reports_per_hour | No | Alert when user reports in the last hour reach this; null = off |