Skip to main content
Glama

Reply to a visitor

reply_to_visitor

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.

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.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the message reaches a REAL human immediately (in-chat or by email), is signed with the API key creator's name, marks the conversation as read, and is capped at 5,000 characters. These are consequential, non-obvious side effects for a mutation tool that openWorldHint=true only hints at.

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?

Front-loads the action in the first sentence, then layers constraints (visitor impact, signing, read-marking, approval workflow, language, length). Dense but nearly every clause carries operational value; the signing-parenthetical is the only slightly expendable detail.

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 mutation that is human-visible and irreversible (no idempotency, no undo stated), it covers the confirmation workflow, delivery channel, authorship, language, and length limit well. The main gap is that no output schema exists and the description says nothing about what is returned (e.g., a message id) or failure behavior.

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 body and conversation_id are already documented; baseline would be 3. The description adds real value on top: the 5,000-character limit for body and the language/locale guidance for the reply text, neither of which is in the schema.

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 opens with a specific verb and resource: 'Sends a reply in a conversation.' No sibling tool (create_site, get_conversation, update_ai_agent, etc.) sends a message to a visitor, so the operation is unambiguously distinct from the read/update tools in the sibling list.

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 an explicit action protocol: show the reply to the user and wait for their OK, unless they asked the agent to answer on its own. That is a clear when-to-act/when-to-confirm rule. It doesn't name any alternative tool, but no sibling competes for this action, so the omission is minor.

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