Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

delete_alert_rule

DestructiveIdempotent

Delete an alert rule by its rule ID to remove unwanted monitoring notifications and keep alert settings current.

Instructions

Delete an alert rule.

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": {
      "rule_id": "<rule_id>"
    },
    "name": "delete_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesAlert rule ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is fully structured. The description adds nothing on top: it does not say whether deletion is permanent, whether rules referenced by policies or flows can be removed, or what happens when the rule_id does not exist. With annotations doing all the work, the description contributes no behavioral value.

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

Conciseness3/5

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

The sentence is minimal and front-loaded with the action verb, so there is no wasted phrasing. However, its brevity comes from under-specification rather than economy of expression, leaving no second sentence to convey the destructive semantics an agent needs.

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

Completeness2/5

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

For a destructive mutation with exactly one required identifier, the definition should at least confirm permanence and the failure mode for an unknown or in-use rule. The annotations cover the safety flags and the schema covers the argument, but the description leaves the operational consequences entirely undocumented.

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?

The single rule_id parameter has 100% schema description coverage, so the schema already carries its meaning and the baseline of 3 applies. The description does not clarify the ID format, whether it must come from list_alert_rules, or how to recover from an unknown ID, so it adds nothing beyond structured fields.

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

Purpose2/5

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

The description restates the tool name and title: "Delete an alert rule" adds no scope, target detail, or resource qualification beyond what the identifier already conveys. It is not misleading, but it is a tautology rather than a specification of what kind of alert rule is affected or under what conditions deletion succeeds.

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?

There is no when-to-use guidance, no mention of alternatives such as update_alert_rule (to disable instead of delete), and no prerequisites or exclusions. The agent must infer entirely from the sibling names that deletion is the terminal option in the alert-rule lifecycle.

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

Deploy Server

Other Tools