Skip to main content
Glama

Reply to a visitor

reply_to_visitor
Destructive

Sends a reply in a conversation. It reaches a REAL visitor right away (live in the chat bubble, or by email if they left), signed with the name of the person who created the API key (otherwise the account owner), and marks the conversation as read. Show the reply to the user and wait for their OK before sending, unless they asked you to answer on your own. Write in the visitor's language (see the messages' locale); up to 5,000 characters.

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>",
      "body": "<body>"
    },
    "name": "reply_to_visitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe reply's text.
conversation_idYesThe conversation's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations declare the safety profile (not read-only, destructive, open-world, non-idempotent), and the description adds context the annotations cannot convey: the message reaches a REAL visitor immediately, delivery is by chat bubble or email fallback, the reply is signed with the API-key creator's name or the account owner's, and the conversation is marked as read as a side effect.

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 sentences, front-loaded with the action and its consequence, then the confirmation policy, then the language rule, then the hard limit. No filler or restatement of the tool name.

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 an externally visible, irreversible send with only two parameters and no output schema, the description covers delivery channel, attribution, side effects, confirmation protocol, language, and length cap. An agent has everything needed to call it correctly and safely.

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 parameters themselves are documented; the description still adds value by imposing a 5,000-character limit on body and by saying which locale to write in. It does not explain conversation_id sourcing, but the schema plus the sibling listing tools make that inferable.

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?

"Sends a reply in a conversation" states a specific verb and resource, and the following clause explains the effect on the recipient (live chat bubble or email). No sibling tool sends messages, so the agent can immediately tell this apart from read-only siblings like get_conversation.

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 operating procedure: show the draft to the user and wait for confirmation, with a stated exception ("unless they asked you to answer on your own"). It also specifies language selection via the messages' locale, which is exactly the kind of guidance an agent needs before composing.

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