Skip to main content
Glama
TinyGecko920

discord-provisioner-mcp

by TinyGecko920

Set channel permissions

set_channel_permissions

Set or replace permission overwrites for a role or member on a Discord channel to control access, such as denying @everyone view and allowing specific roles.

Instructions

Set the permission overwrite for a role or member on a channel. REPLACES any existing overwrite for that target on that channel. The standard private-channel pattern: deny VIEW_CHANNEL for the guild's @everyone role (target_id = guild id, target_type = role) and allow VIEW_CHANNEL for the roles that should see it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
denyNo
allowNo
target_idYesRole id or member id. The @everyone role id equals the guild id.
channel_idYes
target_typeYes
Behavior4/5

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

The description discloses a critical behavioral trait—that the operation REPLACES any existing overwrite—which goes beyond the annotations. It also clarifies the relationship between target_id and the @everyone role. However, it does not mention required permissions or return behavior.

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?

The description is three concise sentences: the primary action, the replacement warning, and a practical pattern. It is front-loaded and contains no fluff or repetition.

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 mutation tool with no output schema, the description covers the essential behavior (replacing overwrites) and a common use case. It could be more exhaustive about available permission names and the effect of omitting allow/deny, but it is sufficient for an agent to understand the core functionality and invoke the tool correctly in many scenarios.

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?

With only 20% schema coverage, the description compensates by explaining how target_id and target_type work together for the @everyone role and by giving an example of deny/allow values (VIEW_CHANNEL). It clarifies the practical use of the parameters even though it does not individually describe each field.

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?

The description clearly states it sets a permission overwrite for a role or member on a channel, using a specific verb and resource. It also explicitly mentions that it REPLACES existing overwrites, which distinguishes it from sibling tools like create_role or delete_channel.

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?

It provides a concrete, actionable pattern for creating private channels by denying VIEW_CHANNEL to @everyone and allowing it for specific roles. While it does not explicitly discuss when not to use the tool or name alternatives, there is no direct sibling tool for permissions, so the guidance is adequate.

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

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