Skip to main content
Glama

List an app's API keys

cometchat_list_api_keys
Read-onlyIdempotent

Lists an app's API keys (name, scope, value); values are masked on a read-only connection. fullAccess is the REST key (server-side only), authOnly the client Auth Key. Write keys to env files; don't echo them.

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

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).

Output Schema

NameRequiredDescriptionDefault
keysYes
app_idYesApp ID
maskedYesTrue when key values are hidden because this connection is read-only

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/destructive/idempotent annotations, the description discloses that values are masked on a read-only connection, that fullAccess is the server-side REST key, and that authOnly is the client Auth Key — genuinely useful security-relevant behavior. It does not say whether values are unmasked on a write-capable connection or what the masked placeholder looks like, leaving one meaningful gap.

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 tight semicolon-separated clauses, front-loaded with what the tool returns. Every clause carries information, though the key-type and handling clauses are packed densely enough that they read as a run-on rather than clearly structured guidance.

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?

With an output schema present and a single fully documented parameter, the description only needs to cover behavior and safety, which it largely does (masking, key-type meaning, handling). The remaining gap is the lack of routing guidance relative to sibling key/credential tools.

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?

There is one parameter and schema coverage is 100%, with the schema already explaining that app_id comes from cometchat_list_apps. The description adds no further meaning about app_id (format, validation, failure behavior), so the baseline 3 applies.

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 ("Lists an app's API keys") and enumerates the returned fields (name, scope, value), which tells an agent exactly what comes back. It does not differentiate itself from nearby siblings such as cometchat_get_app_credentials or cometchat_create_api_key, so it stops short of a 5.

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?

Usage is only implied: the agent infers it should call this when it needs credentials for an app. There is no explicit when-to-use vs. when-to-use-instead guidance against cometchat_get_app_credentials, and no stated prerequisites beyond app_id's schema note. The handling instructions (write to env files, don't echo) are operational, not selection guidance.

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.