Skip to main content
Glama

Create a CometChat app

cometchat_create_app

Creates a new app and returns its credentials. Only when the user asks, after confirming the name and region (the region can't change later). Can take over 15 seconds.

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": {
      "name": "<name>",
      "region": "<region>"
    },
    "name": "cometchat_create_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesApp name, 1-100 characters
regionYesData region. Pick the one closest to the app's users; it can't be changed later.
industryNoOptional industry, for the dashboard's onboarding metadata.

Output Schema

NameRequiredDescriptionDefault
envYes
nameNoApp name (create_app)
app_idYesApp ID
regionYesData region: us, eu or in
auth_keyYesAuth Key. Development only: it ships to the browser. Don't print it back to the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, and openWorld=true, so the safety profile is known. The description still adds real value beyond that: the region choice is permanent ('the region can't change later') and the call is slow ('can take over 15 seconds'), both of which affect how an agent should warn the user and set timeouts. It does not mention permission scope or failure modes, which keeps it off a 5.

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 action and the returned artifact, then the gating condition and the latency warning. The telegraphic second sentence reads slightly clipped but wastes no words.

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?

An output schema exists, so return values need no prose, and annotations carry the safety profile. The description covers the remaining agent-critical facts for a create-and-mutate action: user consent, permanent irreversible input, and long latency.

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% and the region enum already documents its own permanence, so the description adds little parameter-level meaning. It reinforces that name and region should be confirmed with the user, but says nothing about the optional 'industry' parameter, leaving the agent to rely entirely on the schema for that field.

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 specific verb and resource ('Creates a new app') plus what comes back ('returns its credentials'), which implicitly separates it from cometchat_get_app_credentials and cometchat_list_apps. It never names a sibling outright, so differentiation rests on inference rather than an explicit contrast.

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 a strong usage gate — 'Only when the user asks' — and a prerequisite step, 'after confirming the name and region,' which tells the agent not to fire this autonomously or prematurely. It stops short of naming alternatives, though for a creation tool there is little genuine substitute to route to.

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.