Skip to main content
Glama

The-Y CRM

Switch web chat on/off

set_webchat_enabled
DestructiveIdempotent

Switches the web chat on or off and then returns the embed code.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_webchat_enabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue = on, false = off

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true and openWorldHint=true, so the bar is lower. The description adds one genuinely new behavioral fact — that the call returns the embed code — but with destructiveHint=true it should explain what turning chat off does to a live widget or whether the returned embed code must replace an existing snippet.

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?

One front-loaded sentence with no filler; both the action and the return value are stated compactly. It could be marginally stronger by naming the sibling it supersedes, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter toggle with no output schema, mentioning the returned embed code covers the main return-value gap. However, given destructiveHint=true, the definition omits the operational consequences of disabling chat (widget goes dark, embed snippet validity), which an agent needs before calling 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?

There is a single boolean parameter with 100% schema description coverage ('true = on, false = off'), so the schema already carries full semantics. The description's 'on or off' phrasing reinforces but does not extend it, making the baseline 3 appropriate.

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?

The description states a specific verb and resource ('Switches the web chat on or off') plus a secondary effect ('returns the embed code'), so an agent knows exactly what the tool does. It stops short of distinguishing the tool from the sibling get_webchat_embed_code, which also surfaces an embed code, leaving some ambiguity about which one to call when an agent merely wants the code.

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

Usage Guidelines2/5

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

There is no explicit guidance about when to use this tool versus get_webchat_embed_code, nor any prerequisites or conditions for toggling. The implied usage ('switch it on or off') is largely self-evident from the name, but the description adds no routing guidance.

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.