Skip to main content
Glama

Set channel permissions

set_channel_permissions

Set explicit permission overrides on a Discord channel for a specific role or member, defining which permissions to allow or deny.

Instructions

Set a permission overwrite on a channel for one role or member: which permissions are explicitly allowed and which are denied. Permission names like manage_messages or send_messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelYesChannel name or ID.
guildNoGuild (server) name or ID. Omit to use the default guild.
targetYesRole or member name or ID.
allowNoPermissions to allow.
denyNoPermissions to deny.
Behavior3/5

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

Annotations indicate it's not read-only and not destructive. The description adds minimal behavioral context beyond setting overwrites; it doesn't mention that it overwrites existing permissions for the target or any restrictions like needing 'manage_permissions' permission.

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 description is two sentences, to the point, with no fluff. It could be improved by front-loading the essential action, which it does.

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 explains the core functionality but lacks details on behavior (e.g., overriding existing overwrites, effect on member permissions) and no output schema. For a 5-parameter tool, it is minimally 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%. The description provides examples of permission names but doesn't explain parameter format or valid values in detail. It adds marginal value over the schema.

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 the tool sets a permission overwrite on a channel for a specific role or member, listing allowed and denied permissions. It distinguishes from sibling tools like clear_channel_permissions and get_channel_permissions.

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 (e.g., clear_channel_permissions or explain_permissions). No context on prerequisites or typical use cases.

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/OrygnsCode/Omnicord'

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