Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

create_inbound_rule

Create an inbound email routing rule for a domain to match incoming messages and forward, webhook, or drop them by priority.

Instructions

Create an inbound email routing rule for a domain.

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>"
    },
    "name": "create_inbound_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRule name.
actionNoAction to take (e.g. forward, webhook, drop).
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.9/5.0
Behavior2/5

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

The annotations already disclose that this is a non-read-only, non-idempotent, open-world operation that is not marked destructive. The description adds no behavioral context beyond the annotations, such as what happens when rules conflict, how priority affects evaluation, or whether creation is immediately active.

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

Conciseness5/5

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

The description is a single front-loaded sentence with no filler or repetition. Every word contributes to stating the resource and scope.

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 creation tool with seven parameters and routing semantics, the description is too thin. It does not explain what an inbound rule does, how the match and action fields relate, or how domain scope affects the rule, leaving important setup context undocumented despite the fully described schema.

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 all seven parameters are already documented in the schema. The description does not add meaning about how parameters like match_type, match_value, action, destination, and priority interact, so the baseline of 3 is appropriate.

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: create an inbound email routing rule for a domain. That is enough to distinguish it from deletion, lookup, and update siblings aimed at inbound rules, though it does not explicitly name those alternatives.

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 only usage signal is the verb 'Create', which implies the tool is for making a new rule. There is no guidance on when to use this instead of update_inbound_rule, list_inbound_rules, or dry_run_inbound_rules, nor any prerequisites or exclusions.

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