Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

update_inbound_rule

Idempotent

Modify an existing inbound email rule to change its action, priority, match criteria, or destination for a domain.

Instructions

Update an inbound 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": {
      "domain_id": "<domain_id>",
      "rule_id": "<rule_id>"
    },
    "name": "update_inbound_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRule name.
actionNoAction to take (e.g. forward, webhook, drop).
rule_idYesInbound rule ID.
priorityNoRule priority (lower = higher priority).
domain_idYesSending domain ID.
match_typeNoMatch type (e.g. header, envelope).
destinationNoDestination URL or email.
match_valueNoValue to match against.

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 readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds nothing beyond that: it doesn't say whether omitted fields are left unchanged or cleared, whether the rule is disabled during the update, or how in-flight mail is affected.

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?

A single short sentence with no filler and no wasted clauses, so it is structurally clean. However, its brevity comes from omission rather than precision, leaving nothing front-loaded beyond the tool name.

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 an 8-parameter mutation tool with no output schema, the definition should clarify patch semantics, side effects on live inbound traffic, and what a successful response means. None of that is present, and the annotations alone don't cover those behavioral questions.

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% across all 8 parameters, so the baseline is 3 without further description support. The description supplies no extra meaning for action, match_type, priority, or destination semantics, but the schema already carries that load.

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 "Update an inbound rule" restates the tool name and annotation title almost verbatim, adding no scope detail. It does identify a verb and resource class, but gives no basis for distinguishing it from sibling mutators such as create_inbound_rule, delete_inbound_rule, or update_alert_rule.

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 alternative named (e.g. create vs update vs dry_run_inbound_rules for testing), and no stated preconditions. An agent must infer from the name alone that an existing rule must already exist.

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