Skip to main content
Glama
discord-mcp

discord-mcp

discord_create_automod_rule

Create an AutoMod rule to block harmful messages using keyword filters, regex patterns, or mention limits, with options for alerts, timeouts, and channel or role exemptions.

Instructions

Create a new AutoMod rule with keyword filters, regex patterns, or mention limits.

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

Input Schema

NameRequiredDescriptionDefault
nameYesRule name.
guild_idNoOptional guild ID.
exempt_rolesNoExempt role IDs/names.
block_messageNoWhether to block offending messages (default: true).
keyword_filterNoList of banned substrings/wildcards (e.g. ["*scam*", "*free nitro*"]).
regex_patternsNoList of regex patterns.
exempt_channelsNoExempt channel IDs/names.
alert_channel_idNoOptional channel ID to send alerts when rule triggers.
timeout_duration_secondsNoOptional seconds to timeout user when rule triggers (max: 2419200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden but only restates the trigger categories. It never says what permissions are required, whether at least one filter type must be supplied, what happens when block_message is left at its default, or what the tool returns. It also advertises "mention limits" even though the schema exposes no mention-limit parameter, which can mislead an agent into inventing an argument.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient, though it shades into under-specification covered by other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a nine-parameter mutation tool with no annotations and no output schema, so the description should explain permissions, trigger requirements, and side effects. Instead it is one sentence whose only substantive claim (mention limits) is unsupported by the schema, leaving real gaps for the agent to fill by guessing.

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 all nine parameters are already documented, and the description adds only a coarse mapping to the three filter categories. Baseline 3 applies; nothing new about defaults, mutual exclusivity, or the timeout cap is contributed here.

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 ("Create a new AutoMod rule") and enumerates the trigger types (keyword filters, regex patterns, mention limits), so the operation is unambiguous. It does not distinguish itself from siblings such as discord_list_automod_rules or discord_delete_automod_rule, though the create verb largely does that work.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites (e.g. required permissions, whether guild_id is needed for a guild-scoped rule), and no mention of the list/delete siblings for managing existing rules. The agent must infer the entire usage context from the name alone.

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