Skip to main content
Glama

Update a chatbot

update_chatbot

Update a chatbot

Changes one or more fields on a chatbot. Every field is optional, but the body must contain at least one recognised field: an empty object is rejected with 400. enableVoice switches the widget microphone, voiceId changes the voice and an empty voiceId returns to the engine default; the chosen voice is kept while the microphone is off. The older textOnlyMode is still read as the inverse of enableVoice. The change is pushed to the voice engine first and then stored; if the engine rejects the push the request still succeeds and the new values are stored, so verify the chatbot afterwards when live behaviour matters. The response is a confirmation message only, not the updated chatbot.

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": {
      "chatbotId": "<chatbotId>",
      "body": "<body>"
    },
    "name": "update_chatbot"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe fields to change. At least one must be present.
chatbotIdYesNumeric identifier of the chatbot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the engine-push-then-store ordering, the silent partial failure when the voice engine rejects the push, and the fact that the response is a confirmation only rather than the updated chatbot. It also documents cross-field behavior (empty voiceId reverts to engine default, voice retained while microphone is off, deprecated textOnlyMode read as the inverse). Nothing here conflicts with destructiveHint=false or idempotentHint=false.

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?

Front-loaded with the core operation, then layered with constraints and caveats in a tight sequence with no filler. The only minor waste is restating the title as the first line, but every subsequent sentence carries substantive information.

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?

With no output schema, the description correctly states what the response contains (a confirmation message, not the chatbot), and it warns about the one failure mode an agent could otherwise miss. For a 2-parameter nested-body update tool, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning not obvious from per-field descriptions: the enableVoice/voiceId interaction, the deprecated textOnlyMode fallback when enableVoice is present, and the whole-body minimum-one-field constraint. The remaining fields (name, logoUrl, colors, etc.) are left entirely to the schema.

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?

States a specific verb and resource ('Changes one or more fields on a chatbot') and makes the partial-update nature explicit with the at-least-one-field rule. It does not distinguish itself from close siblings such as update_chatbot_settings or update_chatbot_integration_tools, so an agent has to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides useful operational guidance such as verifying the chatbot afterwards when live behaviour matters, and implicitly covers the update use case. However, it never says when to choose this tool over the sibling settings/agent update tools, and gives no exclusions beyond the empty-body rejection.

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.