Skip to main content
Glama

Mail Draft

mail_draft

Prepare an e-mail (a new one, or a reply with reply_to_uid). It is NOT sent: it waits in the owner's outbox on emdly, where they read, edit and send it. Give the owner the link this returns. Plain text body.

Input Schema

NameRequiredDescriptionDefault
ccNoCopy to, comma-separated.
toNoRecipient addresses, comma-separated. For a reply it defaults to the sender.
bodyYesThe message, plain text.
folderNoThe folder of that message (default INBOX).
mailboxNoThe address of the mailbox to use (mail_accounts lists them); may be left out when only one is connected.
subjectNoSubject; for a reply it defaults to "Re: " + the original.
reply_to_uidNoThe uid of the message this answers (from mail_search), so it lands in the same thread.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that the draft is not sent, waits in the owner's outbox, can be read/edited/sent by the owner, and returns a link. It does not cover permission or account-connection requirements, but it provides the most important behavioral traits for a draft-creation 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 front-loaded, compact, and free of filler. Every sentence adds useful information, and the critical fact that the draft is not sent is placed immediately after the purpose statement.

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 tool with no output schema and no annotations, the description does a good job of explaining the non-sending workflow and the returned link. It could say more about account requirements or what to do if no mailbox is connected, but the schema covers those parameters thoroughly. The description is complete enough to invoke correctly.

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%, so the schema already documents all seven parameters in detail. The description adds only a small amount of semantic framing by tying reply_to_uid to reply creation and noting plain-text body, which does not significantly exceed what the schema provides. Baseline 3 is appropriate.

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 ('Prepare an e-mail') and clearly distinguishes draft creation from sending by emphasizing 'It is NOT sent'. It also explains the new-vs-reply distinction. An agent can distinguish this from mail_send 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: use it to prepare an e-mail that waits in the owner's outbox rather than being sent. It also notes reply usage via reply_to_uid and the need to give the owner the returned link. It does not explicitly name mail_send as the alternative to use when immediate sending is intended, so it falls short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources