Skip to main content
Glama

Send draft

send_draft
Destructive

Sends an existing reviewed draft unchanged after verifying its revision; a mismatch fails as a conflict. Use request_send when direct sending is unavailable or recipients are restricted.

Instructions

Send one existing draft this project created, unchanged since expected_revision (from get_draft or the last update_draft); a mismatch fails with draft_conflict. Only listed when the operator enabled sending and granted send on this mailbox; otherwise ask the owner with request_send, which also schedules. Accepts no recipients or content. The mailbox's send_policy (list_accounts) can refuse recipients with forbidden (details.reason recipient_not_allowed or recipients_unverified): then use request_send. outcome_unknown means the mail may have gone out: never retry it, check Sent.

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": {
      "account": "<account>",
      "draft_id": "<draft_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesMailbox alias or email address from list_accounts.
draft_idYesDraft id from create_draft or list_drafts.
expected_revisionYesRevision of the draft as the owner reviewed it; a mismatch fails with draft_conflict.

Output Schema

NameRequiredDescriptionDefault
thread_idNo
sent_message_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / draft_id / description
      Added value: +"Draft id from create_draft or list_drafts."
    • addedInput schema / properties / expected_revision / description
      Added value: +"Revision of the draft as the owner reviewed it; a mismatch fails with draft_conflict."
  2. First observedv0.11.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructive/non-idempotent, but the description adds material behavior beyond them: the expected_revision guard and its draft_conflict failure, the permission gating that determines whether the tool is even visible, mailbox-level send_policy refusals, and the critical outcome_unknown case ('never retry it, check Sent'). These are non-obvious operational facts an agent could not infer from the schema or annotations.

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?

The key constraint (send this draft unchanged, guarded by expected_revision) is front-loaded, and every sentence carries an operational fact. It is dense with parentheticals and error names, which slightly impedes scanning, but no sentence is filler.

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 destructive send operation, the description covers permissions, revision guarding, policy refusals, and ambiguous-outcome handling, which are the exact failure modes an agent must handle. An output schema exists, so return-value details need not be explained, leaving no meaningful gap.

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%, so the schema already documents all three parameters including expected_revision and draft_conflict. The description adds provenance the schema omits ('from get_draft or the last update_draft') and reinforces that no recipients or content are accepted, which clarifies the shape of the call rather than restating field definitions.

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?

The description opens with a specific verb and resource ('Send one existing draft this project created') and immediately narrows scope with 'unchanged since expected_revision'. It also implicitly distinguishes itself from request_send by restricting to drafts this project created, so an agent can tell it apart from the request-based sibling without opening either schema.

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?

It states the preconditions ('Only listed when the operator enabled sending and granted send on this mailbox') and gives an explicit alternative when they fail ('otherwise ask the owner with request_send'). It repeats the routing rule for the send_policy refusal case, naming the exact error values (recipient_not_allowed, recipients_unverified) that should divert the agent to request_send.

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