Skip to main content
Glama
iCloud Mail MCP server

iCloud Mail MCP server

by lachsmith

Create draft

create_draft

Save an email draft to the Drafts folder for review before sending, or create a threaded reply with recipients and subject filled from the original; it never sends mail.

Instructions

Saves a draft to the Drafts folder for the user to review and send from their mail app. This tool never sends mail. To reply, pass reply_to_uid: recipients, subject and threading headers are filled in from the original, and the original is quoted below your text.

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": {
      "body": "<body>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNoRequired unless replying.
bccNo
bodyYesPlain-text body. For a reply, only the new text.
subjectNoRequired unless replying; replies default to "Re: …".
reply_allNoCopy the original's other recipients.
reply_to_uidNoUid of the message being replied to.
reply_to_mailboxNoFolder the replied-to message is in.INBOX

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?

Beyond the annotations (which only declare non-read-only, non-destructive, open-world), the description discloses that the draft lands in the Drafts folder, that nothing is sent, and the side effect of reply_to_uid: recipients, subject, and threading headers are auto-filled and the original is quoted below the new text. It omits permission requirements and whether an existing draft is ever overwritten, which keeps it from a 5.

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 tight sentences, front-loaded with the core action and its safety boundary, then the reply behavior. No filler or restatement of the title.

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 an 8-parameter mutation tool with annotations covering its safety profile, the description covers purpose, the no-send guarantee, and the reply path. The main remaining gap is the return value (e.g., whether a draft uid is returned), which matters since no output schema exists.

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 75%, and the description adds cross-parameter meaning the schema can't express well: reply_to_uid triggers auto-population of to/subject/threading and makes to and subject unnecessary, and the body becomes only the new text. That is real value beyond the per-field descriptions.

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 names a specific verb and resource ('Saves a draft to the Drafts folder') and immediately bounds its effect ('This tool never sends mail'), so an agent can tell exactly what happens. It is distinguishable from the read/search siblings 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?

It states the primary use case (queuing something for the user to review and send from their mail app) and gives an explicit condition for the reply variant ('To reply, pass reply_to_uid'). It does not state any exclusion such as when a draft is inappropriate versus another action, but the scope is clear enough to act on.

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