Skip to main content
Glama

Read how the chat is guided

get_chat_playbook
Read-onlyIdempotent

To change situations use get_chat_situations then update_chat_situations; to change moves and details use set_chat_moves and set_chat_details_to_collect. What guides a site's chat: its situations (when each applies and what to do), the types of person, what to do when nothing fits, the chat's moves (answer, save a lead, hand to the full assistant, each function open to the chat, bookings and lookups the site has) with whether each is on and its "when to use it", and the details it collects. chat.decision_step says whether the moves apply now: live whenever the site has a move only the decision step makes (a function open to the chat, details to collect, a coupon), otherwise not_needed (the assistant answers every message, with no extra decision call). There is no switch. Read this before changing any of it, and pass its version back as expected_version.

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

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, and the description adds real behavior beyond them: `chat.decision_step` resolves to `live` or `not_needed` based on whether any move is decision-only, and 'There is no switch' rules out an assumed toggle. The version/expected_version contract is a useful concurrency hint, though the live/not_needed semantics are stated densely enough to be hard to act on.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening routing sentence is front-loaded and earns its place, but the core enumeration is one sprawling multi-clause sentence with nested parentheticals that is hard to parse. Given there is no output schema the content is largely necessary, but the packaging is inefficient and could be broken into a short list.

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?

With no output schema, the description carries the burden of explaining returns, and it does list the major sections (situations, person types, no-match behavior, moves and their enabled state plus 'when to use it', collected details, decision_step). That is close to complete for a read tool; only the exact shape/version placement remains implied.

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 `site_id` and `user_goal` are already documented, and the description adds nothing about either. Its only numeric/identifier guidance concerns `version`/`expected_version`, which is an output value not present in this tool's input schema, so it doesn't enrich parameter meaning here.

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 does state the resource concretely: it enumerates what guides a site's chat (situations, person types, fallback behavior, moves with enabled flags, collected details) and names the sibling write tools it is not. However, it never uses a clean verb+resource opener like 'Returns the chat's configuration' — the purpose must be inferred from a long list of contents.

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?

Explicit routing is given: 'To change situations use get_chat_situations then update_chat_situations; to change moves and details use set_chat_moves and set_chat_details_to_collect.' It also states the prerequisite ordering ('Read this before changing any of it') and the follow-up step of passing `version` back as `expected_version`, so the when-to-use and what-next are both covered.

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