Skip to main content
Glama

draft_message

Destructive

Draft an email or letter for a lead from its memory + recent activity. Returns {subject, body, attachments: []}; does not send, attaches nothing. channel must be 'email' or 'letter'. To ask for approval, pass it as delegate_to_user questions[].email {to, subject, body, attachments} — keep attachments: [] unless you add files that really go out.

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": {
      "lead_id": "<lead_id>",
      "channel": "<channel>"
    },
    "name": "draft_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYesDraft type: 'email' or 'letter'
lead_idYesID of the lead
instructionsNoOptional guidance for the draft's content, tone or purpose

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / channel / description
      Added value: +"Draft type: 'email' or 'letter'"
    • addedInput schema / properties / instructions / description
      Added value: +"Optional guidance for the draft's content, tone or purpose"
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnly=false and destructive=true; the description adds substantive behavior beyond that — no send occurs, nothing is attached, and attachments must stay empty unless real files go out. The one unexplained gap is the destructiveHint=true: the description never says whether an existing draft is overwritten or whether repeated calls accumulate drafts, which matters for a non-idempotent tool.

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?

Purpose and return shape are front-loaded in the first two sentences, then constraints and the approval hand-off follow — an effective ordering. The final clause about attachments is slightly dense and repeats the earlier 'attaches nothing' point, but no sentence is wasted.

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?

With no output schema, the description correctly compensates by declaring the returned {subject, body, attachments} object, and it warns about the attachment invariant. What remains missing for a three-parameter, non-idempotent mutation is the overwrite/duplicate-draft behavior and any permission context.

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?

Schema description coverage is 100%, so the schema already documents lead_id, channel and instructions; the description's restatement of the channel enum adds nothing new. The rich {to, subject, body, attachments} payload it describes belongs to delegate_to_user, not to this tool's inputs, so it does not deepen parameter meaning here.

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 — 'Draft an email or letter for a lead' — and names the source material ('from its memory + recent activity'), which separates it from draft_invoice and draft_offer. It also states the return shape up front, so an agent knows exactly what it gets back.

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?

The description explicitly routes the approval workflow to a named sibling: pass the draft as delegate_to_user questions[].email when approval is needed, which tells the agent when NOT to treat drafting as sending. It also constrains channel to 'email' or 'letter'. It does not state when to prefer this over sibling drafting tools, but the lead-centric scope makes that largely self-evident.

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.