Skip to main content
Glama

Change the chat's moves

set_chat_moves
Idempotent

Switch a site chat's moves on or off and set when to use each, in the owner's words. Only the moves named change; handing to the full assistant and asking for a detail always stay on. Saved as a new version. The moves apply when the chat's decision step runs (see get_chat_playbook chat.decision_step).

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

Input Schema

NameRequiredDescriptionDefault
movesYesOnly the moves named change
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.
expected_versionNoThe `version` get_chat_playbook returned. When given, the save is refused if someone saved since.

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?

Annotations already declare this is a non-destructive, idempotent, non-open-world write, so the bar is lower; the description still adds real behavior: the change is versioned ("Saved as a new version"), some moves are immovable, and the effect only materializes when the decision step runs. It does not cover permissions or the shape of a successful return, keeping it off a 5.

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 short sentences, front-loaded with the action, then scope, then versioning, then timing with a cross-reference. Nothing is redundant and each clause carries distinct information.

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 non-destructive versioned write with full schema coverage and annotations covering the safety profile, the description supplies scope, prerequisites, and effect timing. The only thin spot is the outcome of a call (what the new version looks like or which version is returned), though no output schema exists to cover it.

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 move_id, when, enabled, expected_version and user_goal are already documented. The description reinforces the array's partial-update meaning and the "owner's words" phrasing, but adds no syntax, format, or constraint detail the schema does not already carry.

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 — "Switch a site chat's moves on or off and set when to use each" — and scopes it further with partial-update semantics. An agent can distinguish this from get_chat_playbook (referenced as the read-side source of move ids) and from the many other set_chat_* siblings.

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?

"Only the moves named change" plus "handing to the full assistant and asking for a detail always stay on" tells the caller how to scope a call and that unspecified moves need not be re-sent. It also points to get_chat_playbook as the prerequisite for move ids and decision-step context, but names no explicit alternative tool or when-not-to-use condition.

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