Skip to main content
Glama
669px

Dc-MCP

by 669px

discord_set_role_permissions

Set a role's permissions to a new list by specifying the role ID and permitted actions. Provides confirmation when required.

Instructions

Replace a role's permissions. Requires confirm=true when confirmation is enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNo
confirmNo
role_idYes
guild_idNo
permissionsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

'Replace' is a meaningfully transparent signal: it implies the existing permission set is overwritten, not merged. The mention of confirm=true also surfaces a safety guard. However, with no annotations, it does not disclose side effects, authorization expectations, or what happens to unlisted permissions, so the behavioral disclosure is only partial.

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 short sentences, no filler, and the core behavior is front-loaded before the confirmation caveat. Every part earns its place.

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?

The description is minimally viable: an agent can infer that this overwrites permissions and may need a confirm flag. But it lacks context about when confirmation is enabled, what permission strings are allowed, and how the optional parameters behave. The presence of an output schema helps, but the five-parameter surface still needs more explanation.

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

Parameters2/5

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

With 0% schema description coverage, the description should compensate for the five parameters, but it only loosely hints at role_id and permissions through 'a role's permissions'. It does add meaning to confirm by requiring true when confirmation is enabled, but leaves permission string format, reason, and guild_id behavior entirely unexplained.

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 uses a clear verb and resource: 'Replace a role's permissions', so an agent can identify this as a destructive permission write on a role. It also surfaces the confirmation requirement. It does not explicitly contrast with sibling tools like discord_get_role_permissions or discord_set_channel_permissions, so it stops short of full differentiation.

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?

No guidance is given for when to choose this tool over the many role/channel permission siblings. It does not mention prerequisites like needing a guild_id or role to exist, and the phrase 'when confirmation is enabled' is vague. The description carries no context for tool selection beyond naming the operation.

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/669px/Dc-MCP'

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