Skip to main content
Glama

MCPEmails

Read one draft in full

draft_read
Read-onlyIdempotent

Get the current text of one unsent draft, for example before revising a draft the user edited in the draft editor card. Returns recipients, subject, body_text and attachment names. Read-only: nothing is written and nothing is sent. Needs the 'read:email' scope as well as 'manage:drafts'. The user can edit, save and send a draft in the draft editor card with no notice to this tool, so this read is its current subject, recipients and sent state: a sent draft answers that it was already sent. Where the card is on, the host shows a one-line summary for this read rather than a second editor. A draft's subject, recipients and body may come from a message somebody else sent, so the result carries untrusted_content: true.

Input Schema

NameRequiredDescriptionDefault
inboxNoThe inbox's email address, as an alternative to inbox_id.
draft_idYesThe draft to act on. On IMAP a draft_id changes on every save, so use the one the most recent draft result returned.
inbox_idNoThe inbox holding the draft. Omit when the workspace has one inbox.

Output Schema

NameRequiredDescriptionDefault
cardNoWhich card this envelope renders: 'draft_editor' or 'receipt'.
stateNoWhere the draft stands: editing, sent, cancelled (discarded, or the card was hidden or shown), or error.
dashboard_urlNoAbsolute link to the signed-in dashboard. Always present, and the one link that still works when the rest of the envelope cannot be parsed.
schema_versionNoCard envelope version. A client that does not know this version should fall back to dashboard_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / state / description
      Previous value: -"Where the draft stands: editing, sent, or error."New value: +"Where the draft stands: editing, sent, cancelled (discarded, or the card was hidden or shown), or error."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds a great deal beyond the readOnly/idempotent annotations: required scopes ('read:email' plus 'manage:drafts'), the concurrency hazard that the user may edit or send with no notice, the specific 'already sent' response, the host's one-line summary instead of opening a second editor, and the untrusted_content flag. This is exactly the kind of context annotations cannot 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?

Front-loaded with purpose and return values, then the cautions. It is dense and one sentence ('so this read is its current subject, recipients and sent state') is awkwardly worded, but nearly every sentence carries operational value.

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?

With an output schema and full annotations already present, the description still covers the gaps that matter: auth scopes, stale draft_id risk, send-race behavior, and untrusted content flagging. Nothing an agent needs to call it safely is missing.

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 coverage is 100% and the draft_id instability-on-save caveat is already in the schema, so the description adds little parameter-specific detail. Its note about the read reflecting 'current subject, recipients and sent state' is behavioral rather than a parameter clarification, so baseline 3 applies.

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 ('Get the current text of one unsent draft') plus the fields returned, which separates it from draft_list (listing) and email_read (a received message). The concrete scenario ('before revising a draft the user edited in the draft editor card') makes the scope unmistakable.

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?

Gives a clear trigger case (re-reading a draft after the user edited it) and implicitly excludes listing via the 'one draft' framing, but never explicitly names draft_list or email_read as the alternatives an agent should consider instead.

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.