Skip to main content
Glama

Draft in Gmail

draft_email_in_gmail
Destructive

Put a generated email (an artifact_id from generate_email) in the user's Gmail drafts, addressed to the recipients they named. Nothing is sent. The email has to be unlocked first: a watermarked draft is refused and the user unlocks it from the card. Only works on mailboxes connected under a legacy modify grant; the tool says so if not. Returns a link to the draft.

Input Schema

NameRequiredDescriptionDefault
ccNoOptional cc address(es), comma-separated.
toYesThe recipient's email address (comma-separate several).
accountNoEmail address of the connected mailbox to draft in. Omit for the first one.
artifact_idYesThe artifact_id generate_email returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, so the description does not need to restate basic safety. It adds valuable behavioral context beyond annotations: nothing is sent, watermarked drafts are refused until unlocked, the legacy-grant limitation is surfaced at call time, and the return value is a link to the draft. It does not explain what the destructive hint specifically covers, but it does not contradict the annotations either.

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 front-loaded with the main action and safety statement, then covers the unlock requirement, grant limitation, and return value in compact sentences. Every sentence adds relevant information for correct invocation.

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 four-parameter write-like tool with no output schema, the description is complete enough: it explains the generated-email source, the no-send behavior, the unlocking prerequisite, the legacy-grant constraint, and the return value. Remaining parameter details are fully covered by the rich schema.

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 schema already documents all four parameters. The description adds minimal extra meaning, mainly reiterating that artifact_id comes from generate_email and that recipients were named by the user; it does not add syntax or edge-case guidance beyond the 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 states a specific verb and resource: putting a generated email artifact into the user's Gmail drafts. It distinguishes this from sending by saying 'Nothing is sent' and ties the artifact to generate_email, so an agent can differentiate it from siblings like send_email and create_gmail_draft.

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 context for when to use the tool: with an artifact_id from generate_email, addressed to named recipients. It also states two important preconditions — the email must be unlocked and the mailbox must be connected under a legacy modify grant — though it does not explicitly name an alternative for drafting non-generated emails.

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.