Skip to main content
Glama

Create users

cometchat_create_users

Creates up to 25 users and returns created, exists or failed for each (existing UIDs are left unchanged). Check every result.

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>",
      "users": "<users>"
    },
    "name": "cometchat_create_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersYesUsers to create (1-25); each needs a uid and a name
app_idYesThe CometChat App ID (from cometchat_list_apps).

Output Schema

NameRequiredDescriptionDefault
app_idYesApp ID
resultsYes

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 cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavior: batch ceiling of 25, per-item status outcomes, and the partial-failure contract that existing UIDs are left unchanged. It does not spell out whether a partially failed batch rolls back, and there is a mild tension with idempotentHint=false given that existing UIDs are untouched, but neither rises to a contradiction.

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?

Two sentences, front-loaded with the write action and cap, then the outcome semantics and the one operational instruction. No filler or restated title.

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

Completeness5/5

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

With an output schema present, return-field detail is unnecessary, and the description still supplies what the schema cannot: per-item result vocabulary and the behavior toward already-existing users. An agent has everything needed to call it and interpret a partial success.

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%, with the 1-25 range, required uid/name, and the app_id provenance already documented in the schema. The description only restates the batch cap, so it adds no meaning beyond structured fields — baseline 3.

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 (creates up to 25 users) plus the batch cap and per-item outcome vocabulary (created, exists, failed). That is enough for an agent to distinguish it from sibling operations such as cometchat_create_group, cometchat_create_role, or cometchat_list_users without opening another schema.

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?

"Check every result" is a post-call handling instruction, not selection guidance; the description never says when to prefer this over cometchat_list_users to check pre-existing UIDs or how it relates to sibling creation tools. Usage is therefore implied rather than stated.

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.