Skip to main content
Glama

send_draft

Destructive

Send an existing draft by its draft_id; the server re-checks the draft's recipients against a fixed allowlist and refuses to send to any address not on it.

Instructions

Send an existing draft by its draft_id (from list_drafts / search_drafts). SERVER-ENFORCED LIMIT: before sending, the server re-fetches the draft's actual raw bytes and checks those recipients against a fixed allowlist held outside the repo — not whatever the draft was created with. A draft addressed to anyone not on the list is refused and no send request is made. The restriction is enforced by the server and cannot be lifted from a conversation.

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

Input Schema

NameRequiredDescriptionDefault
accountYesAccount id ("personal", "tamu").
draft_idYesDraft id, as returned by create_draft, list_drafts or search_drafts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds genuinely non-obvious behavior well beyond that: the server re-fetches the draft's actual raw bytes, validates those recipients against an out-of-repo allowlist, refuses the call outright, and cannot be overridden in conversation. That tells the agent the authoritative check is server-side content, not creation-time parameters — exactly the kind of disclosure a mutation tool needs.

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?

The purpose is front-loaded in the first clause, the constraint follows in a clearly flagged block, and every sentence carries new information (id source, byte re-fetch, allowlist, refusal, immutability). No filler or restatement of the tool name.

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?

For a two-parameter, destructive, no-output-schema tool, the risk-relevant behavior is fully covered. The only gap is post-send semantics — whether the draft is removed/consumed and what a successful call returns — which an agent might want to know but which is not strictly required to invoke it correctly.

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 baseline is 3, but the description adds meaning the schema cannot: draft_id resolves to whatever the draft currently contains, and that content — not the original creation arguments — is what gets validated. That semantic point changes how an agent should reason about the id. It says nothing extra about 'account' beyond the enum-like examples already in the schema.

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 and resource ('Send an existing draft') plus the identifier type ('by its draft_id'), and points to list_drafts / search_drafts as the id source. That distinguishes it from create_draft (which makes drafts) and from send_message (which does not take a draft_id) without the agent needing to open another schema.

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?

It tells the agent where the required draft_id comes from (list_drafts / search_drafts) and, via the allowlist paragraph, effectively describes the condition under which the call will fail and no send is attempted. It stops short of an explicit 'use send_message instead when you don't already have a draft' routing statement, so it is clear context but not full when/when-not guidance.

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