Skip to main content
Glama

Reply in a conversation

send_conversation_message

Reply in a conversation

Sends a message into a chat conversation as a human agent, delivering it to the visitor over the same channel the thread runs on. An API key is not itself an agent session, so the message is attributed to the agent already assigned to the thread, or to the account's first live chat agent when it is unassigned. An account with no live chat agent at all cannot send and is rejected with 409. Chat threads only: a voice call id is rejected with 400. A thread whose state does not allow a reply, a closed one for example, is rejected with 412.

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "send_conversation_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the chat conversation.
bodyYesThe reply text to deliver to the visitor. It may not be empty.

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?

Beyond the annotations (which only say non-read-only, non-destructive, non-idempotent), it discloses the attribution model: the message is credited to the assigned agent, or the account's first live chat agent when unassigned. It also surfaces three distinct failure modes with status codes, which an agent could not infer from the annotations or schema.

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?

The core behavior and the attribution rule are front-loaded, followed by a compact list of rejection conditions. The leading line largely restates the title, which is minor waste, but no sentence is otherwise padded.

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?

For a two-parameter mutation tool with no output schema, the description covers attribution, channel restriction, and all three documented failure modes. An agent has enough to decide whether to call it and to interpret a failure without further context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning to `id` by constraining it to a chat thread id (voice call ids fail with 400). The `body.message` content requirement is already stated in the schema, so only modest value is added there.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ("Sends a message into a chat conversation as a human agent") and states the delivery channel. It implicitly separates itself from ticket replies and voice calls via "Chat threads only: a voice call id is rejected with 400", though it never names a sibling tool outright.

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 gives clear eligibility conditions — must be a chat thread, must be in a state that allows a reply — and enumerates the rejection cases (409 no live agent, 400 voice id, 412 closed thread). It stops short of explicitly routing the agent to alternatives such as reply_to_ticket when the target is not a chat conversation.

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.