Skip to main content
Glama

Send draft message

send_draft_message

Send an existing draft (from ingest_message/list_message_drafts) as a real email. Only works for drafts whose source message came in on the 'mail' channel — a 'beeper' draft must be sent through that channel's own tool instead. Defaults: to = the original sender, subject = 'Re: ', body = the draft's own body — all overridable. On success, stamps the draft status='sent'/sent_at and marks the source inbound_message handled=true.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "send_draft_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
draft_idYes
reply_toNo
to_overrideNo
body_overrideNo
subject_overrideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the outbound defaults (to = original sender, subject = 'Re: <original subject>', body = the draft's own body) and the two side effects on success (draft status='sent'/sent_at and inbound_message handled=true). What is left unstated is failure behavior and duplicate-send risk, though idempotentHint=false already signals non-idempotency.

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?

Three dense sentences ordered by importance: what it does, who is allowed to call it, then defaults and side effects. No filler, and the eligibility constraint is front-loaded before the defaults.

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?

Covers the mutation semantics and the channel restriction an agent must know before calling, and there is no output schema to explain. Gaps are the undocumented agent_id/reply_to parameters and any statement of what a failed send does to the draft.

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?

With 0% schema description coverage the description has to carry all meaning, and it successfully explains the three override parameters via the defaults/summary sentence. It leaves agent_id and reply_to completely unexplained, so two of six parameters remain opaque.

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 ... as a real email') and ties the input to its producers ('from ingest_message/list_message_drafts'), which cleanly separates it from list_message_drafts, update_message_draft and send_email in the sibling set.

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?

Explicit eligibility rule with an alternative route: only 'mail'-channel drafts can be sent here, and a 'beeper' draft must go through that channel's own tool. That is a concrete when/when-not plus a named redirect, which is the top of this dimension.

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.

Resources