Skip to main content
Glama

Send a draft

send_draft
Destructive

Sends a stored email draft permanently and returns the sent-copy ID; use after create_draft or update_draft, and repeated calls within 24 hours resend nothing.

Instructions

Send a draft as it is stored. It cannot be taken back. Afterwards the draft is gone. It answers the id of the copy in the sent folder where the account keeps one. Use it once a draft from create_draft or update_draft is right. The same call repeated within 24 hours sends nothing and answers the first result.

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_id": "<account_id>",
      "draft_id": "<draft_id>"
    },
    "name": "send_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_idYesA draft of that account, by the id list_drafts or create_draft answers
account_idYesThe account, by the id list_accounts names

Output Schema

NameRequiredDescriptionDefault
sentYes
refusedNo
sent_copy_idNo
original_markedNo
message_id_headerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.8.0
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"A mail sent: its Message-ID, the copy in Sent, who refused it."
    • addedOutput schema / properties
      Added value: +{
      +  "message_id_header": {
      +    "title": "Message Id Header",
      +    "type": "string"
      +  },
      +  "original_marked": {
      +    "title": "Original Marked",
      +    "type": "boolean"
      +  },
      +  "refused": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "title": "Refused",
      +    "type": "array"
      +  },
      +  "sent": {
      +    "title": "Sent",
      +    "type": "boolean"
      +  },
      +  "sent_copy_id": {
      +    "title": "Sent Copy Id",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "sent",
      +  "message_id_header"
      +]
    • changedOutput schema / title
      Previous value: -"send_draftDictOutput"New value: +"Sent"
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it declares irreversibility ("It cannot be taken back"), what is destroyed afterwards ("the draft is gone"), what is returned (the id of the sent-folder copy), and a retry/deduplication window ("repeated within 24 hours sends nothing and answers the first result"). The destructive/readOnly hints are reinforced rather than merely restated, and the 24h dedup caveat usefully refines the idempotentHint=false flag by telling the agent retries in that window are harmless.

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?

Short and front-loaded: the irreversible, destructive nature lands in the first two sentences before any workflow advice. A few phrasings are needlessly indirect ("It answers the id of the copy in the sent folder where the account keeps one"), costing a bit of clarity but not much length.

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 two-parameter destructive action with an output schema, this covers the essentials an agent needs: precondition (a correct draft), consequence (draft consumed, irreversible), and retry safety. Nothing material is missing, and return-value detail is only lightly touched because the output schema carries it.

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

Parameters3/5

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

With 100% schema description coverage for both required parameters, the schema already explains draft_id and account_id and their source tools. The description adds no new parameter semantics (e.g., no note on what happens if the account/draft ids mismatch), so the baseline applies.

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 specific verb and resource ("Send a draft as it is stored") and the qualifier "as it is stored" makes clear no editing happens at send time. It is easily separable from create_draft/update_draft/delete_draft, though it never explicitly distinguishes itself from send_message, which is the closest ambiguous sibling.

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 an explicit prerequisite and trigger: "Use it once a draft from create_draft or update_draft is right," which chains the workflow correctly. It lacks an explicit when-not/exclusion (e.g., a draft does not exist yet, or a brand-new message is intended via send_message), so it stops short of full routing guidance.

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