Skip to main content
Glama
cappyeo

discord-mcp

automod_list_rules

Read-onlyIdempotent

List AutoMod rules in a guild to audit them and retrieve rule IDs for modification or deletion.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guild_idYesGuild to list AutoMod rules for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds behavioral context about the return format and a warning that rule names remain raw user-authored data, with untrusted_names fenced separately. This is useful beyond annotations.

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?

The description is well-structured with clear Purpose, When to use, and Returns sections. Every sentence provides value, and there is no fluff or repetition.

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?

This is a simple read-only tool with one parameter and an output schema. The description includes the return shape and context about untrusted names, making it complete for the tool's complexity.

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% with the single guild_id parameter already described. The description adds no parameter-specific meaning beyond what the schema provides, so the baseline 3 applies.

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 states 'List all AutoMod rules in a guild' with a specific verb and resource, clearly distinguishing it from sibling tools like automod_get_rule (single rule) and automod_create_rule (write operation).

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?

The 'When to use' section provides clear context: audit existing rules and find a rule ID before modifying/deleting. It implies alternatives (modify/delete tools) but does not explicitly name them or state when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cappyeo/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server