Skip to main content
Glama
TheStreamCode

Discord Management MCP

Set Discord channel permissions

discord_set_channel_permissions
DestructiveIdempotent

Set explicit channel permission overwrites for a role or member by defining allowed and denied permissions per channel.

Instructions

Set explicit channel permission overwrites for a role or member.

Input Schema

NameRequiredDescriptionDefault
denyYes
allowYes
reasonNo
confirmNo
backupIdNo
targetIdYes
channelIdYes
targetTypeYes
allowWithoutBackupNo

Output Schema

NameRequiredDescriptionDefault
okYes
nameNo
noteNo
typeNo
errorNo
actionYes
statusNo
clearedNo
guildIdNo
updatedNo
targetIdNo
channelIdNo
positionsNo
targetTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this as destructive, idempotent, open-world, and not read-only, so the agent knows the safety profile. The description adds little beyond identifying overwrite targets, and does not explain whether overwrites replace existing settings, how allow/deny arrays are applied, or what backup/confirm safeguards do. It does not contradict the annotations.

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?

The single sentence is front-loaded and free of filler, which is structurally efficient. However, it is arguably too terse for a nine-parameter destructive operation, so brevity comes at the cost of missing operational detail.

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

Completeness2/5

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

Given nine parameters, five of them required, 0% schema description coverage, and destructive semantics, the one-sentence description is not complete enough. An output schema exists, so return values need not be explained, but the description should do more to cover how allow/deny, targetType, confirmation, backup, and audit reason interact.

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?

Schema description coverage is 0%, and the description only indirectly maps to a few parameters by mentioning 'channel', 'role or member', and 'permission overwrites'. It does not explain the required allow/deny permission arrays or the optional reason, confirm, backupId, and allowWithoutBackup parameters, leaving most semantics undocumented.

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 specific verb ('Set') and resource ('explicit channel permission overwrites') and identifies the target as a role or member. It is clear what the tool does, though it does not explicitly differentiate itself from related channel or role permission tools in the sibling list.

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?

The description provides no guidance on when to use this tool versus alternatives such as discord_update_role or discord_update_channel. It also omits prerequisites such as required permissions or when an overwrite should be preferred over role-level changes.

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