Skip to main content
Glama

Create a group

cometchat_create_group

Creates a public, private or password group, optionally with up to 100 users as participants. Unknown UIDs can be skipped silently, so check with cometchat_list_group_members.

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>",
      "name": "<name>",
      "type": "<type>"
    },
    "name": "cometchat_create_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
guidYesGroup ID: letters, numbers, - and _
nameYesGroup name
typeYesWho can join
app_idYesThe CometChat App ID (from cometchat_list_apps).
membersNoUIDs of existing users to add as participants (optional)
passwordNoRequired for password groups

Output Schema

NameRequiredDescriptionDefault
guidYesGroup ID
nameYesName
typeYesType
app_idYesApp ID
members_addedYesUIDs sent to CometChat as participants; not confirmed per user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false. The description adds real behavior beyond that: the 100-participant cap and the silent skip of unknown UIDs, which directly affects result correctness. It omits duplicate-GUID behavior and permission requirements.

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 sentences, front-loaded with the core action and followed by the caution; no waste. The verification pointer is compact but slightly terse.

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?

Annotations cover the safety profile, the schema covers all 6 parameters including enums, and an output schema exists. What's missing is behavior for duplicate GUIDs or a failed creation, which matters for a non-idempotent creator.

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 coverage is 100%, so the schema defines each parameter. The description adds meaning by tying type to the public/private/password options and warning that members must be existing UIDs. The password/type dependency is left to the schema description.

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 (creates) and resource (group) plus the three supported types and optional participant list. An agent can distinguish it from cometchat_add_group_members and cometchat_create_users without opening the 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?

The description gives clear operational context: unknown UIDs are skipped silently, so verify with cometchat_list_group_members. It doesn't explicitly say when to use cometchat_add_group_members for an existing group instead, leaving one alternative unaddressed.

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.