Skip to main content
Glama

Read this connection's email draft

get_email_draft
Read-onlyIdempotent

Inspect a prepared draft after owner review or an uncertain send response.

    Requires email:read and email:send. Returns this connection's exact draft, review_url, expiry
    and confirmation/send status (including scheduled with send_at), sent_copy (whether a copy is in the
    mailbox's Sent folder), delivery (bounced or delayed reports from recipients' servers, with
    reasons), format and attachments (each file's name, size and whether you or the owner added it;
    the owner may add or remove files at review_url before confirming). Does not approve, send or
    retry transmission. For sending or unknown status, inspect the sent mailbox/provider before
    proposing a replacement draft.
    

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "draft_id": "<draft_id>"
    },
    "name": "get_email_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesDraft id returned by prepare_email_draft for this OAuth connection; not an incoming message or event ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / draft_id / description
      Added value: +"Draft id returned by prepare_email_draft for this OAuth connection; not an incoming message or event ID."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the required scopes (email:read and email:send), the exact contents returned including review_url, expiry, delivery/bounce reports and per-attachment attribution. It also warns that the owner may add or remove files at review_url before confirming, so the agent knows the draft is mutable outside its control.

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?

The purpose and the when-to-use condition are front-loaded in the first sentence, followed by preconditions and return contents. It is dense with useful facts rather than filler, though the long parenthetical enumerating attachment details could be tightened.

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 no output schema, the description carries the full burden of explaining return values and does so thoroughly: draft contents, review_url, expiry, confirmation/send status including send_at, sent_copy, delivery reports, and attachments. For a one-parameter read tool, nothing an agent needs in order to call and interpret it 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 description coverage is 100% and the single draft_id parameter is already fully documented in the schema, including the caveat that it is not an incoming message or event ID. The description adds no further meaning about draft_id, so this sits at the baseline where the schema does the work.

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 ('Inspect a prepared draft') and immediately frames it as this connection's exact draft, distinguishing it from the prepare/send siblings by stating 'Does not approve, send or retry transmission.' An agent can tell this is a read-back of an existing draft rather than a creation or send operation.

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 triggering conditions ('after owner review or an uncertain send response') and explicit exclusions ('Does not approve, send or retry transmission'). It also routes the agent forward for the tricky case: 'For sending or unknown status, inspect the sent mailbox/provider before proposing a replacement draft,' which prevents a common retry mistake.

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.