Skip to main content
Glama

email_draft

DestructiveIdempotent

Create, list, get, send or delete an email draft. Use the inbox ID for create or list, and draft ID otherwise. Create content accepts to, cc, subject, text or html, and optional replyTo (a received message ID). Send accepts approval: true to request human review and optional sendAt (ISO timestamp). Use wait_for_approval with the approval ID to wait for a decision. Reviews expire after at most 24 hours or at sendAt or draft expiry if sooner. Only a signed-in owner or admin can resubmit expired or rejected drafts. A decision is separate from delivery status.

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": {
      "action": "<action>",
      "id": "<id>"
    },
    "name": "email_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource UUID.
actionYes
sendAtNo
contentNo
approvalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the aggregate safety profile (destructive, idempotent, open-world, non-read-only); the description adds substantive behavior beyond that: the human-review approval path, the 24-hour/sendAt expiry rule, the owner-or-admin resubmission restriction, and the distinction between a decision and delivery status. It does not clarify what delete removes (draft vs. already-sent message) or how idempotency behaves across the mixed read/write actions.

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?

Action semantics are front-loaded and each subsequent sentence maps to a distinct concern (identifiers, content, approval, expiry, permissions), with no filler. A few sentences are densely packed — 'Reviews expire after at most 24 hours or at sendAt or draft expiry if sooner' takes parsing — but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, multi-action, destructive tool with a nested object and no output schema, the description covers the risky and non-obvious parts well. The main residual gap is return values: since there is no output schema, an agent is not told what create/send returns (notably the approval ID that wait_for_approval needs) or what list yields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20% and the nested content object is undocumented, but the description compensates: it names the content fields (to, cc, subject, text/html, replyTo and that replyTo is a received message ID), explains approval as a request for human review, and gives sendAt an ISO timestamp format. It also resolves the ambiguity of the generic 'Resource UUID' schema text by explaining id is an inbox ID for create/list and a draft ID otherwise.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb set and resource: 'Create, list, get, send or delete an email draft,' which matches the action enum exactly and tells an agent the tool's full surface. It does not, however, distinguish the 'send' action here from the sibling send_email tool, so the boundary with that alternative is left implicit.

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 per-action guidance on which identifier to supply ('Use the inbox ID for create or list, and draft ID otherwise') and routes the approval flow to wait_for_approval with the approval ID, which is real when-to-use context. It stops short of saying when to prefer this tool over send_email or email_message for delivering mail.

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.