Skip to main content
Glama
dipseth

google-workspace-unlimited

Draft Gmail Message

draft_gmail_message

Create draft emails in Gmail with support for HTML content, multiple recipients (To, CC, BCC), and MJML-based responsive email specs.

Instructions

Create a draft email in the user's Gmail account with HTML support and multiple recipients

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients (optional)
toNoOptional recipient email address(es)
bccNoBCC recipients (optional)
bodyYesEmail body content. Usage depends on content_type: 'plain' = plain text only, 'html' = HTML content (plain auto-generated), 'mixed' = plain text (HTML in html_body)
subjectYesEmail subject line for the draft
html_bodyNoHTML content when content_type='mixed'. Ignored for 'plain' and 'html' types
email_specNoMJML-based responsive email spec. When provided, renders blocks to HTML and overrides body/content_type/html_body. Subject comes from spec unless explicitly set.
content_typeNoContent type: 'plain' (text only), 'html' (HTML in body param), 'mixed' (text in body, HTML in html_body)mixed
user_google_emailNoUse 'me' or 'myself' for auto-resolution to authenticated user, or provide specific email address. If None, uses current authenticated user (auto-injected by middleware).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
subjectYes
successYes
draft_idNo
userEmailYes
content_typeYes
has_recipientsYes
recipient_countYes
Behavior3/5

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

Annotations already indicate non-readOnly and non-destructive behavior. The description adds that the tool supports HTML and multiple recipients, but does not clarify that the draft is saved and not sent, nor does it mention the draft folder location. Given the absence of annotation contradictions, the description provides moderate additional context.

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?

The description is a single sentence that efficiently conveys the core purpose and key features. It is front-loaded and contains no unnecessary words.

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 the tool's complexity (9 parameters, required 2) and the presence of a comprehensive schema and output schema, the description is minimally sufficient. However, it omits crucial contextual information that this is a draft (unsent) and that the draft can be sent later via other tools. This gap could lead an agent to mistake it for a sending action.

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%, so the baseline is 3. The description's mention of 'HTML support' and 'multiple recipients' aligns with the 'content_type' and 'to/cc/bcc' parameters, but does not add new semantic meaning beyond what the schema already provides.

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 the action ('Create a draft email'), the resource ('in the user's Gmail account'), and key features ('HTML support and multiple recipients'). It effectively distinguishes from siblings like 'draft_gmail_forward' and 'draft_gmail_reply' by focusing on direct creation rather than derived drafts.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as 'send_gmail_message' or 'draft_gmail_reply'. It lacks prerequisites, exclusion criteria, or context for preferring this tool over others.

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/dipseth/google_workspace_fastmcp2'

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