Skip to main content
Glama
discord-mcp

discord-mcp

by zongwei-tang

delete_channel_permission

Destructive

Remove a role or member permission overwrite from a Discord channel. Use it to revoke channel-specific access for a user or role by deleting their overwrite.

Instructions

Remove a role/member permission overwrite from a channel. [DELETE /channels/{channel_id}/permissions/{overwrite_id}]

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>",
      "overwrite_id": "<overwrite_id>"
    },
    "name": "delete_channel_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoReason (shown in the audit log)
channel_idYesChannel ID (text, voice, thread, forum or DM channel)
overwrite_idYesRole ID or user ID that the permission overwrite targets

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the destructive nature is covered. The description adds the concrete endpoint but omits useful context such as required permissions or whether permissions fall back to inherited/category defaults after removal—crediting the annotations, a 3 fits.

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 compact sentences, front-loaded with the action and resource, then the endpoint for precision. No wasted wording.

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 three-parameter destructive delete with full schema coverage and rich annotations, the description plus structured fields are nearly sufficient. The main missing piece is a note on permission prerequisites or post-deletion inheritance behavior, which an agent might want before invoking a destructive tool.

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%, so channel_id, overwrite_id and reason are already fully documented, including the audit-log meaning of reason. The description adds no parameter-level detail beyond the schema baseline.

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?

Names a specific verb (Remove) and resource (role/member permission overwrite on a channel) plus the underlying endpoint, so the operation is unambiguous. It doesn't explicitly contrast with set_channel_permission, but the add/remove distinction is inferable from the wording.

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?

There is no explicit guidance on when to use this versus set_channel_permission (to modify an existing overwrite) or when removal is preferred. Usage is only implied by the verb 'Remove'.

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