Alert Rules
alterlab_alert_ruleManage alert rules that notify you by email, webhook or Slack when your account crosses a threshold (credit balance, domain or product failure rate, response-time spike, failed schedules, stuck runs). action=create needs name, alert_type and conditions; list returns your rules; get, update (PATCH, only the fields you send), delete and test take rule_id (test sends a sample alert through the rule's channels); history lists fired alerts. Use alterlab_monitor instead to watch a page for content changes. Cloud export, extraction templates, org and API key management, BYOK and workflow definitions have no MCP tool: they are dashboard/API only.
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": {
"action": "<action>"
},
"name": "alterlab_alert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | create, update: rule name | |
| limit | No | history: page size. Default 50 | |
| action | Yes | create, list, get, update, delete, test or history | |
| offset | No | history: rows to skip. Default 0 | |
| rule_id | No | get, update, delete, test: alert rule ID. history: optional filter | |
| channels | No | create, update: delivery channels {email: bool, webhook_id: str, slack_webhook_url: str}. Default {email: true} | |
| is_active | No | update: enable or disable the rule | |
| alert_type | No | create: what the rule watches. list, history: optional filter | |
| conditions | No | create, update: thresholds for the alert_type, e.g. {threshold_microcents: 1000000} for credit_threshold or {failure_rate_pct: 50, window_minutes: 60} for domain_failure_rate | |
| domain_filter | No | create, update: limit the rule to these domains | |
| cooldown_minutes | No | create, update: minutes before the rule can fire again. Default 60 | |
| include_inactive | No | list: include disabled rules. Default false |