Skip to main content
Glama
discord-mcp

discord-mcp

discord_set_channel_permissions

Set explicit allow or deny permission overrides for a role or member on a Discord channel, giving you control over who can view, send messages, or react in that channel.

Instructions

Set explicit permission overrides (allow/deny) for a role or user on a channel.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channel_id": "<channel_id>",
      "target_id": "<target_id>"
    },
    "name": "discord_set_channel_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
denyNoPermissions to DENY (e.g. ["SendMessages", "AddReactions"]).
typeNoWhether target is a role or member (default: role).
allowNoPermissions to ALLOW (e.g. ["ViewChannel", "SendMessages"]).
guild_idNoOptional guild ID.
target_idYesTarget Role ID, Role name (e.g. "@everyone", "Member"), or User ID.
channel_idYesChannel ID or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a mutation tool. It does not disclose required bot permissions, whether existing overrides are replaced or merged when allow/deny are omitted, whether the operation is reversible, or any rate-limit/confirmation expectations.

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?

A single front-loaded sentence that states the operation and its scope with no filler or redundancy. Nothing is wasted and the key concept (explicit overrides on a channel) arrives immediately.

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?

For a six-parameter mutation tool with no annotations and no output schema, one sentence is thin. It omits permission prerequisites and overwrite/merge semantics that an agent needs to invoke it correctly, even though the input schema itself is well documented.

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 description coverage is 100%, so all six parameters (including the role/member enum and allow/deny arrays with examples) are already documented in the schema. The description only restates the allow/deny concept and adds no extra meaning beyond what the schema provides, so the baseline 3 applies.

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 gives a specific verb ('Set'), a specific resource ('explicit permission overrides'), and the target types ('role or user on a channel'). It clearly states what the tool does, though it does not name or differentiate itself from adjacent siblings such as discord_lockdown_channel or discord_assign_role.

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?

Usage is only implied by the phrase 'explicit permission overrides' — an agent can infer this is for channel-level overrides rather than server-wide role permissions. There is no explicit when-to-use guidance, no mention of prerequisites (e.g. Manage Permissions), and no stated alternatives or exclusions.

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

Deploy Server

Other Tools