Update an alert
update_alertAdmin or owner. Omitted fields are left alone, so silencing a rule is a one-field call: { alert_id, enabled: false }. Prefer that over deleting — the history survives and it can be switched back on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new name. Renaming does not rewrite the rule's firing history — each firing froze the name it had at the time. | |
| metric | No | Watch a different metric. The threshold is in the metric's own unit, so changing one usually means changing both. | |
| enabled | No | False silences the rule while keeping it and its history. Prefer this over deleting — it can be switched back on. | |
| alert_id | Yes | Which rule to change. From list_alerts. | |
| channels | No | Replaces the rule's channels outright rather than merging. Delivery is still the intersection of these and each person's own accepted channels. | |
| min_calls | No | The noise floor: a day with fewer calls than this in scope is skipped rather than judged. | |
| threshold | No | In the metric's own unit, as `list_alerts` reports it: a rate is a fraction, so 0.6 means 60% — not 60. A rate threshold above 1 can never be crossed and the rule would never fire. | |
| tool_name | No | Re-scope to one tool. Null widens it back to every tool. Omit for every tool / every client. Narrowing to both is where the value is: one model can fail on a tool another handles fine, and the server-wide average is what hides it. | |
| comparator | No | Which side of the threshold trips the rule. Follow the metric's own `direction` from list_alerts. | |
| client_name | No | Re-scope to one client. Null widens it back to every client. Omit for every tool / every client. Narrowing to both is where the value is: one model can fail on a tool another handles fine, and the server-wide average is what hides it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| mcp_id | Yes | ||
| metric | Yes | ||
| enabled | Yes | ||
| summary | Yes | The rule as a sentence, rendered here so the inbox, an email and this tool all read the same words. | |
| channels | Yes | ||
| min_calls | Yes | The noise floor. Two empties out of three calls is 67% and means nothing. | |
| threshold | Yes | In the metric's own unit: a rate is a fraction, so 0.6 is 60%. | |
| tool_name | Yes | Null means every tool. | |
| comparator | Yes | ||
| created_at | Yes | ||
| client_name | Yes | Null means every client. | |
| fired_count | Yes | ||
| last_fired_at | Yes |