Skip to main content
Glama
discord-mcp

discord-mcp

intelligence_moderate_content

Read-onlyIdempotent

Moderate text against a plain-language policy using the client's LLM to pre-check submissions, review AutoMod decisions, or classify ambiguous messages without Discord API calls.

Instructions

Purpose: Apply a plain-language moderation policy to a piece of text using the client's LLM. No Discord API call - purely a moderation utility.

When to use: pre-check user-submitted content; second-opinion on AutoMod decisions; classify ambiguous messages.

Returns: {decision: "allow"|"flag"|"block", reasons[], confidence, sampling_used}.

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": {
      "content": "<content>"
    },
    "name": "intelligence_moderate_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyNoModeration policy in plain languageReject hate speech, doxxing, spam, and explicit content.
contentYesText to moderate

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), and the description adds meaningful context beyond them: no Discord API call is made and the client's LLM performs the work, so the agent knows no guild state changes. It omits cost/latency implications of the LLM call and any policy-length behavior, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Purpose / When to use / Returns labeling is front-loaded and scannable, with no filler sentences. The Returns line partly duplicates the existing output schema, which is the only wasted element.

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 an output schema present, the return shape needn't be explained, and annotations plus full schema coverage handle safety and parameters. What remains is minor: no note on whether the policy default is applied when omitted, or on LLM nondeterminism affecting repeat calls despite idempotentHint.

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 both parameters (content, policy) are already documented with types, bounds, and a default. The description adds no format or syntax guidance for writing an effective policy string, so it sits at the baseline for a fully documented 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?

The description opens with a specific verb and resource ("Apply a plain-language moderation policy to a piece of text") and immediately bounds scope with "No Discord API call - purely a moderation utility." That line separates it from the automod_* and other Discord-mutating siblings without needing their names.

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?

"When to use" lists three concrete scenarios: pre-checking user content, second-opinion on AutoMod decisions, and classifying ambiguous messages. It gives clear positive context but names no explicit exclusion or a specific sibling alternative (e.g. intelligence_classify_messages) to route away from.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools