Skip to main content
Glama
discord-mcp

discord-mcp

automod_get_rule

Read-onlyIdempotent

Fetch a single AutoMod rule by guild and rule ID to inspect its configuration before editing.

Instructions

Purpose: Fetch a single AutoMod rule.

When to use: - Inspect rule config before editing.

Returns: full rule shape. name and trigger metadata remain raw user-authored data; untrusted_text 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>",
      "rule_id": "<rule_id>"
    },
    "name": "automod_get_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesAutoMod rule to fetch
guild_idYesGuild containing the rule

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 cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, yet the description adds a genuine security behavior: user-authored name and trigger metadata stay raw while untrusted_text provides a separately fenced copy. That is meaningful context beyond the structured fields, though nothing is said about error behavior for missing rules or rate limits.

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?

Three short labeled lines, front-loaded with purpose then usage then return behavior, with no redundant restatement of the tool name. Every line carries distinct information.

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?

For a two-parameter read tool with a full output schema and complete annotations, the definition covers the essentials and even pre-empts trust issues around user-generated content. The remaining gap is minor: no guidance on what happens when the rule or guild is not found.

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% and both parameters carry their own descriptions with a Discord snowflake pattern, so the schema already does the work. The description adds no format or constraint detail beyond it, making the baseline 3 appropriate.

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?

"Fetch a single AutoMod rule" gives a specific read verb and resource, and the word "single" implicitly separates it from a listing operation like automod_list_rules. It stops short of naming any sibling explicitly, so it lands just below the top of the scale.

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: Inspect rule config before editing" line supplies clear context that ties this read to the modify-rule workflow. It offers no when-not-to-use condition or named alternative, which keeps it out of 5 territory.

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