Skip to main content
Glama
mail-mcp

mail-mcp

by honest-magic

reply_email

Destructive

Send an in-thread email response via SMTP, setting In-Reply-To and References headers so the message appears in the original conversation and works with any IMAP/SMTP provider.

Instructions

Reply to an email in-thread via SMTP — sets In-Reply-To and References headers so the reply appears in the original conversation. Works with any IMAP/SMTP provider.

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": {
      "accountId": "<accountId>",
      "uid": "<uid>",
      "body": "<body>"
    },
    "name": "reply_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoCC recipients
bccNoBCC recipients
uidYesThe UID of the email to reply to
bodyYesReply body content
folderNoThe folder containing the email (default: INBOX)
isHtmlNoWhether the body is HTML (default: false)
accountIdYesThe ID of the account to use
confirmationIdNoConfirmation token from a prior confirmation-required response. Required to execute write operations when server is in --confirm mode.
includeSignatureNoWhether to append the account signature (default: true). Set to false to suppress the signature.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this is an irreversible write. The description adds genuine value the annotations don't — the header mechanics (In-Reply-To, References) and SMTP-level dispatch — but omits the confirmation-required flow, whether failures leave partial state, and any provider-specific auth expectations.

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?

Two tight sentences: the mechanic and effect come first, the provider-portability note second. Nothing is repeated from the schema or annotations and there is no filler.

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 9-parameter mutation with no output schema and destructive semantics, the description covers the core behavior but leaves out the confirmation-token requirement for --confirm mode, signature-append side effects, and how the sent message is reported back. Adequate but with clear gaps an agent would need to resolve from the 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% across all 9 parameters, including defaults for folder, isHtml, and includeSignature, so the schema carries parameter meaning on its own. The description does not clarify required-parameter relationships (accountId/uid/body) or the confirmationId workflow beyond what the schema already states.

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?

"Reply to an email in-thread via SMTP" gives a specific verb and resource, and the In-Reply-To/References detail makes the threading behavior explicit. It implicitly separates itself from send_email/forward_email through "in-thread," but never names those siblings, so the differentiation is inferential rather than stated.

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?

Usage is only implied: the agent can infer this is for responding to an existing message rather than composing a new one. There is no explicit guidance on when to prefer this over send_email, forward_email, or create_draft, and no stated prerequisites (e.g., needing the message UID from read_email/search_emails).

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