Skip to main content
Glama
OrygnsCode

Omnicord - Discord server management MCP for AI agents

Set channel permissions

set_channel_permissions

Set permission overwrites on a channel to explicitly allow or deny specific permissions for a role or member.

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
denyNoPermissions to deny.
allowNoPermissions to allow.
guildNoGuild (server) name or ID. Omit to use the default guild.
targetYesRole or member name or ID.
channelYesChannel name or ID.
Behavior3/5

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

Annotations indicate a non-read-only, non-destructive operation. The description adds the conceptual detail of 'explicitly allowed and denied' permissions, but does not disclose important behavioral traits such as whether it overwrites existing overwrites, whether it requires manage_permissions, or what the success/failure response looks like. This leaves some ambiguity for a mutation tool.

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 concise sentences with no fluff. The first sentence states the action and target, the second gives a concrete example of accepted values. Every word adds value.

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?

Given the tool's simplicity, the description plus schema and annotations are mostly adequate. It lacks return-value information and prerequisites, but the core behavior is clear and the tool is well-differentiated from siblings. Slightly more detail on side effects would make it a 5.

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?

The input schema covers all parameters with descriptions, so the baseline is 3. The description adds minimal extra value: it clarifies that allow/deny are explicit lists and provides example permission names, but the schema already conveys the meaning. No new parameter semantics beyond 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's purpose: 'Set a permission overwrite on a channel for one role or member' and distinguishes it from get/clear/lock/unlock permission tools by specifying it sets allowed/denied permissions. The verb 'set' and resource 'channel permission overwrite' are specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage (when you want to set a permission overwrite), but does not explicitly state when to use it versus alternatives like clear_channel_permissions, lock_channel, or explain_permissions. There is no mention of prerequisites or conditions that would rule it in or out, though the purpose is clear enough for basic selection.

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