Skip to main content
Glama

Create Email Draft

mail_create_draft

Create a plain-text draft email in Mail.app for review before sending important messages; use mail_send for HTML emails since drafts do not support HTML.

Instructions

Create a plain text draft email for user review in Mail.app. Preferred for important emails. Note: HTML drafts are not supported — use mail_send for HTML emails. Use when: composing an important email that needs review, preparing a message for later

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

Input Schema

NameRequiredDescriptionDefault
ccNo
toYesRecipient email addresses
bodyYesPlain text body
accountNo
subjectYes
htmlBodyNoHTML body for rich text formatting. NOTE: HTML drafts are NOT supported — an error will be returned. Use mail_send for HTML emails.

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish that this is a non-destructive, non-idempotent, open-world write. The description adds one genuinely useful behavioral fact beyond them: HTML drafts are rejected with an error, and drafts land in Mail.app for review. It says nothing about account selection, duplicate-draft risk on retry, or where the draft is filed.

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?

It is short and the key constraint is present, but the HTML warning is stated twice in slightly different forms, and the 'Use when:' list ends mid-thought ('preparing a message for later'). The content is front-loaded reasonably well despite the redundancy.

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?

An output schema exists, so return values need not be explained, and the core purpose plus the HTML limitation are covered. For a 6-parameter write tool with half its schema undocumented, it should say something about the account parameter and what happens if a draft already exists.

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

Parameters2/5

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

Schema coverage is only 50%, so the description needs to carry weight on the undocumented parameters, and it does not mention cc or account at all. The plain-text restriction maps loosely onto body vs htmlBody, but that same note is already in the schema's htmlBody description, so almost no new meaning is added.

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?

The description names a specific verb and resource ('Create a plain text draft email') and scopes it to Mail.app and to user review, which separates it from a sending tool. It does not explicitly say it does not send, but 'draft ... for user review' implies that clearly enough to distinguish it from mail_send.

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 gives concrete when-to-use conditions ('composing an important email that needs review, preparing a message for later') and names the alternative for HTML (mail_send). No explicit when-not for plain-text drafts other than the HTML case, and the trailing list is left unfinished.

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