Skip to main content
Glama

List moderation rules

cometchat_list_moderation_rules
Read-onlyIdempotent

Lists an app's moderation rules (first 50): id, what each detects, its actions, whether it's on, and whether it's built-in.

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

Input Schema

NameRequiredDescriptionDefault
app_idYesThe CometChat App ID (from cometchat_list_apps).

Output Schema

NameRequiredDescriptionDefault
rulesYes
app_idYesApp ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered elsewhere. The description's real contribution is the '(first 50)' cap, which tells the agent the result is truncated and that there appears to be no pagination cursor to page past it — a behavioral constraint the annotations do not express.

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 front-loaded sentence with the resource first and the returned fields appended as a compact list. No filler, no repetition of the title, and the truncation limit is placed inline where it is immediately visible.

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 a full output schema and complete annotation coverage, the definition supplies what is needed plus the 50-item limit. The only gap is that it does not say whether additional rules beyond the first 50 can be retrieved at all, which matters for an agent judging result completeness.

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 a single parameter and schema description coverage is 100%, with the schema itself explaining that app_id comes from cometchat_list_apps. The description adds no further meaning about app_id or its format, so it rests at the baseline where the schema does all the work.

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 an app's moderation rules') and even enumerates the fields returned per rule (id, detection, actions, enabled state, built-in flag), so the agent knows exactly what comes back. It does not, however, distinguish itself from the closely named sibling cometchat_list_moderation_lists (lists vs. rules), leaving that disambiguation to inference.

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 implied: this is the read/inspection tool in the moderation family, and the phrasing 'an app's moderation rules' signals it needs an app context. There is no explicit 'use this when...' statement, no mention of when to prefer cometchat_list_moderation_lists, and no note that set/delete rule tools operate on the items this returns.

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.