Skip to main content
Glama
grooving6

discord-mcp

by grooving6

Set channel permission

set_channel_permission

Configure permission overwrites for a role or member on a channel, allowing, denying, or resetting specific permissions like ViewChannel and SendMessages.

Instructions

Allow or deny specific permissions for a role or member on one channel (a permission overwrite). Examples: deny "ViewChannel" for @everyone to make a channel private; allow "ViewChannel" and "SendMessages" for a Team role. This merges with any existing overwrite. Use reset to clear a permission back to inherited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
denyNoPermissions to deny.
allowNoPermissions to allow, e.g. ["ViewChannel","SendMessages"].
resetNoPermissions to clear back to inherited (neither allowed nor denied).
reasonNoReason recorded in the audit log.
serverNoServer (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set.
targetYesRole or member to set permissions for (name, id, @mention, or @everyone).
channelYesChannel to change (name or id). May be a category.
target_typeNoDisambiguate when a role and member share a name. Default: auto (role first).
Behavior3/5

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

With no annotations, the description carries full burden. It states that the tool 'merges with any existing overwrite', which is helpful. But it omits important behavioral details such as required permissions (e.g., Manage Channels), immediate effect of changes, or handling of invalid permission names.

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?

Three sentences, no wasted words, key information front-loaded. Every sentence earns its place: purpose, examples, and a usage tip for reset.

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?

For a tool with 8 parameters and no output schema, the description covers main purpose, examples, and merge behavior. Could mention that permission names are Discord-specific enums and that errors occur for invalid input, but overall fairly complete.

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 coverage is 100% and parameter descriptions are adequate. The description adds examples for allow/deny/reset but does not provide significant new semantic information beyond what the schema already contains. Baseline 3 is appropriate.

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?

Description uses specific verb 'Allow or deny specific permissions for a role or member on one channel' and provides concrete examples (deny 'ViewChannel' for @everyone, allow for Team role). Clearly distinguishes from siblings like list_channel_permissions and remove_channel_permission.

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?

The description explicitly mentions when to use 'reset' to clear a permission back to inherited. However, it does not provide when not to use this tool or explicitly name alternatives like remove_channel_permission, leaving some ambiguity.

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/grooving6/discord-mcp'

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