Skip to main content
Glama
discord-mcp

discord-mcp

members_bulk_ban

Destructive

Ban 1-200 users at once for mass moderation such as raid response. This destructive action is irreversible without manual unban and requires explicit confirmation.

Instructions

Purpose: Ban many users at once (1-200 per call). DESTRUCTIVE - IRREVERSIBLE without manual unban.

When to use: - Mass moderation (raid response).

When NOT to use: - Single user → use members_ban.

Returns: {banned_users:[...], failed_users:[...], banned_count, failed_count}. Discord returns 200 with both arrays even on partial failure.

Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually bulk-ban.

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>",
      "user_ids": "<user_ids>"
    },
    "name": "members_bulk_ban"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesGuild to ban from
user_idsYesUsers to ban (1-200 per call)
__confirmNoSet true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned.
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)
delete_message_secondsNoDelete each user's messages from the last N seconds (0..604800 = up to 7 days)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes further: it warns the action is irreversible without a manual unban, documents the partial-failure semantics (Discord returns 200 with both success and failure arrays), and spells out the two-factor gate of __confirm:true plus MCP_DRY_RUN=false. That is substantial behavior beyond what structured fields convey.

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?

Labeled sections (Purpose / When to use / When NOT to use / Returns / Security) with the destructive warning front-loaded in bold. Every sentence carries actionable content; the only mild duplication is the batch size, which appears once in Purpose and once in the schema.

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 destructive, gated, open-world bulk mutation, the description covers risk, irreversibility, alternative routing, authorization mechanics, and partial-failure outcomes. The Returns section adds nuance about partial failure even though an output schema exists, so nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the Security section explains the interaction between __confirm and the server-level MCP_DRY_RUN flag and what happens if the flag is not set (DRY_RUN_PREVIEW), which is cross-parameter semantics the schema only hints at. It also restates the 1-200 batch bound at the description level, reinforcing the maxItems constraint.

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 ('Ban many users at once') plus the batch bound (1-200 per call), and immediately names the sibling it is not ('Single user → use members_ban'). The agent can distinguish this from members_ban without opening either schema.

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

Usage Guidelines5/5

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

Provides explicit when-to-use ('mass moderation (raid response)') and when-not-to-use with a named alternative routing rule to members_ban for single-user cases. Nothing about selection is left to inference.

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