Skip to main content
Glama

Draft a message

draft_message

Write a reply into a thread WITHOUT sending it. The text lands in the user's message box for that person, exactly where they type, and also in their Approvals queue — they read it, edit it if they want, and press send themselves. Prefer this over send_message whenever the wording is yours rather than theirs. Nothing is delivered. Never tell the user their message has been sent.

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": {
      "to": "<to>",
      "text": "<text>"
    },
    "name": "draft_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address.
textYesThe message body, max 5000 characters.
chat_typeNoe.g. tenant, service. Defaults to tenant.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only tell the agent this is a non-destructive, non-idempotent write. The description adds where the write actually lands (the user's message box for that recipient plus their Approvals queue), what the user does next (read, edit, press send), and that nothing is delivered. It also closes a real failure mode with 'Never tell the user their message has been sent.'

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 non-sending constraint is front-loaded in the first sentence, followed by mechanism, then selection guidance, then the safety caveat. Short declarative sentences, no filler, and the emphatic restatement of 'Nothing is delivered' earns its place as an agent guardrail.

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?

An output schema exists, so return values need not be described. For a three-parameter write tool, the description covers side effects, destination surfaces, user handoff, and the downstream reporting caveat — nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so `to`, `text`, and `chat_type` are already documented. The description adds only loose framing — 'for that person' and 'into a thread' — without explaining threading versus the recipient address or the chat_type default. Baseline 3 applies when the schema carries the parameter burden.

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 ('Write a reply into a thread') with an explicit exclusion in caps ('WITHOUT sending it'), which immediately separates it from send_message. An agent can distinguish it from every sibling without opening a schema.

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?

Gives an explicit selection rule against a named alternative: 'Prefer this over send_message whenever the wording is yours rather than theirs.' The when-to-use condition and the alternative are both stated, leaving nothing to inference.

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