Skip to main content
Glama

discord_lock_channel_permissions

Idempotent

Reset a channel's permission overwrites to match its parent category. Requires Manage Roles.

Instructions

Reset a channel's permission overwrites to exactly match its parent category (Discord's 'sync permissions'). The channel must be inside a category. Requires the Manage Roles permission. Returns a confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYesID (snowflake) of the channel to sync with its parent category.
Behavior4/5

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

Annotations already provide idempotentHint=true, destructiveHint=false, and readOnlyHint=false. The description adds that the operation resets permissions, returns a confirmation, and requires Manage Roles. No contradiction with annotations; it enriches the behavioral context beyond what annotations offer.

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 sentences: first states the action with a parenthetical, second adds constraints and result. Every sentence earns its place; no wasted words. Efficient and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a simple single-parameter tool with no output schema, the description covers the action, prerequisites, permission requirement, and return value. It is self-contained and sufficient for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter channel_id has 100% schema coverage with a description. The tool description adds 'ID (snowflake) of the channel to sync with its parent category', clarifying its role in the sync operation. This adds meaning beyond the schema, which already describes the ID.

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 clearly states 'Reset a channel's permission overwrites to exactly match its parent category', specifying a specific verb (reset/sync) and resource (channel permissions). It distinguishes from siblings like discord_reset_channel_permissions and discord_copy_permissions by the sync behavior, but does not explicitly name alternatives. Clear but lacks explicit sibling differentiation.

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 provides context for use: 'The channel must be inside a category. Requires the Manage Roles permission.' It implies when to use (sync permissions) but does not explicitly state when not to use or suggest alternative tools. Adequate but no exclusionary guidance.

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

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