Skip to main content
Glama

Draft how the chat should behave

draft_chat_instructions

Write a draft of the site chat's "How chat should behave" instructions (its tone, what it should offer, how it should close) from what the site says about the business. Saves NOTHING: show the owner the draft, let them change it, then save it with update_communication_settings (change.channel "widget", change.assistant_brief). Read the current instructions with get_communication_settings first, so you do not replace ones the owner wrote without saying so.

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": "draft_chat_instructions"
  }
}

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

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

The key behavioral fact — "Saves NOTHING" — is stated emphatically and is exactly the kind of side-effect disclosure an agent needs, along with the exact save path (change.channel "widget", change.assistant_brief). This slightly tensions with readOnlyHint=false, but the description resolves it by clarifying that no persistence occurs rather than claiming a write. It stops short of describing what the returned draft looks like or how long a draft lives before being replaced, which is why it is not 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?

Three tight sentences ordered as artifact → non-persistence → required read/save sequence, with the prohibitive "Saves NOTHING" front-loaded in caps so it cannot be skimmed past. No filler sentences; the parenthetical and the parameter hints all carry operational weight.

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?

Two parameters, one required, no output schema, no nesting — and the description fully covers the workflow an agent needs: source material, the no-save contract, the prior read, and the follow-up write. Nothing essential to correct invocation is missing.

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, and the description adds nothing about either. Baseline 3 applies since the schema carries the parameter burden here.

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: writing a draft of the site chat's "How chat should behave" instructions, sourced from what the site says about the business. The parenthetical (tone, offers, closing) concretizes the artifact, and naming update_communication_settings makes clear this is a draft-only tool rather than the persisting sibling.

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?

Gives an explicit ordering of use: read with get_communication_settings first so an owner-authored brief is not silently replaced, then let the owner edit, then persist via update_communication_settings. The when-not (do not save here) and the alternative (the update tool) are both spelled out.

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