Skip to main content
Glama
mail-mcp

mail-mcp

by spencer-fs

send_draft

Destructive

Send a stored email draft exactly as saved: verifies recipients, subject, and attachment names before sending, then moves the draft to Trash and keeps a copy in Sent.

Instructions

Send a draft from the Drafts folder exactly as it is stored. The recipients, subject and attachment names must be passed back and are verified, so what is approved is what is sent. Afterwards the draft is moved to Trash and a copy is kept in Sent. This really sends mail.

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": {
      "uidvalidity": "<uidvalidity>",
      "uid": "<uid>",
      "expected_recipients": "<expected_recipients>",
      "expected_subject": "<expected_subject>"
    },
    "name": "send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesuid of the draft in the Drafts folder.
uidvalidityYesuidvalidity of the Drafts folder from search_messages.
expected_subjectYesThe draft's subject. The server refuses to send if it differs.
expected_recipientsYesEvery To, Cc and Bcc address of the draft. The server refuses to send unless these are exactly the draft's recipients.
expected_attachmentsNoFilenames of every attachment on the draft. The server refuses to send if they differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructive and open-world annotations, the description discloses the exact post-send behavior: the draft is moved to Trash and a copy is kept in Sent. It also explains the verification guardrails on recipients, subject, and attachment names, and warns that the operation really sends mail.

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 four short sentences, front-loaded with the action and scope. The verification rule and side effects follow in a logical order, and the emphatic 'This really sends mail' earns its place as a warning.

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?

For a destructive send operation with no output schema, the description covers purpose, verification, and post-send state well. It could be more complete by saying what the tool returns or what happens when verification fails, but the essential behavioral context is present.

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 100%, so the baseline is 3. The description adds meaningful context beyond the schema by explaining that the expected recipient, subject, and attachment values must be passed back and are verified so that approved content is what gets sent, though it does not describe uid or uidvalidity semantics.

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 states a specific verb and resource ('Send a draft from the Drafts folder') and makes the scope explicit ('exactly as it is stored'). It also makes the key distinction from save_draft and send_email clear with 'This really sends mail,' so an agent can identify the tool without opening the schema.

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

Usage Guidelines4/5

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

The description gives clear context for when to use it: sending an already-stored draft exactly as approved. It does not explicitly name alternatives such as send_email for newly composed mail or save_draft for storing edits, so there is no explicit when-not guidance.

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