Skip to main content
Glama

Delete a push notification provider

cometchat_delete_push_provider
Destructive

Permanently deletes an FCM or APNs provider (id from cometchat_get_push_setup); devices relying on it stop getting push. To replace an FCM one, add the new provider first (cometchat_add_fcm_provider, local connection only).

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>",
      "kind": "<kind>",
      "provider_id": "<provider_id>"
    },
    "name": "cometchat_delete_push_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesfcm (Android/web) or apns (iOS)
app_idYesThe CometChat App ID (from cometchat_list_apps).
confirmNoSet true only after the user has explicitly agreed to this change. On a local connection that is enough; on the hosted server this change needs approval_code from the user's browser instead, and confirm is ignored.
provider_idYesProvider id
approval_codeNoThe code the user got after approving this exact change in their browser. Only ever from the user; never make one up or reuse one for different arguments.

Output Schema

NameRequiredDescriptionDefault
kindYesfcm or apns
app_idYesApp ID
deletedYesAlways true when the call succeeds
provider_idYesProvider id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds value beyond them by stating the effect is permanent and naming the visible consequence ('devices relying on it stop getting push'), plus a connection-type nuance for the replacement path.

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 dense sentences with the destructive effect and prerequisite front-loaded and the replacement path second; no filler or 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 destructive, non-idempotent tool with a full schema, annotations and an output schema, this covers permanence, consequence, id source and replacement ordering. Minor gaps remain around behavior when the provider does not exist or whether sibling operations are affected, but nothing critical for correct invocation is missing.

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 coverage is 100%, so kind, app_id, confirm and approval_code are already documented in the schema, which sets the baseline at 3. The description only adds provenance for provider_id (its source tool) and the fcm/apns framing; it does not explain the confirm vs approval_code split, which lives entirely in the schema.

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 ('Permanently deletes an FCM or APNs provider') plus a scope detail (the id comes from cometchat_get_push_setup), which cleanly separates it from the other cometchat_delete_* siblings that target keys, groups, roles, etc.

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 concrete prerequisite (fetch the provider id via cometchat_get_push_setup) and an ordering rule with a named alternative ('to replace an FCM one, add the new provider first via cometchat_add_fcm_provider, local connection only'). It stops short of an explicit when-not-to-delete condition, so it is clear context rather than full routing 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.