discord_set_role_position

Move a role up or down in the server

Server Discord @pasympa/discord-mcp
Category Write
Risk class Medium
Parameters 00 required

What discord_set_role_position does on Discord

AI agents use discord_set_role_position to create or update resources in Discord — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Discord environment.

Why discord_set_role_position needs a policy

Repositioning a role in the server hierarchy is a reversible modification (Write), but carries high severity because role position determines permission precedence — moving a role higher can grant it elevated permissions over other roles and members, potentially enabling privilege escalation across the entire server.

From the tool's definition Move a role up or down in the server

Questions about discord_set_role_position

What does the discord_set_role_position tool do? +

Move a role up or down in the server. It is categorised as a Write tool in the Discord MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on discord_set_role_position? +

Register the Discord MCP server in PolicyLayer and add a rule for discord_set_role_position: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Discord. Nothing to install.

What risk level is discord_set_role_position? +

discord_set_role_position is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit discord_set_role_position? +

Yes. Add a rate_limit block to the discord_set_role_position rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block discord_set_role_position completely? +

Set action: deny in the PolicyLayer policy for discord_set_role_position. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides discord_set_role_position? +

discord_set_role_position is provided by the Discord MCP server (@pasympa/discord-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.