Skip to main content
Glama

gmail_drafts_create

Create unsent email drafts in Gmail. Attach drafts to existing threads for reviewing and sending later.

Instructions

Create a Gmail draft. Pass threadId to attach the draft to an existing conversation (it will appear as a reply within that thread). The draft is NOT sent — open Gmail to review and send.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient(s). Comma-separated for multiple, e.g. "a@x.com, b@y.com"
ccNoCC recipient(s), comma-separated
bccNoBCC recipient(s), comma-separated
subjectNoSubject line. When attaching to a thread via threadId, Gmail expects the subject to match the thread (typically "Re: <original>").
bodyNoPlain-text body
htmlBodyNoHTML body. If both body and htmlBody are provided, the draft is multipart/alternative.
threadIdNoThread ID to attach this draft to. Get it from gmail_threads_list / gmail_messages_get.
inReplyToNoMessage-ID header value of the message being replied to. Improves threading robustness alongside threadId.
referencesNoReferences header value (space-separated Message-IDs of ancestor messages).
Behavior3/5

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

No annotations exist, so description carries full burden. It discloses draft vs send behavior and threading nuance but omits rate limits, auth needs, or error handling. Adequate but not comprehensive.

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 concise sentences: first states core action, second adds key nuance about threading and non-sending. No fluff, essential information front-loaded.

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?

Given 9 parameters and no output schema, description lacks details on return value (e.g., draft ID) or error states. It covers primary behavior but misses aspects like response format or limitations.

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 100%, so baseline 3. Description adds value by explaining threadId's role and subject matching for threading, augmenting schema descriptions. Other params (body, htmlBody) are sufficiently covered in schema.

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 clearly states 'Create a Gmail draft' and distinguishes it from sending, and specifies attaching to a thread via threadId. This sets it apart from sibling tools that fetch/delete/modify messages or threads.

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?

The description provides explicit guidance: use threadId to reply within a thread, and notes the draft is not sent. It lacks comparison to alternatives but gives clear context for appropriate use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/conorbronsdon/gws-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server