Skip to main content
Glama

Send mailbox draft

mailbox_send_draft
Destructive

Send a saved draft exactly as it is at the given revision. When you allowed this app to send without asking, it goes out now; otherwise this asks you (the mailbox owner) to approve it: you are emailed and send it from the dashboard (status awaiting_approval). Sending cannot be undone. When the outcome is unknown, call this again with the same id and revision: it returns that send's status and never sends twice; a submitted draft can no longer be edited. queued is not delivered: read the draft or the Sent folder for the outcome.

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": {
      "id": "<id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "mailbox_send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDraft id
mailboxNoMailbox address (or id) from mailbox_list_accounts. Needed when the credential covers several mailboxes and has no default.
expected_revisionYesThe draft's current revision

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/readOnlyHint annotations by disclosing the send-without-asking vs. awaiting_approval branching, owner email approval flow, irreversibility, the idempotent id+revision retry contract, and the post-submit edit lock. This is exactly the extra context annotations cannot express.

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?

Front-loads the action, then conditions, then retry/status semantics in tight sentences with no filler. Length is justified because there is no output schema, so status values (awaiting_approval, queued) and the retry contract must live in the description.

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?

With no output schema, the description compensates by explaining returned/observable states and where to read the true outcome. For a destructive, open-world send operation, nothing an agent needs to call it safely is missing.

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 already 100%, but the description adds real meaning to expected_revision by framing it as the exactness guard ("exactly as it is at the given revision") and by defining the id+revision combination as the deduplication key. That is semantics the schema wording alone does not convey.

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 specific verb (send) plus resource (saved draft) and pins the scope to the exact stored revision. An agent can immediately separate it from mailbox_save_draft (which creates/edits) and from send_email (which composes a new message).

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

Usage Guidelines4/5

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

Gives concrete when-to-use guidance: re-call with the same id and revision when the outcome is unknown, read the draft or Sent folder when status is queued, and note that a submitted draft can no longer be edited. It doesn't explicitly name sibling alternatives (send_email, mailbox_save_draft), which is the only gap.

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.