Pause / Resume Alert Rule
set_alert_rule_activePause or resume an alert rule without editing it (PUT /api/reports/cost-dashboard/alerts/{id}/active). is_active: false stops it evaluating and notifying; true resumes it. Resuming is refused when the rule has nowhere to deliver (e.g. its only channel was deleted) — attach a channel or email with update_alert_rule instead, which also resumes an auto-paused rule. Works on any plan, so a downgraded organization can still silence old rules. Returns the rule's new state. In the app any active member can create alert rules and manage the ones they created, contributors and admins manage every rule, viewers can attach saved channels but not ad-hoc emails, and the public demo organization is read-only; over MCP every write additionally needs the admin gate below. Alert rules need a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "alert_id": "…", "is_active": false, "confirm": true }.
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": {
"alert_id": "<alert_id>",
"is_active": "<is_active>"
},
"name": "set_alert_rule_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side. | |
| alert_id | Yes | The rule to pause or resume (alertId from list_alert_rules). | |
| is_active | Yes | false pauses the rule (it stops evaluating and notifying); true resumes it. |