Skip to main content
Glama
mailkite

MailKite

Official

mailkite_route

Route incoming emails to a pre-registered destination on your MailKite account, triggering the attached action — agent, webhook, or forward. Specify the target by route ID or address to deliver the message.

Instructions

Route a message to one of your registered routes (by routeId or address), running that route's action — agent, webhook, or forward. The route must already exist on your account; arbitrary destinations are not allowed. Requires an API key (mk_live_…).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesSender address recorded on the message.
htmlNoHTML body.
textNoPlain-text body.
addressNoTarget route by the address it matches. One of routeId or address is required.
routeIdNoTarget route by id (rte_…). One of routeId or address is required. The route must already be registered on this account.
subjectNoOptional subject line.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.20.0

TDQS

A3.5/5.0
Behavior3/5

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

Beyond the annotations, the description usefully adds that this tool runs an existing route's action and forbids arbitrary destinations. It does not disclose side effects in detail, like the fact that agent/webhook/forward actions may invoke external systems, nor does it confirm the absence or presence of idempotent behavior for a non-idempotent tool.

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 three sentences with no filler. The core behavior is front-loaded, constraints are stated next, and the API key requirement is appended cleanly. Every sentence adds value.

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 six-parameter tool with no output schema and no annotations covering mutation side effects, the description covers the key prerequisites and behavior. It is missing any note about the response/return shape or any pointer to the route's action configuration, which an agent might need to decide whether to route or directly send.

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 input schema already provides full descriptions for all six parameters, including the routeId/address requirement. The description re-emphasizes that one of routeId or address is needed and that the route must already exist, but adds no substantially new per-parameter meaning beyond the schema.

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 action (route a message) and a specific resource (registered routes), and even names the route action types (agent, webhook, or forward). It is clear about what the tool does, though it does not differentiate against the similarly named sibling mailkite_deliver_to_route.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides relevant context: the route must already exist, arbitrary destinations are not allowed, and an API key is needed. It does not explicitly state when to choose this tool over related sending/route tools like mailkite_send or mailkite_deliver_to_route.

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

Install Server

Other Tools