Skip to main content
Glama

Update app settings

cometchat_update_app_settings
Destructive

Overwrites the given app settings (up to 50 keys); the rest keep their values. Keep each value's type: CometChat doesn't check it. Returns the keys sent, not a read-back.

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>",
      "settings": "<settings>"
    },
    "name": "cometchat_update_app_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).
confirmNoSet true only after the user has explicitly agreed to this change. On a local connection that is enough; on the hosted server this change needs approval_code from the user's browser instead, and confirm is ignored.
settingsYesSetting key → new value (string, number or boolean)
approval_codeNoThe code the user got after approving this exact change in their browser. Only ever from the user; never make one up or reuse one for different arguments.

Output Schema

NameRequiredDescriptionDefault
app_idYesApp ID
updatedYesKeys that were set

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=true. The description adds genuinely new context beyond them: partial-merge scope (unsent keys retain values), the hard 50-key cap, the warning that CometChat does not validate value types, and that the return is the keys sent rather than a read-back. It is silent on prerequisite ordering for the approval flow, which the schema covers instead.

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 short sentences, front-loaded with the overwrite/merge rule and then the two failure risks (key cap and type mismatch). Nothing redundant and no filler.

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 destructive, non-idempotent writer with a nested settings object, the description covers merge semantics, limits, type risk and return shape; annotations cover the safety profile and the schema covers the confirm/approval_code protocol. Only the browser-approval gating is absent from the prose, and that is fully documented in the schema.

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 description coverage is 100%, so the baseline is 3. The description still contributes beyond the schema by capping the settings object at 50 keys and by warning that each value's type must match the setting's expected type because it is not validated server-side.

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 concrete verb and resource ('Overwrites the given app settings') plus scope ('up to 50 keys') and merge semantics ('the rest keep their values'), which separates it from the read-side cometchat_get_app_settings. It does not name any sibling explicitly, so it stops short of a 5.

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?

The write semantics imply this is the tool for changing settings, but there is no explicit when-to-use/when-not guidance and no pointer to cometchat_get_app_settings or a read-back alternative. Usage has to be inferred from the overwrite framing.

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.