Skip to main content
Glama
discord-mcp

discord-mcp

automod_modify_rule

Idempotent

Update a Discord AutoMod rule's settings by passing only the fields you want to change, such as keywords, actions, or enabled status.

Instructions

Purpose: Update an AutoMod rule's settings. Pass only fields you want to change.

When to use: - Tweak keyword list, change actions, toggle enabled.

Note: trigger_type is immutable - to change it, delete and recreate.

Returns: {id, name, trigger_type, enabled}.

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_modify_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
actionsNo
enabledNo
rule_idYesRule to modify
guild_idYesGuild containing the rule
event_typeNoAutoMod event type (1 MESSAGE_SEND, 2 MEMBER_UPDATE)
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)
exempt_rolesNo
exempt_channelsNo
trigger_metadataNoAutoMod trigger metadata (fields valid per trigger_type)

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?

The annotations already declare readOnly=false, destructive=false, and idempotent=true, so the safety profile is covered and the description doesn't need to repeat it. What it does add is genuinely useful: partial-update semantics ('pass only fields you want to change') and the immutable trigger_type constraint with the delete-and-recreate workaround. It omits required permissions and whether the mutation is reversible.

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?

Four short labeled blocks (Purpose, When to use, Note, Returns) with the mutation semantics front-loaded and zero filler. Every line supplies information the agent could otherwise get wrong.

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 10-parameter nested mutation, the description covers the two things most likely to cause an incorrect call: sending unneeded fields and trying to change an immutable trigger type. The output schema exists so the returns line is a bonus rather than a necessity, though permission requirements remain unstated.

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 50% across 10 parameters with nested objects, so the schema carries most of the burden (action types, audit_reason header, snowflake patterns). The description contributes only the trigger_type immutability note and the partial-update instruction; it says nothing about actions, trigger_metadata, exempt lists, or event_type behavior.

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 opens with a specific verb and resource: 'Update an AutoMod rule's settings,' which is immediately distinguishable from the sibling automod_create_rule and automod_delete_rule. It does not explicitly name those siblings, though, so an agent must infer the boundary from the verb alone.

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?

'When to use: Tweak keyword list, change actions, toggle enabled' gives concrete triggering scenarios rather than none. It also implicitly routes the agent elsewhere for trigger_type changes ('delete and recreate'), though it never names automod_delete_rule/automod_create_rule explicitly and states no exclusions for read operations.

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