Skip to main content
Glama

Remove a group member

cometchat_remove_group_member
Destructive

Removes one user from a group; the user and the group remain. To delete the group use cometchat_delete_group.

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>",
      "guid": "<guid>",
      "uid": "<uid>"
    },
    "name": "cometchat_remove_group_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesUser ID
guidYesGroup ID
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.

Output Schema

NameRequiredDescriptionDefault
uidYesRemoved user
guidYesGroup ID
app_idYesApp ID
removedYesAlways true when the call succeeds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is largely carried by structured data. The description's one real contribution is scoping the destruction ("the user and the group remain"); it adds nothing on permissions, failure modes, or the confirm-gate behavior beyond what the schema states. With annotations doing most of the work, this is adequate but not rich.

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?

Two short clauses with the behavioral constraint front-loaded and the sibling pointer trailing; nothing is wasted. Slightly clipped to the point of omitting a clause about failure conditions, but structurally sound.

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-value explanation is unnecessary, and the schema fully documents the confirm workflow. For a destructive single-target mutation the definition is nearly complete, with the only gap being what happens when the uid is not currently a member.

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%, including the non-obvious "confirm" gate and the app_id provenance hint, so the baseline is 3. The description adds no parameter-level meaning beyond the schema, which is acceptable here since the schema is self-sufficient.

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 ("Removes one user from a group") and immediately clarifies scope with "the user and the group remain," which makes clear this is membership removal, not entity deletion. It also names the sibling that does the destructive thing, so the agent can separate the two without opening either schema.

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?

Provides an explicit boundary condition: use cometchat_delete_group when the intent is to delete the group itself. It does not address the inverse operation (cometchat_add_group_members) or say what happens if the user is not a member, but the core when-to-use signal versus the dangerous alternative is present.

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.