Skip to main content
Glama

Draft Operations

draft
Destructive

Compose and manage email messages with review-before-send controls: create, update, send, delete, reply, or forward, plus preview and recipient checks.

Instructions

Draft lifecycle for review-before-send workflows (destructive: covers send and delete). action=create saves a new draft and returns its id (dryRun: true previews without saving; checkRecipients: true runs mail-tips first). action=update patches a draft by id (only fields passed change). action=send sends a draft and counts against the send-email session limit (0 refuses every send). action=delete moves a draft to Recoverable Items (restorable for a limited time). update/send/delete refuse any id that is not an unsent draft. action=reply/reply-all creates a reply draft from a message id (comment prepends text; not with body). action=forward creates a forward draft (needs id and to). The recipient allowlist (OUTLOOK_ALLOWED_RECIPIENTS) applies to create/update/forward, to the draft's current to/cc/bcc on send, and to reply/reply-all, whose draft is deleted if a recipient is not allowed. Returns the draft on create/update/reply/forward; a status on send/delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoComma-separated CC email addresses
idNoDraft or message ID. Required for update/send/delete/reply/reply-all/forward. update/send/delete need a draft ID; reply/reply-all/forward take any message ID.
toNoComma-separated recipient email addresses (optional for create/update, required for forward)
bccNoComma-separated BCC email addresses
bodyNoEmail body (plain text or HTML)
actionYesAction to perform (required)
dryRunNoPreview only (action=create): shows the draft without saving it. Other actions refuse dryRun and change nothing. Default false.
commentNoComment text for reply/forward (prepended to original message). Cannot combine with body.
subjectNoEmail subject
importanceNoEmail importance (default: normal)
checkRecipientsNoCheck recipients for out-of-office, delivery restrictions before saving (action=create, default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.14.1
    • changedInput schema / properties / dryRun / description
      Previous value: -"Preview draft without saving (action=create only, default: false)"New value: +"Preview only (action=create): shows the draft without saving it. Other actions refuse dryRun and change nothing. Default false."
    • changedInput schema / properties / id / description
      Previous value: -"Draft or message ID. Required for update/send/delete/reply/reply-all/forward."New value: +"Draft or message ID. Required for update/send/delete/reply/reply-all/forward. update/send/delete need a draft ID; reply/reply-all/forward take any message ID."
  2. Addedv3.7.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: delete moves to Recoverable Items (restorable for a limited time), send counts against the send-email session limit with 0 refusing all sends, update/send/delete refuse non-draft ids, and reply/forward drafts are deleted if a recipient is outside the allowlist. This is exactly the kind of consequence detail annotations cannot carry.

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-loads the lifecycle and destructive scope in the first clause, then walks actions compactly. Dense and information-rich with little waste, though the long allowlist sentence is somewhat sprawling and 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?

For an 11-parameter, 7-action tool with no output schema, the description covers action semantics, id requirements, dry-run/mail-tips flags, allowlist enforcement, and even return shape (draft vs status). Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: dryRun previews only on create and is refused elsewhere, checkRecipients runs mail-tips first, comment cannot combine with body, and the recipient allowlist scope across actions. Minor overlap with schema text but net additive.

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?

Names a specific resource (draft lifecycle) and enumerates all seven actions with their individual effects, so the agent knows exactly what the tool does. It clearly separates itself from siblings like send-email and update-email by framing the tool as draft-centric with send/delete as lifecycle endpoints.

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 per-action conditions: create for new drafts, update for patching by id, send/delete require an unsent draft id, reply/reply-all/forward build from a message id. It does not explicitly route the agent to sibling send-email/update-email when no draft exists, so the boundary with those tools is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.