Skip to main content
Glama
cj-vana

Discord Server Setup MCP

by cj-vana

reorder_roles

Reorders Discord server roles by priority. Provide role IDs in order from most to least important, or specify exact positions.

Instructions

Reorders roles in the hierarchy. Preferred: pass orderedRoleIds as an array of role IDs from MOST important (top) to least important (bottom) — the server computes the raw Discord positions for you. Advanced: pass rolePositions with explicit numeric positions (higher = more powerful). Provide exactly one of the two.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guildIdNoGuild ID or name. Defaults to the currently selected guild.
rolePositionsNoAdvanced: explicit [{roleId, position}] with raw Discord positions (higher = more powerful). Provide this OR orderedRoleIds, not both.
orderedRoleIdsNoRole IDs ordered from most important (index 0 = top) to least important. Positions are computed automatically. Provide this OR rolePositions, not both.
Behavior3/5

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

Discloses reordering behavior and how positions are computed for each method. Missing information on required permissions (Manage Roles) and potential side effects on role hierarchy. No annotations provided.

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 concise sentences with clear structure. First sentence states purpose, second explains the two methods with guidance. No wasted words.

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

Completeness4/5

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

Adequately covers the main functionality and parameter choices. Lacks mention of return value or required permissions. Without output schema, a bit more detail on what happens after reordering would improve completeness.

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?

Adds meaningful context beyond schema: explains the difference between the two mutually exclusive parameters, the preferred usage, and that orderedRoleIds computes positions automatically.

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?

Clearly states it reorders roles and distinguishes from sibling tools like create_role, delete_role, edit_role by focusing on reordering. The two methods (orderedRoleIds and rolePositions) are explicitly described.

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

Usage Guidelines4/5

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

Provides clear guidance on using orderedRoleIds as preferred method and rolePositions as advanced, and to provide exactly one. However, does not explicitly state when not to use this tool vs edit_role for single role changes.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cj-vana/discord-setup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server