Skip to main content
Glama
GuildControl: Discord MCP

GuildControl: Discord MCP

Get exact Discord AutoMod rule

get_automod_rule
Read-onlyIdempotent

Retrieve an exact Discord AutoMod rule from an allowlisted guild to review its projected policy and permission evidence, with matched content and unknown fields omitted.

Instructions

Get one exact AutoMod rule from a separately allowlisted Discord guild. Returns the complete projected policy and exact permission and reference evidence transiently for review; action-execution content, matched content, matched keywords, and unknown raw fields are omitted, and nothing is persisted.

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": {
      "guildId": "<guildId>",
      "ruleId": "<ruleId>"
    },
    "name": "get_automod_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdYesExact AutoMod rule ID
guildIdYesExact AutoMod audit guild ID

Output Schema

NameRequiredDescriptionDefault
statusYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.6.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish a safe read-only, idempotent, non-destructive operation, and the description adds important behavioral detail: the guild must be separately allowlisted, the result is transient, and sensitive fields such as matched content and keywords are omitted. It also states that nothing is persisted, which is consistent with readOnlyHint=true.

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 purpose is front-loaded in the first clause, followed by relevant return and privacy details. The single dense sentence contains no filler and every clause contributes useful context.

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 two-parameter read tool with an output schema, the description covers the important behavioral boundaries: guild allowlisting, transient retrieval, field omissions, and non-persistence. No additional information is needed for an agent to call it correctly.

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 are documented as exact IDs in the schema. The description reinforces the guild-scoping context but does not add format, validation, or retrieval semantics beyond the 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?

States a specific verb and resource: "Get one exact AutoMod rule." The scope phrase "one exact" and the source restriction "from a separately allowlisted Discord guild" distinguish this from list_automod_rules and the plan/execute/verify siblings.

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

Usage Guidelines3/5

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

The phrase "for review" implies the intended context, but the description does not explicitly say when to choose this tool over list_automod_rules, plan_automod_change, or verify_automod_change. Usage is inferable but not clearly guided.

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