Skip to main content
Glama

create_draft

Draft a plain-text Gmail message with optional local attachments or reply threading for manual review and sending.

Instructions

Create a plain-text Gmail draft, optionally attaching local files (25 MB total; this reads the given local files). With reply_to_message_id, the draft is threaded as a reply; subject defaults to Re: and to defaults to the original Reply-To or sender (or the original recipients when replying to the user's own message). The MCP never sends mail; the user reviews and sends the draft from Gmail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoEmail addresses, such as Alice <alice@example.com> or bob@example.com
toNoRecipients; required unless replying
bccNoEmail addresses, such as Alice <alice@example.com> or bob@example.com
bodyYesPlain-text body
subjectNo
attachmentsNoAbsolute local paths of files to attach (~ is expanded); only files the user asked to attach
reply_to_message_idNoGmail message ID to reply to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.5/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 meaningful work: it discloses the 25 MB attachment cap, that local files are read from disk, that subject/to default from the original message when replying, and critically that nothing is sent. It omits error/permission behavior and what the returned draft object looks like, but the side-effect boundary is stated clearly.

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 compact sentences, front-loaded with the core action, followed by threading behavior and then the no-send guarantee. Every clause conveys distinct operational information with no repetition of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter creation tool with no annotations and no output schema, the description covers the essentials an agent needs: what is created, attachment limits and local-file access, reply threading and defaulting rules, and that sending is out of scope. Remaining gaps (return value) are minor since the tool's contract is about producing a reviewable draft.

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 86%, so baseline is 3, but the description adds real semantics beyond the schema: reply_to_message_id implies subject defaults to Re: <original> and to defaults to the original Reply-To/sender (or original recipients), which the schema does not state. It also clarifies the attachment size constraint and that attachments are local file reads.

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 opens with a specific verb+resource ("Create a plain-text Gmail draft") and immediately distinguishes it from sibling draft tools by noting it never sends mail and that the draft is reviewed in Gmail. The scope qualifiers (plain-text, optional attachments, threading via reply_to_message_id) let an agent separate it from update_draft or read_draft without consulting 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 gives clear usage context: use reply_to_message_id to make the draft a threaded reply, and the MCP never sends so the user must review in Gmail. It does not, however, explicitly say when to use create_draft vs update_draft (e.g., editing an existing draft) or name an alternative, leaving that to inference from sibling names.

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