Skip to main content
Glama

mail_draft

Create an email draft for review in the user's mail program without sending it. Supports replies, forwards, revisions, and opening the draft to send now.

Instructions

Create a draft. Nothing is sent; the user reviews it in their mail program.

  • body: plain text the user would write, without signature (Outlook adds it).

  • reply_to: message id to answer. Recipients, subject and quoted history are filled in; to/cc given here are added. reply_all=true answers everyone.

  • forward_of: message id to forward incl. attachments; to is required.

  • replace_draft_id: id of an earlier draft from mail_draft that this one replaces (the old one is deleted). Use it for revisions.

  • open_window: classic Outlook only. Opens the draft as a window so the user can check and press Send right away. Use when the user wants to send now.

  • account: sender mailbox. Replies and forwards use the mailbox of the original mail.

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": {
      "body": "<body>"
    },
    "name": "mail_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bccNo
bodyYes
accountNo
subjectNo
reply_toNo
reply_allNo
forward_ofNo
open_windowNo
replace_draft_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses real behavior: nothing is transmitted, the draft surfaces in the user's mail program, reply/forward inherit recipients, subject and quoted history from the original, and replace_draft_id deletes the earlier draft. It also flags an environment constraint (open_window is classic Outlook only). Minor residual gap: the interaction between replace_draft_id's deletion and destructiveHint=false is not addressed.

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?

A single front-loaded sentence establishes purpose and safety, followed by a scannable bullet per parameter. Every bullet adds distinct information with no redundancy.

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 an 11-parameter mutation tool with no output schema, the definition covers the behavioral and parameter-level essentials well. The one notable omission is what the call returns — an agent is told to use replace_draft_id with an earlier draft id but is not told that a draft id comes back from this call.

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 description coverage is 0%, so the description must carry the load, and it does for the non-obvious parameters: body excludes the signature, reply_to auto-fills recipients/subject/history, forward_of includes attachments and requires `to`, and account controls the sender mailbox. The plain to/cc/bcc/subject fields are only touched in passing, so coverage is good but not exhaustive across all 11 parameters.

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 first sentence gives a specific verb and resource ("Create a draft") and immediately delimits scope with "Nothing is sent; the user reviews it in their mail program." That contrast with a send operation is exactly the distinction an agent needs, and it separates this tool from siblings like mail_discard_draft or mail_read.

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?

The description frames usage clearly (drafting for user review, not sending) and gives per-parameter usage cues such as "Use it for revisions" for replace_draft_id and "Use when the user wants to send now" for open_window. It stops short of naming alternative tools or explicit exclusions (e.g., when to prefer a direct send path), so it is strong context rather than full routing guidance.

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