Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

role_modify

Modify a Discord role's name, color, permissions (replace or add/remove), hoist, mentionable status, position, or icon to update server access and organization.

Instructions

Change a role: name, color, permissions (replace) or add/remove_permissions, hoist, mentionable, position (higher = above), icon.

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

Input Schema

NameRequiredDescriptionDefault
botNo
nameNo
roleYes
colorNo
guildNo
hoistNo
reasonNo
positionNo
icon_pathNo
mentionableNo
permissionsNo
add_permissionsNo
remove_permissionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value with the replace-vs-add/remove distinction and 'position (higher = above)', but it omits the partial-update semantics (are unlisted fields preserved?) and the 'reason' audit-log parameter, both material for a 13-parameter mutation.

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 dense sentence with the verb and the changeable fields front-loaded and zero filler. The parenthetical asides are efficient, though 'icon' versus the schema's 'icon_path' is a small naming mismatch an agent must resolve.

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 13-parameter mutation with no output schema and only hint-level annotations, the description covers the core fields but leaves the required 'role' identifier format, guild/bot scoping, and the reason parameter unexplained, and says nothing about what is returned or how failures surface.

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%, so the description must carry all parameter meaning. It names 9 of 13 parameters, but only as bare labels: no color format (hex?), no permission identifier syntax (names vs. integers), and it silently drops guild, bot, and reason entirely. It compensates partially for the coverage gap but leaves format and scoping questions unanswered.

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 ('Change') and resource ('role') and enumerates the mutable fields (name, color, permissions, hoist, mentionable, position, icon), which is enough to separate it from role_create and role_delete. It does not explicitly name those siblings as alternatives, so it stops just short of a 5.

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 parenthetical 'permissions (replace) or add/remove_permissions' hints that there are two permission-editing modes, which is the main usage decision an agent faces here. However, it never says the modes are mutually exclusive, never says unspecified fields are left unchanged, and gives no conditions for choosing this over role_create/role_delete.

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