Skip to main content
Glama

Show the signed-in CometChat account

cometchat_whoami
Read-onlyIdempotent

Returns the name and email of the signed-in CometChat account. Call it first to check the sign-in; an expired sign-in fails with 'unauthorized'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cometchat_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nameNoAccount name
emailNoAccount email
signed_inYesAlways true when the call succeeds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, so the description only needs to add what the agent cannot infer there. It does: an expired sign-in surfaces as an 'unauthorized' error, which is a concrete, actionable failure mode beyond the annotations.

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 short sentences: the first defines the return shape, the second defines the calling precondition and its failure mode. Nothing repeats the title or annotations, and both useful facts are front-loaded.

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?

A zero-parameter identity probe with an output schema covering return values needs only its purpose, precondition and failure behavior; the description supplies all three. Nothing an agent needs in order to call it correctly is missing.

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?

The tool takes zero parameters, so 4 is the baseline. The description correctly implies no arguments are needed and adds no redundant parameter talk.

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 ('returns the name and email of the signed-in CometChat account'), which distinguishes it from cometchat_get_user, a lookup of an arbitrary user rather than the current identity.

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?

'Call it first to check the sign-in' gives explicit ordering guidance that an agent can act on before invoking mutation tools. It stops short of naming an alternative path or saying when not to call it, so it is a strong 4 rather than a 5.

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.