Skip to main content
Glama

Update chatbot settings

update_chatbot_settings
Destructive

Update a chatbot's settings. Only the fields you pass are changed. Call get_chatbot first to see allowed_models before changing gpt_model.

Input Schema

NameRequiredDescriptionDefault
topKNoRetrieved-chunk count 1-3.
gpt_modelNoLLM model id. Must be one of the chatbot's allowed_models.
chatbot_idYesThe chatbot id.
temperatureNoSampling temperature 0-2.
history_countNoConversation history turns 0-10.
default_answerNoFallback answer when the bot cannot answer.
welcome_messageNoWelcome message (max 500 chars). Separate multiple bubbles with a blank line.
escalations_emailNoSemicolon-separated email addresses notified on escalation.
enable_escalationsNoTurn human-handoff escalations on/off.
enable_lead_captureNoTurn the lead-capture form on/off.
instructions_promptNoSystem/instructions prompt (max 20000 chars).
lead_capture_fieldsNoLead-capture field definitions {type,name,required,enabled,order}. Required when enabling lead capture.
escalate_message_thresholdNoMessages before a human handoff is offered (1-10).
enable_escalations_round_robinNoRotate escalation emails round-robin across the addresses.
enable_escalations_notificationNoEmail a notification when a conversation escalates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, so the write/mutating nature is already covered. The description adds genuinely new behavioral context beyond that: 'Only the fields you pass are changed' discloses patch semantics, which materially changes how an agent should build the request. It does not cover auth or reversibility, but the partial-update disclosure is the key missing piece from the annotations.

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 short sentences, front-loaded with the core action, then the partial-update semantics, then the cross-call prerequisite. No filler. Slightly fragmented into three sentence threads rather than one flowing unit, but every sentence earns its place.

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 15-parameter mutation tool with no output schema, the description covers the two things an agent cannot deduce from structure alone: that it is a partial update and that gpt_model requires a prior lookup. Remaining gaps are minor since the schema already documents per-field constraints and dependencies.

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% and every parameter (ranges, max lengths, formats) is already documented inline. The description's note that gpt_model must be in allowed_models repeats the schema's own constraint, so it adds no meaning beyond the structure. Baseline 3 applies.

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 ('Update a chatbot's settings'), which an agent can map to a single chatbot entity. Sibling tools are all distinct resources (sources, threads, leads, suggested messages), so no explicit differentiation is needed, but the description does not call that out.

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?

Gives a concrete workflow prerequisite: 'Call get_chatbot first to see allowed_models before changing gpt_model.' It implies when the tool is used (changing existing settings) but offers no explicit when-not-to-use or alternative routing.

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