Skip to main content
Glama

create_draft

Create a Gmail DRAFT (saved, not sent) — new mail, or a reply when thread_id is set (from a search result / get_thread). A thread reply is drafted in the account that received the thread, as Reply All (original sender + original To/Cc) with proper threading headers, unless reply_mode='sender_only'; the result reports the account, to and cc. Unlike send_message this never delivers anything, so no pre-send confirmation is needed; the user reviews and sends it from Gmail. Needs gmail.compose — accounts connected before this feature get a reconnect hint. Pass account when more than one Gmail account is connected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCc recipient(s). On a thread reply these are ADDED to the original Cc.
toNoRecipient address. Required for a new mail; for a thread reply omit it to Reply All (original sender + original To/Cc).
bodyYesPlain-text draft body.
accountNoAccount label to create the draft in. Required when several Gmail accounts are connected.
subjectNoDraft subject. Omit on a thread reply to use "Re: <original subject>".
thread_idNoDraft a reply into this thread (Gmail thread id, e.g. from search results or get_thread).
reply_modeNoThread replies only. 'all' (default) = Reply All. 'sender_only' = add nobody automatically (To = your `to` or the original sender, Cc = your `cc`) — use only when the user explicitly asks to reply to the sender only.
allow_different_senderNoThread replies only. The draft is created in the account that received the thread; set true only when the user explicitly wants a different account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only supply destructiveHint=false, so the description carries the real behavioral load and delivers: no delivery occurs and review/send happens in Gmail, the required gmail.compose scope with a reconnect hint for older accounts, the Reply All construction (original sender + To/Cc) and threading headers, and the fact that the result reports account, to and cc. This is far beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense paragraph that is front-loaded with the core verb/resource before the conditional details. Every clause conveys distinct information (mode, scope, reply semantics, account routing), though the parentheticals and em-dash asides make it slightly heavy for a description field.

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?

Covers the auth requirement (gmail.compose), multi-account routing, reply vs. new-mail behavior, threading, and even the shape of the result despite there being no output schema. For an 8-parameter mutation tool with no annotations of substance, nothing an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema does not: it explains that thread replies are drafted in the receiving account with Reply All semantics and proper threading headers, that reply_mode governs automatic recipient selection, and that omitting `to`/`subject` on a reply triggers Reply All and 'Re: <subject>'. These are cross-parameter behaviors the per-field schema text cannot express.

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 ('Create a Gmail DRAFT (saved, not sent)') and immediately scopes the two modes: new mail vs. reply when thread_id is set. It explicitly distinguishes itself from the sibling send_message, so an agent can tell them apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing conditions: use thread_id (from search/get_thread) for replies, reply_mode='sender_only' only when the user explicitly asks to reply to the sender only, and pass `account` when more than one Gmail account is connected. It also states the no-alternative case up front ('Unlike send_message this never delivers anything, so no pre-send confirmation is needed').

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