Skip to main content
Glama
discord-mcp

discord-mcp

automod_list_rules

Read-onlyIdempotent

List all AutoMod rules in a Discord guild to audit existing filters or find a rule ID before modifying or deleting it.

Instructions

Purpose: List all AutoMod rules in a guild.

When to use: - Audit existing rules; find a rule ID before modifying/deleting it.

Returns: {rules:[{id, name, trigger_type, event_type, enabled}], count, untrusted_names}. Rule names remain raw user-authored data; untrusted_names provides a separately fenced copy.

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

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild to list AutoMod rules for

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4/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. The description adds genuinely new behavioral context: the shape of the result (rules, count) and the security-relevant note that rule names are raw user-authored data with a separately fenced copy in untrusted_names. That is information annotations cannot convey.

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 structure is front-loaded and easy to scan, and every line carries usable information. The labeled headers are slightly heavier than necessary for three short sentences, keeping it just short of the top score.

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

Completeness5/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 full annotation coverage and an output schema, the definition supplies everything else an agent needs: when to reach for it and an explicit warning about handling untrusted rule names. Nothing material 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?

There is only one parameter (guild_id) and schema description coverage is 100%, with the schema itself explaining it is the guild to list rules for. The description adds no format or constraint detail beyond that, 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 uses a specific verb and resource ('List all AutoMod rules in a guild') and scopes it to a single guild. It is clear what the tool does, though it never explicitly contrasts itself with the closely related automod_get_rule, so an agent must infer the list-vs-single distinction.

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?

A dedicated 'When to use' section gives two concrete cases: auditing existing rules and finding a rule ID before modifying/deleting it. That efficiently routes the agent toward this tool and away from the mutation siblings, though no explicit when-not-to-use condition is stated.

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