Skip to main content
Glama

draft_new

Write a draft. It's local and unsent: the user reviews and sends it. body is only the new text: no signature, no quoted original. instruction is what the user asked for. html: optional formatted text in place of body's plain text (body is then made from it): one per line, an empty

  • A new message: account (one of the user's addresses, alias or address), to, subject and body; cc and bcc if wanted.

  • reply_to: a message id, to reply to it. Recipients and subject are worked out (reply_all: everyone on it). It goes from account if given, else from the conversation's reply_as (mail_read with thread): the address the user last wrote from in it, else the one the message was sent to. Write as that address.

  • forward: a message id, to forward it from the address that received it, with its files attached. body is an optional note above it; to may be left empty for the user to fill in. Optional reason: why you're making this change, in one sentence the person reads (at most 1000 characters). Optional sources: reference addresses in Home, such as /mail/#/c/12; never message or document text.

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": {
      "author": "<author>"
    },
    "name": "draft_new"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bccNo
bodyNo
htmlNo
modelNo
authorYes
reasonNo
accountNo
forwardNo
sourcesNo
subjectNo
reply_toNo
reply_allNo
instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: nothing is sent, body excludes signature and quoted original, non-allowlisted HTML is stripped to its words, and 'html' is empty when unformatted. Reply addressing rules (account, else conversation reply_as, else the received address) are unusual behavior that only this text discloses.

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 the key constraint, then a dense but scannable HTML rules block and a bulleted mode breakdown. The HTML sentence is long and comma-chained but every clause carries required formatting rules.

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

Completeness3/5

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

Highly complete on composition rules, but with 15 params and no output schema it never states what the call returns (e.g., a draft id needed for a subsequent draft_send), and leaves the required 'author' field undefined. Those omissions matter for an agent chaining calls.

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?

With 0% schema description coverage the description must carry the load, and it explains most of the 15 params precisely — body vs. instruction vs. html, account, reply_to/reply_all resolution, forward with attachments, reason's 1000-char limit, and sources format. However, the required 'author' parameter and 'model' are never mentioned, leaving a required field unexplained.

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?

Opens with a specific verb and resource ('Write a draft') and immediately states the essential scope: 'It's local and unsent: the user reviews and sends it.' That distinguishes it from draft_send/draft_revise/draft_edit without needing to name them.

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 concrete selection logic across three modes — plain new message, reply_to, and forward — including how recipients/subject are derived and what to do when 'to' is unknown in a forward. It does not explicitly say when to prefer draft_edit or draft_revise over creating a new draft, which is the remaining gap.

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.