Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

update_alert_rule

Idempotent

Modify an existing alert rule’s monitored metric, threshold, notification channel, evaluation window, or active status to keep alerting aligned with current monitoring needs.

Instructions

Update an existing alert rule configuration.

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": "update_alert_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricNoMetric to monitor.
channelNoNotification channel.
enabledNoWhether the rule is active.
rule_idYesAlert rule ID.
thresholdNoThreshold value.
window_minutesNoEvaluation window in minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered structurally. The description adds essentially nothing beyond that: it does not say whether omitted fields are preserved or reset, whether changes are immediately active, or whether notifications may fire as a side effect. For a 6-parameter mutation on a monitoring rule, that is a meaningful gap.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity here reflects under-specification rather than disciplined conciseness.

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 mutation tool with 6 parameters where only rule_id is required, the critical unanswered question is what happens to fields the caller omits — partial patch or full overwrite. With no output schema and a description that only restates the name, the definition leaves an agent guessing on the single most consequential behavior of an update operation.

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% and every parameter has its own description (metric, channel, enabled, rule_id, threshold, window_minutes), so the baseline of 3 applies. The description contributes no additional meaning about parameter interactions, units, or which fields are optional on update.

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 states a specific verb and resource ('Update an existing alert rule configuration'), which cleanly separates it from the create/delete/get/list alert-rule siblings. It stops short of explicitly naming alternatives or scoping what 'configuration' covers, so it is clear but not maximally distinctive.

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 guidance on when to use this versus create_alert_rule or delete_alert_rule, no preconditions (e.g. that the rule must already exist, that rule_id must be resolved via get/list first), and no mention of partial vs full replacement semantics. The agent must infer all of this from the tool name alone.

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