Skip to main content
Glama

Give or remove a role for many members (admin)

discord_admin_bulk_roles
Destructive

Add or remove one role for a list of user IDs or for everyone holding another role, with per-member results and an optional audit-log reason.

Instructions

Add or remove one role for a list of members (user IDs), or for everyone who currently has another role Reports each member's result.

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": "<role>",
      "action": "<action>"
    },
    "name": "discord_admin_bulk_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesRole to add or remove
actionYes
reasonNoReason, recorded in Discord's audit log
user_idsNo
members_with_roleNoOr: everyone who has this role

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds that results are reported per member, but says nothing about permission requirements, rate limits, partial-failure behavior, or how the two targeting modes interact if both are supplied.

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?

Two short sentences, front-loaded with the action and resource before the targeting nuance; nothing wasted. Minor polish issues only (missing terminal period, slightly cramped phrasing of the second mode).

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, open-world bulk mutation with no output schema, the description should cover failure semantics and preconditions such as manage-roles permission. It covers the targeting model and per-member reporting but leaves those operational gaps for the agent to discover empirically.

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

Parameters4/5

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

Schema coverage is 60%, and the description compensates by explaining the relationship between user_ids and members_with_role ('or: everyone who has this role'), which the schema presents only as two parallel properties. It does not address which parameter wins if both are provided.

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 pair (add/remove) and resource (one role) plus both targeting modes, so the scope is unambiguous. It does not explicitly contrast itself with the sibling discord_admin_set_member_roles, so a reader must infer the bulk distinction from 'list of members'.

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 description implies two usage modes — an explicit list of user IDs, or everyone currently holding another role — which is genuinely helpful selection guidance. It gives no when-not-to-use guidance and never names the alternative tool for single-member role changes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.