Skip to main content
Glama

manage_drafts

Manage email drafts by listing, creating, sending, opening, or deleting them. Requires an account name and action parameter.

Instructions

Manage draft emails - list, create, send, open, or delete drafts.

Args: account: Account name (e.g., "Gmail", "Work") action: Action to perform: "list", "create", "send", "open", "delete". Use "open" to open a draft in a visible compose window for review before sending. subject: Email subject (required for create) to: Recipient email(s) for create (comma-separated) body: Email body (required for create) cc: Optional CC recipients for create bcc: Optional BCC recipients for create draft_subject: Subject keyword to find draft (required for send/open/delete) from_address: Optional sender address for new drafts (action="create"). Must be one of the account's configured email addresses. When omitted, Mail uses the account's default "Send new messages from" setting.

Returns: Formatted output based on action

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes
actionYes
subjectNo
toNo
bodyNo
ccNo
bccNo
draft_subjectNo
from_addressNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description must compensate. It explains actions but omits side effects (e.g., 'send' will actually transmit email), auth requirements, rate limits, or error conditions. 'Returns: Formatted output based on action' is vague.

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?

Description is well-structured with bullet points for arguments. Front-loaded with purpose and action list. Each sentence adds value, though could trim the 'Args' list slightly without losing clarity.

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?

Tool is complex (9 params, 5 actions). Description covers parameter roles but lacks specifics: e.g., 'list' output format, 'open' behavior, or error handling. Output schema exists but description doesn't reference it. Some gaps remain.

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%, forcing description to explain all 9 parameters. It adds meaning beyond schema: required fields for actions (subject, to, body for create), comma-separated recipients, and details on from_address including default behavior.

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?

Description clearly states it manages draft emails and enumerates specific actions (list, create, send, open, delete). The verb 'manage' combined with resource 'drafts' and explicit action list leaves no ambiguity about scope.

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?

No explicit guidance on when to use this tool versus siblings like compose_email or create_rich_email_draft. The description implies usage for draft operations but doesn't offer alternative recommendations or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/patrickfreyer/apple-mail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server