Skip to main content
Glama

Create an AgentMail draft

create_agentmail_draft

Write a draft into the AgentMail inbox without sending it. The person reviews and sends it from the AgentMail console. Works even when sending is switched off. For a reply, set replyToMessageId — recipients and subject then come from the original.

Input Schema

NameRequiredDescriptionDefault
ccNo
toNoRequired unless replyToMessageId is set
bccNo
bodyYes
mailboxYesAddress of the connected AgentMail inbox to act on. Call list_authorized_mailboxes to see available options.
subjectNoRequired unless replyToMessageId is set
replyToMessageIdNoDraft a reply to this message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare write/non-destructive/non-open-world. The description adds real behavioral context: the message is not sent, a human reviews and sends it from the console, and it works even when sending is disabled. The reply-derivation behavior (recipients/subject inherited) is also disclosed, which is more than the annotations carry.

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?

Three tightly packed sentences, front-loaded with the core action and constraint, then the review workflow, then the reply special case. No filler; every clause carries information.

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?

With no output schema, the description need not explain return values, and it covers purpose, the review guardrail, and reply behavior adequately for a 7-parameter creation tool. Minor omission: nothing about cc/bcc or confirmation of a successful draft creation, but the essentials for correct invocation are present.

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 57%, and the description compensates for the key gap by explaining replyToMessageId beyond its terse schema text: recipients and subject are derived from the original message. It does not cover cc/bcc/body, but for the highest-value parameter it adds semantics the schema does not.

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 concrete verb+resource ('Write a draft into the AgentMail inbox') and immediately scopes it with 'without sending it', which cleanly separates it from the send_agentmail_message / send_agentmail_reply siblings. It does not name a sibling explicitly, but the 'without sending' qualifier makes the distinction unmistakable.

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?

Gives a clear conditional for reply mode ('For a reply, set replyToMessageId') and implies the review workflow as the reason to draft rather than send. However, it never states when to prefer a draft over send_agentmail_message or send_agentmail_reply by name, leaving the alternative-selection to inference.

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.

Resources