Skip to main content
Glama

draft_create

Save a new email as a draft in the account's Drafts folder without sending it; supports IMAP, EWS, or Graph based on account configuration.

Instructions

Save a new email as a draft in the account's Drafts folder (IMAP, EWS or Graph, chosen from the account's configuration). Nothing is sent. Requires MAIL_DRAFTS_ENABLED=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients (optional, max 50)
toYesRecipient email addresses (1..50)
bccNoBCC recipients (optional, max 50); kept on the draft until it is sent
subjectYesEmail subject (1..998 characters)
reply_toNoReply-To address (optional)
body_htmlNoHTML body (at least one of body_text or body_html required)
body_textNoPlain text body (at least one of body_text or body_html required)
account_idNoAccount identifier (defaults to `"default"`)default
referencesNoReferences header for threading (optional)
attachmentsNoFile attachments (optional)
in_reply_toNoIn-Reply-To message ID for threading (optional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTool-specific data payload
metaYesExecution metadata (timestamp, duration)
summaryYesHuman-readable summary of the operation outcome

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

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 burden, and it does so reasonably: it discloses that nothing is dispatched, that the storage backend (IMAP/EWS/Graph) is auto-selected from configuration, and that a feature flag must be enabled. It omits details like error/permission behavior, but the safety-critical non-send fact is stated.

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 tightly written sentences, front-loaded with the action and immediately followed by the safety-critical caveat and the activation prerequisite. No filler.

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?

An output schema exists and all 11 parameters are documented, so return-value explanation is not needed. The description covers the operation, its side-effect boundary, and the enablement gate; only finer operational detail (e.g., failure modes) is absent, which is minor here.

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% with 11 well-documented parameters (including required 'to'/'subject' ranges and an attachment sub-schema), so the schema already does the heavy lifting. The description adds no parameter-level detail, matching the baseline for full schema coverage.

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?

States a specific verb and resource ('Save a new email as a draft in the account's Drafts folder') and immediately scopes it against the send operation with 'Nothing is sent.' An agent can distinguish it from siblings like draft_send and draft_update without opening any 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?

'Nothing is sent' clearly demarcates this from draft_send, and 'Save a new email' implies creation rather than draft_update. The prerequisite 'Requires MAIL_DRAFTS_ENABLED=true' is a genuine usage gate. It stops short of naming sibling tools explicitly, so it doesn't reach the top bar.

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