Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

motorical_get_message_by_smtp_id

Read-onlyIdempotent

Retrieves a single email message by exact SMTP Message-ID header for precise delivery lookup. Use when you have the SMTP ID and need details for that specific sent message.

Instructions

Look up one message by its SMTP Message-ID header. This is a lookup, not a listing: an exact id is required and at most one message is returned. Use motorical_get_message when you have the internal send UUID instead. Requires OAuth scope: read:analytics (see motorical_whoami for what it allows).

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": {
      "smtpMessageId": "<smtpMessageId>"
    },
    "name": "motorical_get_message_by_smtp_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
includePIINoUnmask the recipient address. Requires the logs.pii scope, which is never granted to OAuth tokens — the API returns 403.
motorBlockIdNoRequired when the authorization covers more than one Motor Block
smtpMessageIdYesThe exact SMTP Message-ID, angle brackets included

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's main addition is authorization context: it names the required read:analytics OAuth scope and points to motorical_whoami for scope interpretation, and it sets expectations that at most one record comes back. It stops short of describing not-found behavior or the 403 on includePII (which lives only in the schema), so it is strong but not exhaustive beyond the annotations.

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?

Three sentences, each earning its place: purpose, cardinality/lookup constraint, alternative routing, and auth requirement. The most decision-relevant facts (lookup not listing, exact id, sibling alternative) are front-loaded with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is the only source for return expectations, and it does say at most one message is returned — though not its shape or what happens on a miss. Combined with complete schema coverage and annotations that carry the safety profile, an agent has enough to call it correctly, with only minor gaps around failure modes.

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?

With 100% schema description coverage, the schema already documents all three parameters, including the angle-bracket format for smtpMessageId and the logs.pii/403 caveat for includePII. The description only reinforces exact-match semantics for the id, which is largely a restatement of the schema; baseline 3 is appropriate when structured fields carry the parameter detail.

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

Purpose5/5

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

The description opens with a specific verb and resource: "Look up one message by its SMTP Message-ID header," and immediately distinguishes this from a listing operation ("not a listing: an exact id is required and at most one message is returned"). It also names the sibling it is not — motorical_get_message for internal send UUIDs — so an agent can pick between the two without opening either schema.

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

Usage Guidelines5/5

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

It states both when to use this tool (you have an SMTP Message-ID) and when to use the alternative (motorical_get_message, when you have the internal send UUID), plus the precondition that an exact id is mandatory. That is explicit routing guidance rather than implied usage.

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