Skip to main content
Glama

Draft a new email

draft_email

Write a new email to a customer, as the signed-in teammate. It saves a draft and sends nothing: no email goes out and no conversation exists yet. A person reads and sends it from Drafts in the dashboard's inbox (the result's url opens it), or send_email_draft sends it once the user has asked for it to be sent. To be sent, a draft needs a ready mailbox from get_outbound_email, at least one To address, a subject and a body. Calling it again saves another draft.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "draft_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoAddresses to copy.
toNoThe email addresses it is to.
bccNoAddresses to copy without the other recipients seeing them.
bodyNoThe email, in plain text; markdown for bold, links and lists is sent as formatting. A mailbox’s signature (`hasSignature` in get_outbound_email) is added after it when it is sent.
subjectNoThe subject line, as the recipients will read it.
mailboxIdNoThe mailbox to send from: a `mailboxes[].id` from get_outbound_email.

Output Schema

NameRequiredDescriptionDefault
urlYes
dataYes
tellUserYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / description
      Previous value: -"The email, in plain text."New value: +"The email, in plain text; markdown for bold, links and lists is sent as formatting. A mailbox’s signature (`hasSignature` in get_outbound_email) is added after it when it is sent."
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare a non-read-only, non-destructive write; the description adds the substantive behavior: nothing is sent, no conversation is created, the draft surfaces in the dashboard Drafts folder via the returned `url`, and repeat calls accumulate drafts. These are non-obvious side effects an agent would otherwise get wrong, and none contradict the annotations.

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?

Four tight sentences, front-loaded with the what-it-does-and-does-not-do distinction before the workflow details. Every clause carries unique information; there is no restatement of the title or schema fields.

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 a 6-parameter mutating tool with an output schema, the description covers the safety posture, prerequisites, the returned `url`, and the alternative send path. Nothing needed to invoke it correctly is missing, and return-value detail is appropriately left to the output schema.

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% and each field is documented, so the baseline is 3. The description still adds real meaning beyond the schema by stating the sendability prerequisites (>=1 To address, subject, body) despite the schema listing zero required parameters, and by tying mailboxId to a `ready` mailbox from get_outbound_email.

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 concrete verb and resource ('Write a new email to a customer, as the signed-in teammate') and immediately scopes the effect ('saves a draft and sends nothing'). It separates itself from the sending sibling by name and from draft-reading tools by noting no conversation exists yet.

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 routing: use this to compose, use send_email_draft 'once the user has asked for it to be sent', and use get_outbound_email to find a `ready` mailbox. It also warns that repeated calls create additional drafts, which is exactly the kind of condition an agent needs to avoid duplicates.

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.