Skip to main content
Glama

Draft reply

draft_reply

Draft a reply for a conversation using the org's configured AI tone, presets and knowledge context. Creates a durable draft (returns draft_id) that humans can review in the inbox — this tool NEVER sends. Optionally pass an instruction to steer the draft. Draws the org AI token budget.

Input Schema

NameRequiredDescriptionDefault
instructionNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
noteYes
modelYes
draft_idYes
tokens_usedYes
draft_contentYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, closed-world operation; the description adds real context on top by disclosing that a durable draft is persisted, a draft_id is returned, nothing is sent, and the call consumes the org's AI token budget. It doesn't address retry behavior (e.g. whether a repeated call creates a second draft) or failure modes, which keeps it from a 5.

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 tight sentences with the action and its inputs first, then the persistence/never-sends guarantee, then cost — no filler and nothing buried.

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 an output schema present, return details needn't be restated, and the description still flags draft_id and the safety/cost profile, so an agent can call it correctly. The remaining gap is edge behavior — what happens with an invalid conversation, missing AI configuration, or budget exhaustion.

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 0%, so the description has to carry the burden; it explains that 'instruction' is an optional free-text steer for the draft, which is genuinely useful. However, it says nothing about the conversation_id format constraint (numeric pattern) or the 500-character cap on instruction, leaving part of the gap for the schema alone.

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?

The description names a specific verb and resource (draft a reply for a conversation) and qualifies the mechanism — org AI tone, presets, knowledge context — which separates it from read-only siblings like list_messages or get_conversation. It also states the output artifact (draft_id) and rules out sending, so an agent knows exactly what it gets.

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 makes the use case clear: produce a draft for human review in the inbox, with an optional instruction to steer it. There are no explicit when-not conditions or named alternative tools, but the 'NEVER sends' clause effectively defines the boundary between this tool and any send action.

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