Skip to main content
Glama

List webhook triggers

cometchat_list_webhook_triggers
Read-onlyIdempotent

Lists the event ids a webhook can subscribe to (for example message_sent), for cometchat_create_webhook.

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

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).

Output Schema

NameRequiredDescriptionDefault
app_idYesApp ID
triggersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description adds the useful framing that the result is a set of subscribable event ids, but says nothing about whether the list is static reference data, how large it is, or whether it varies by app — minor gaps given an output schema exists.

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?

One compact sentence with the payload description front-loaded and the downstream tool named last where it belongs. No redundant restatement of the title or annotations.

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 rich annotations, a fully documented single parameter, and an output schema, the description only needs to convey purpose and workflow — which it does. It could be marginally stronger by noting whether the trigger list is fixed reference data or app-specific, but nothing essential 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% and the single app_id parameter is fully documented in the schema, including its source (cometchat_list_apps). The description contributes nothing about the parameter, so the baseline of 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?

The description states a specific verb and resource ('Lists the event ids a webhook can subscribe to') and gives a concrete example ('message_sent'), so the agent knows this returns a reference catalog rather than actual webhooks. It ties the output to cometchat_create_webhook but never explicitly distinguishes itself from the similarly named cometchat_list_webhooks sibling.

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?

The trailing 'for cometchat_create_webhook' makes the intended workflow clear: call this to discover valid event ids before creating a webhook. There is no explicit when-not guidance or statement that no other tool returns these ids, but the usage context is unambiguous.

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.