Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

get_alert_rule

Read-onlyIdempotent

Retrieve the full details of a specific alert rule by its rule ID, so you can inspect its configuration and status.

Instructions

Get details of a specific 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": "get_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesAlert rule ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered by structured data. The description adds nothing beyond that: no note on what happens with an invalid or unknown rule_id, no indication of whether the response includes rule state, conditions, or history.

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?

One short, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity contributes to the other gaps rather than reflecting deliberate compression of rich content.

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 one-parameter read-only getter with full schema coverage and complete annotations, the definition is minimally sufficient to invoke correctly. It is still thin on lookup semantics (how to obtain rule_id, behavior on missing records) and on what "details" encompasses.

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?

There is a single required parameter with 100% schema description coverage ("Alert rule ID."), so the schema carries the parameter burden. The description adds no format hints, no example ID shape, and no guidance on obtaining the ID, so the baseline 3 applies.

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

Purpose3/5

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

"Get details of a specific alert rule" states a verb (get) and a resource (alert rule), and the word "specific" hints at single-record retrieval versus list_alert_rules. However, "details" is vague about what is returned, and the sentence largely restates the tool name rather than sharply differentiating it from its many get_* siblings.

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 prerequisites, and no reference to list_alert_rules as the way to discover a rule_id. The agent must infer from the name alone that this is the single-record counterpart to list_alert_rules.

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