Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

motorical_send_email

Send transactional email or validate it first with a dry run that checks recipients, body size, and sending limits before a confirmed real send.

Instructions

Send a transactional email, or validate one first. Defaults to dryRun:true: a dry run returns the resolved from, subject, recipient count and body size, plus limits (burst, hourly and daily: used, limit, remaining, reset) and warnings (stable codes such as NO_TEXT_PART, SUBJECT_LONG, OVER_LIMIT, NEAR_LIMIT, THROTTLED), so "validated" is not read as "would work". Real sends require dryRun:false AND confirmRealSend:true. Over the hosted OAuth server your grant authorizes the send and you never see a key; the local stdio server instead needs MOTORICAL_MK_API_KEY (mk_live_...). A real send returns two different ids: messageId (use it with motorical_get_message and motorical_get_message_events) and nextAction.args.taskId (use it ONLY with motorical_wait_for_outcome). Neither works in the other tool. from must be an address at the domain your Motor Block is assigned to: a verified, send-ready domain you own, or the Motorical-owned sandbox domain from motorical_sandbox_provision (see motorical_get_onboarding_state sendFrom); any local part works. Sandbox accounts only: real sends go only to the effective allowlist (see motorical_sandbox_status); a non-allowlisted recipient is refused (403 sandbox_outbound_locked or sandbox_recipient_denied), never redirected, so unlock it with motorical_free_recipient_add first. Those two tools disappear once the account has a verified domain and an active plan, so ignore this sentence if you cannot see them. cc, bcc, replyTo, headers and attachments are optional; each field says its own limits and errors. Requires OAuth scope: send:transactional (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": {
      "to": "<to>",
      "subject": "<subject>"
    },
    "name": "motorical_send_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCopy recipients (Cc header), named in the header. to, cc and bcc together take at most 50 recipients and every one is checked like a to recipient (sandbox allowlist, Free-account rules, suppression; a suppressed cc/bcc is skipped and listed in data.skipped). Rolling out per Motor Block: a block without it answers 422 feature_not_enabled and sends nothing, so retry without it or tell the person
toYes
bccNoBlind-copy recipients: delivered, named in no header. Rolling out per Motor Block
fromNoDefaults to MOTORICAL_DEFAULT_FROM
htmlNo
textNo
dryRunNoDefault true — validate without queueing
headersNoExtra email headers, e.g. In-Reply-To / References to thread a reply, List-Unsubscribe, X-* of your own. The platform refuses From, Sender, To, Cc, Bcc, Subject, Date, Message-ID, Content-*, DKIM/authentication and X-Motorical-* (400 DISALLOWED_HEADERS)
replyToNoReply-To address. Do not also set a Reply-To header. Rolling out per Motor Block
subjectYes
fromNameNoOptional From display name (do not put From in headers — use this field)
attachmentsNoSmall files only, because the bytes travel through the conversation: { filename, content (base64), contentType?, contentId?, disposition? }, at most 5 files and about 500 KB in total (700000 base64 characters). Send anything larger over SMTP (see the attachments guide in the docs). An inline image takes a contentId and disposition inline; html references it as cid:<contentId>. The plan decides how many files, how large and which types, as over SMTP; a refusal names the plan and the limit (413 attachment_too_large or attachments_total_too_large, 422 too_many_attachments, attachment_type_not_allowed, content_policy_rejected). A dryRun runs the plan check but not the virus and content scan, so a real send can still be refused for the file itself. Rolling out per Motor Block: 422 feature_not_enabled where not available
motorBlockIdNoRequired when the authorization covers more than one Motor Block
idempotencyKeyNo
confirmRealSendNoRequired true when dryRun is false

Output Schema

NameRequiredDescriptionDefault
dataNo
dryRunNo
statusNoPresent only on a real send — accepted for delivery, NOT delivered
messageNo
successYes
deliveredNoAlways null on the synchronous response — a 202 is never delivery
messageIdNoReal send only: the message id for motorical_get_message / motorical_get_message_events (same value as data.id)
idempotentNo
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: describes what a dry run returns (resolved from, subject, recipient count, body size, limits, warning codes), clarifies that "validated" does not mean "would work," explains the two auth models (hosted OAuth vs stdio MOTORICAL_MK_API_KEY), and documents the two distinct return ids and which sibling each belongs to. It also states refusal modes (403 sandbox_outbound_locked/recipient_denied) and that non-allowlisted recipients are never redirected.

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?

Front-loaded and dense with useful detail, but the prose is sprawling: parenthetical tool cross-references, a self-referential "ignore this sentence" clause, and stacked constraints make it harder to scan than necessary. Every sentence is roughly on-topic, yet the wall-of-text form costs readability.

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

Completeness5/5

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

For a 15-parameter, nested-schema, mutation-capable tool this covers the prerequisites (domain, allowlist, scope), the safety gates, and the id-routing to follow-up tools; an output schema exists so return-shape detail beyond the two ids is correctly omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and the description adds genuine meaning the schema lacks, notably the constraint that `from` must be on the Motor Block's assigned domain (owned verified domain or sandbox domain). It mostly delegates cc/bcc/replyTo/headers/attachments detail to the field descriptions rather than compensating for the uncovered third, which keeps this below a 5.

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?

States a specific verb+resource ("Send a transactional email, or validate one first") and immediately makes the dry-run/real-send distinction the core of what the tool does, which differentiates it from the read-side siblings (motorical_get_message, motorical_get_send_status).

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?

Explicitly says the default path is a dry run, that a real send requires dryRun:false AND confirmRealSend:true, and names the alternative tools to use when blocked (motorical_free_recipient_add, motorical_sandbox_status, motorical_get_onboarding_state). It even tells the agent to ignore the sandbox paragraph when those tools are absent, which is concrete conditional guidance.

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