Skip to main content
Glama

The-Y CRM

Create reply draft

create_reply_draft

Saves a reply draft as an internal note in the conversation. It is NOT sent to the customer — the team reviews and sends it. The draft is only marked as done if send_reply sends exactly this text over the same connection (the same key) in the same conversation as a free-text reply (not a WhatsApp template) and sending does not fail.

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": {
      "conversation_id": "<conversation_id>",
      "text": "<text>"
    },
    "name": "create_reply_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText of the draft
conversation_idYesID of the conversation (from list_conversations)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare generic write hints (readOnlyHint=false, idempotentHint=false); the description goes well beyond them by disclosing the non-obvious 'marked as done' rule and all of its preconditions — identical text, same connection key, same conversation, free-text (not WhatsApp template), and no send failure. This is exactly the kind of hidden lifecycle semantics an agent could not infer from structured fields.

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?

Two sentences, front-loaded with the most decision-relevant fact (not sent to the customer). The second sentence is heavily nested with parentheticals and clauses, which costs some readability, but every clause carries real information about draft resolution.

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 write tool with no output schema and sparse annotations, the description covers intent, side effects, and resolution semantics well. Minor gap: it doesn't say what is returned (e.g. a draft identifier) or what happens on repeated calls for the same conversation, despite idempotentHint=false.

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% and both parameters are documented there (text with 8000-char cap, conversation_id sourced from list_conversations). The description adds no format, syntax, or constraint detail beyond the schema, so the baseline 3 applies.

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 ('Saves a reply draft') and immediately pins down where it lands ('as an internal note in the conversation'). The explicit 'It is NOT sent to the customer' clause cleanly separates it from the send_reply sibling without requiring the agent to open either 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?

Clear context for use: drafting for team review rather than sending. It names send_reply as the follow-up action and specifies the conditions that advance the draft. It does not, however, contrast with create_reply_template, so an agent still has to infer whether a reusable template or a conversation-bound draft is appropriate.

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.