Skip to main content
Glama

Reply to a conversation

reply_to_conversation
Destructive

Send a reply to a customer inside their existing conversation, on the line the conversation already uses. Use this for anyone who already appears in list_conversations; use send_sms only for a number with no conversation yet. The customer receives it right away. Ask the user to confirm before calling this tool. Show them the exact text first.

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": {
      "contact_id": "<contact_id>",
      "body": "<body>"
    },
    "name": "reply_to_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesMessage text
channelNoHow to send it (defaults to the thread's channel)
subjectNoEmail subject, for email replies
contact_idYesContact id from list_contacts or list_conversations
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.
from_phone_number_idNoSend from a different line, by id from list_phone_numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description adds that the customer receives the message immediately, which conveys irreversibility, and imposes a human-confirmation step before sending. It does not explicitly say the message cannot be recalled or edited, which would fully explain the destructive flag.

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?

Four short sentences, front-loaded with purpose, then routing, then the delivery behavior, then the confirmation requirement. No filler and no restatement of the name.

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 purpose, alternatives, preconditions, and delivery behavior for a mutating tool with no output schema. The only gap is that it doesn't indicate what the call returns or how failures surface, which an agent may need since there is no output schema to consult.

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 all six parameters, including channel defaulting to the thread's channel and the workspace_id scoping rule, are already documented in the schema. The description's 'on the line the conversation already uses' restates the channel default rather than adding new meaning, 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 ('Send a reply to a customer inside their existing conversation') plus the scoping constraint 'on the line the conversation already uses'. It explicitly contrasts itself with send_sms, so an agent can pick between the two without opening 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit inclusion rule ('anyone who already appears in list_conversations') and an explicit exclusion routing to the alternative ('use send_sms only for a number with no conversation yet'). It adds a procedural precondition: confirm with the user and show the exact text first.

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