Skip to main content
Glama
discord-mcp

discord-mcp

discord_delete_role

Delete a Discord server role by ID or name while respecting role hierarchy protections. Use it to remove obsolete or unwanted roles through an MCP-enabled Discord workflow.

Instructions

Delete a role from the server (hierarchy protected).

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": {
      "role_id": "<role_id>"
    },
    "name": "discord_delete_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_idYesRole ID or name to delete.
guild_idNoOptional guild ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description must carry the full behavioral burden. It signals a destructive mutation and adds genuinely useful context with 'hierarchy protected' (roles at or above the bot cannot be deleted), but says nothing about irreversibility, whether members holding the role are affected, required permissions, or error behavior when the hierarchy check fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the operation front-loaded and a compact constraint in parentheses; nothing is redundant. It is arguably undersized for a destructive operation, but no wording is wasted.

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

Completeness2/5

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

For an irreversible delete with no annotations and no output schema, the definition should say what is lost, what permissions are required, and how hierarchy failures manifest. The one-word constraint hint leaves real gaps for an agent deciding whether it is safe to invoke.

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%, so both role_id and guild_id, including the ID-or-name flexibility, are already documented in the schema. The description adds no meaning beyond that, which is the baseline 3 when the schema does the heavy lifting.

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 gives a specific verb and resource ('Delete a role from the server'), so the agent knows exactly what changes. However, it never distinguishes this from the sibling discord_remove_role, so an agent could pick the wrong tool when the task is to detach a role from a member rather than delete the role itself.

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

Usage Guidelines2/5

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

There is no guidance on when to use this instead of discord_remove_role, edit_role, or assign_role, and no stated prerequisites such as needing Manage Roles or a role positioned below the bot's highest role. The only contextual hint is the parenthetical 'hierarchy protected', which describes a constraint rather than steering the choice of tool.

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