Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

ban_add

Destructive

Ban one or more Discord users by ID, mention, or name, including users not in the server, with an optional reason and recent message deletion window.

Instructions

Ban one or more users (ids, mentions or member names); works for users not in the server too. delete_messages = how much of their recent history to delete ("1h", "1d", up to "7d").

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": {
      "users": "<users>"
    },
    "name": "ban_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
usersYes
reasonNo
delete_messagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructive=true and openWorld=true, so the bar is lower, yet the description still adds real behavioral value: it discloses that the target need not be a guild member and that the operation can destroy a bounded window of message history, with the accepted format and 7-day ceiling. It stops short of stating permission requirements, audit-log behavior, or whether the ban 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?

Two sentences with zero filler, front-loading the core action and scope before the optional history-deletion detail. The 'delete_messages = ...' phrasing is terse but unambiguous and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, five-parameter mutation with no annotations depth on permissions and no output schema, the description covers the highest-risk aspect (irreversible message deletion) but leaves the agent guessing about permissions, the reason field, and the guild/bot targeting parameters. Adequate but with clear gaps given 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 description coverage is 0% across five parameters, so the description is the only source of meaning and it explains two of them well: the accepted identifier forms for 'users' and the duration syntax ('1h', '1d', up to '7d') for 'delete_messages'. The bot, guild, and reason parameters receive no explanation at all, leaving a substantial gap.

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?

States a specific verb and resource ('Ban one or more users') and clarifies accepted identifier formats (ids, mentions, member names) plus the preemptive-ban case for non-members. The verb alone makes the ban_remove sibling distinction obvious, though it doesn't name or contrast with it.

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?

Implies usage through the non-member clarification and the delete_messages hint, which tells the agent this is the tool for moderation bans with optional history purging. There is no explicit when-to-use framing, no mention of required permissions, and no pointer to ban_remove or bans_list for the inverse/listing 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