Skip to main content
Glama

Create draft

create_draft

Create a mailbox draft with a recipient, subject, and body. Saves the draft for review without sending email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient email address or comma-separated addresses.
bodyYesDraft body. Plain text is converted to HTML. This creates a mailbox draft and does not send.
subjectYes
emailAddressNo
emailAccountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / emailAddress / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already mark this as non-read-only but non-destructive and open-world; the description adds the important behavioral fact that no email is sent, confirming the side-effect boundary. It stops short of disclosing auth requirements, whether an existing draft is overwritten, or what identifier comes back.

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?

Two tight sentences, front-loaded with the action and followed by the key constraint. No filler or repetition.

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

Completeness2/5

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

For a write tool with 5 parameters at 40% coverage and no output schema, the description is too thin: it never explains the role of emailAddress/emailAccountId nor what the caller gets back (e.g., a draft ID). An agent could invoke it but lacks the context to shape the request correctly.

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

Parameters2/5

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

At only 40% schema description coverage, the description should compensate, but it merely restates the three required fields (to, subject, body) already covered by the schema and says nothing about emailAddress or emailAccountId. The ambiguous overlap between 'to' and 'emailAddress' is left completely unexplained.

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?

States a clear verb+resource ('Create a mailbox draft') and names the three fields it takes, so the core action is unambiguous. However, it does not differentiate itself from the sibling save_mail_draft, which an agent could easily confuse with this tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Saves the draft for review without sending email' implies the use case (compose-but-don't-send) but never states when to prefer this over send_mail or save_mail_draft. Usage is inferable rather than explicit, and no exclusions or prerequisites are given.

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.