Skip to main content
Glama

Turn an app feature on or off

cometchat_set_feature
Destructive

Turns one extension or AI feature (id from cometchat_list_features) on or off for a live app. AI features need an OpenAI key first (cometchat_set_openai_key). For extensions, confirmed: false means check the dashboard's Extensions page.

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": {
      "app_id": "<app_id>",
      "feature_id": "<feature_id>",
      "enabled": "<enabled>"
    },
    "name": "cometchat_set_feature"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).
confirmNoSet true only after the user has explicitly agreed to this change. Without it, nothing happens and you get a summary to show them.
enabledYestrue to turn on, false to turn off
feature_idYesExtension or AI feature id from cometchat_list_features

Output Schema

NameRequiredDescriptionDefault
kindYesWhat kind of feature it is
app_idYesApp ID
enabledYesRequested state
messageNoCometChat's response
confirmedYesWhether reading the app back shows the new state. false = CometChat accepted the change but it isn't visible yet; tell the user to check the dashboard.
feature_idYesFeature id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered; the description adds real value beyond that by disclosing the prerequisite dependency on the OpenAI key and the confirm-gating fallback behavior. The final sentence about extensions and confirm is worded ambiguously ("confirmed: false"), leaving the fallback slightly unclear.

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 and the key prerequisite. The trailing sentence about the Extensions dashboard is the weakest part: it uses "confirmed" instead of the actual parameter name confirm and its meaning is hard to parse.

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?

An output schema exists, so return values need no explanation, and annotations cover destructiveness and idempotency. The description supplies the cross-tool prerequisites and the confirm gate, leaving only the ambiguous extensions fallback as a gap.

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 all four parameters, including the confirm gating semantics, are already documented in the schema. The description restates the feature_id source and the enabled toggle rather than adding new meaning, so baseline 3 applies.

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: turns one extension or AI feature on or off for a live app, and scopes it to a single feature id sourced from cometchat_list_features. That clearly separates it from cometchat_list_features (enumeration) and from sibling mutation tools like cometchat_set_moderation_rule.

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 an explicit prerequisite ordering (AI features require cometchat_set_openai_key first) and points to cometchat_list_features for the id, plus a fallback path when confirm is false. It does not spell out when to prefer this over the broader settings tools, but the when-to-use context is clear.

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.