create_alert_rule
Create an alert rule to monitor deliverability metrics and trigger notifications when a metric exceeds a set threshold within a specified time window.
Instructions
Create an alert rule for deliverability metrics. Triggers when a metric exceeds the threshold within the specified time window.
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": {
"metric": "<metric>",
"threshold": "<threshold>",
"channel": "<channel>"
},
"name": "create_alert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | Metric to monitor (e.g. 'bounce_rate', 'complaint_rate'). | |
| channel | Yes | Notification channel (e.g. 'email', 'webhook'). | |
| enabled | No | Whether the rule is active. | |
| threshold | Yes | Threshold value that triggers the alert. | |
| window_minutes | No | Evaluation window in minutes. |