Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Fixter. If you published it, claim ownership there.

Set Alert Rule Status

set_alert_rule_status
DestructiveIdempotent

Set an alert rule's status.

status must be ENABLED (the rule is evaluated) or DISABLED (it is not).

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": {
      "ruleId": "<ruleId>",
      "status": "<status>"
    },
    "name": "set_alert_rule_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdYesThe rule id (UUID)
statusYesENABLED or DISABLED

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Added
  3. Removed
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true; the description is consistent with them and adds useful semantics, namely that DISABLED means the rule is no longer evaluated, which implies alerting stops. It does not explain why the call is flagged destructive, whether configuration is preserved on re-enable, or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the state names front-loaded and no filler. The only inefficiency is the minor repetition of the ENABLED/DISABLED constraint already present in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, flat-schema toggle with no output schema, the definition covers the essentials and annotations carry the safety profile. It stops short of explaining preconditions, side effects on alert delivery, or error behavior, which an agent toggling rule evaluation would benefit from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both ruleId and status are already documented in the schema, and the description restates the ENABLED/DISABLED constraint almost verbatim. Its only added value is glossing what each state means operationally; it adds nothing about ruleId format or failure modes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Set an alert rule's status") and enumerates the only two legal values, which makes the enable/disable toggle nature of the operation unambiguous. It does not explicitly contrast itself with nearby siblings such as save_alert_rule or delete_alert_rule, so an agent must infer the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what the two status values mean but gives no guidance on when to call this versus save_alert_rule, delete_alert_rule, or preview_alert_rule. There are no stated preconditions (rule must already exist, permissions needed) and no exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources