Skip to main content
Glama

Get push notification setup

cometchat_get_push_setup
Read-onlyIdempotent

Shows whether push is on for an app and lists its FCM and APNs providers (id, Firebase project or bundle id); credentials are never returned.

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_get_push_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).

Output Schema

NameRequiredDescriptionDefault
fcmYes
apnsYes
app_idYesApp ID
push_enabledYescore.notifications.push.enabled

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds real value by disclosing that credentials are never returned while provider ids and project/bundle ids are. That secret-exclusion note is exactly the kind of behavior an agent cannot derive from 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?

A single compact sentence that front-loads the on/off status and then the provider list, with the credential caveat last. No filler or redundant restatement of the title.

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?

For a one-parameter read tool with annotations covering safety and an output schema defining return shape, the description supplies enough: what is reported (push status, providers), what is withheld (credentials). Only the absence of usage routing to sibling push tools leaves a small gap.

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?

One parameter at 100% schema coverage, and the schema already explains that app_id is the CometChat App ID sourced from cometchat_list_apps. The description adds no further meaning about the parameter, 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 ('Shows whether push is on for an app and lists its FCM and APNs providers') and even names the returned fields, so it is clearly a read of push configuration. It does not explicitly contrast with the mutation sibling cometchat_delete_push_provider, which keeps it from 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative or prerequisite beyond the parameter's implied need for an App ID. The agent must infer on its own that this is the inspection step before adding or deleting push providers.

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.