Skip to main content
Glama

Read the chat's quick replies and flows

get_chat_flows
Read-onlyIdempotent

Read the buttons visitors can tap when the chat opens (welcome chips: show a page section such as services or FAQs, start a flow, send a message, open a link, call) and the step-by-step flows they start (a booking request, a quote). flowConfig null means none are set. Read this before update_chat_flows, which replaces the whole set.

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_flows"
  }
}

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

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered. The description adds real value beyond them: the return field flowConfig and the meaning of a null value (nothing configured), plus the enumeration of chip action types. It stops short of describing the full return shape for the flow steps.

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?

Three sentences with the subject front-loaded and no filler. The long parenthetical enumerations are dense but each element is informative. Slightly heavy opening sentence but nothing wasted.

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 two-parameter read tool with no output schema, the description gives enough about what comes back (welcome chips and flows, null flowConfig) and why to call it (reading before a full replacement). It could more fully describe the flow step structure, but nothing critical is missing for correct invocation.

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 (from list_sites) and the optional user_goal are already documented in the schema. The description adds no parameter-specific meaning such as defaults or format expectations. 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?

Specific verb (read) plus a precise resource description: the tappable welcome chips and the step-by-step flows they start, with concrete examples of chip actions (page section, flow, message, link, call). It is clearly distinguishable from update_chat_flows, which it names as the writer counterpart.

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?

Explicitly prescribes sequencing: read this before update_chat_flows, because that tool replaces the whole set. That is a genuine read-modify-write instruction rather than a vague hint. It does not cover when this is unnecessary or point to other read siblings like get_chat_playbook.

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