Skip to main content
Glama

Create a moderation keyword list

cometchat_create_moderation_list

Creates a keyword list (1-1000 terms) for moderation rules; blank terms and terms over 200 characters are dropped. Attach it to a rule in the dashboard.

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>",
      "id": "<id>",
      "name": "<name>",
      "keywords": "<keywords>"
    },
    "name": "cometchat_create_moderation_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesList id: letters, numbers, - and _
nameYesName
app_idYesThe CometChat App ID (from cometchat_list_apps).
keywordsYesWords or phrases
descriptionNoWhat the list is for

Output Schema

NameRequiredDescriptionDefault
idYesList id
nameYesName
app_idYesApp ID
keywordsYesKeywords saved

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?

The annotations already declare a non-read-only, non-destructive, non-idempotent write, so the safety profile is covered. The description adds genuinely new behavioral detail beyond that: input sanitization rules (blank terms dropped, terms over 200 characters dropped) and the fact that the created list must be wired to a rule elsewhere. It stops short of stating uniqueness/duplicate-id behavior or failure modes.

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 tight sentences with no filler; the core action and its constraints come first, the follow-up step second. Every clause carries information an agent would otherwise lack.

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?

An output schema exists, so return values need no explanation, and the input constraints plus the downstream attachment step are both covered. The remaining gap is mutation edge-case behavior (duplicate id handling, error signaling), which is minor for a straightforward create tool.

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 description coverage is 100%, so the schema already documents all five parameters, which sets the baseline at 3. The description does add one piece of meaning not in the schema — that oversized/blank keywords are silently dropped rather than rejected — but adds nothing about id collisions or the optional description field.

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 names a specific verb and resource ("Creates a keyword list") and scopes it with a size range (1-1000 terms). It does not explicitly contrast itself with siblings like cometchat_list_moderation_lists or cometchat_delete_moderation_list, but the resource noun is distinctive enough that an agent can identify it without opening the schema.

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?

The clause "Attach it to a rule in the dashboard" implies this is a prerequisite step before configuring a moderation rule, which is useful sequencing context. However, it never states when to choose this over alternatives (e.g., reusing an existing list) or what happens if a list with the same id already exists.

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.