Skip to main content
Glama

Replay a chat through the moves

replay_chat_conversation
Read-onlyIdempotent

Replay one of a site's recent chats (an id from list_chat_replay_conversations) through its chat's saved moves: for each visitor message (the latest 12), what was sent then, the move the chat takes now, what it would send, the details collected, and why. Nothing is sent to anyone and nothing is saved; only functions marked read-only are called. Use it to check a change to the moves or details.

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": {
      "site_id": "<site_id>",
      "conversation_id": "<conversation_id>"
    },
    "name": "replay_chat_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
conversation_idYesThe chat, from list_chat_replay_conversations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world; the description adds value on top by explaining the mechanics of that safety: nothing is sent, nothing is saved, and only read-only-marked functions are invoked. It also bounds the sample at the latest 12 visitor messages, which is real behavioral context not present in the schema. Auth requirements and any latency/rate characteristics are unstated.

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 operation and its result shape, followed by the safety constraint and use case. The middle enumeration is dense but each item is a distinct output field, so it earns its space; minor trimming of the trailing clause in the first sentence would tighten it further.

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?

There is no output schema, and the description compensates fully by listing the per-message fields a replay returns. Combined with the read-only guarantee and the 12-message bound, an agent has everything needed to decide to call it and to interpret the result.

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%, so site_id, conversation_id, and even the optional user_goal are already documented in the schema, including their upstream sources. The description reinforces the conversation_id provenance but adds no new semantics and never mentions user_goal. Baseline 3 applies when the schema does the heavy lifting.

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 ("Replay one of a site's recent chats ... through its chat's saved moves") and enumerates exactly what the replay yields: prior message, current move, would-be send, collected details, and rationale. This is precise enough that an agent can distinguish it from a mutation sibling or from list_chat_replay_conversations, which is explicitly named as the id source.

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?

"Use it to check a change to the moves or details" gives a clear triggering condition, and the id-source pointer to list_chat_replay_conversations establishes the prerequisite ordering. It does not address when to prefer a different verification tool (test_chat_answer is a plausible sibling here) or any exclusions, so it stops short of full routing guidance.

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