Skip to main content
Glama
cappyeo

discord-mcp

channels_delete

DestructiveIdempotent

Delete a Discord channel or close a DM permanently. Destructive and irreversible; requires confirmation.

Instructions

Purpose: Delete a channel (or close a DM). DESTRUCTIVE - IRREVERSIBLE.

When to use:

  • Tear down stale or compromised channels.

When NOT to use:

  • Just hiding from a role → use channels_modify_permissions.

Returns: {deleted, channel_id}.

Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
__confirmNoSet true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned.
channel_idYesChannel to delete (IRREVERSIBLE)
audit_reasonNoReason recorded in audit log (X-Audit-Log-Reason header)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the destructiveHint annotation, the description adds crucial behavioral context: irreversibility, the ConfirmRequired gate, the __confirm:true requirement, and the MCP_DRY_RUN=false condition for actual deletion. It also states the return shape. This enriches what annotations already convey without contradicting them.

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?

The description is well-structured with clear headings (Purpose, When to use, When NOT to use, Returns, Security) and every line adds value. It is compact for a destructive tool and front-loads the critical warning.

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 the presence of an output schema, comprehensive annotations, and sibling context, the description still supplies the necessary operational details: the destructive confirmation flow, dry-run behavior, return value, and an explicit alternative. This is complete for a high-risk mutation 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 description coverage is 100%, so the baseline is 3. The description only reiterates the __confirm behavior that the schema already documents; it adds no new parameter-level semantics. It does not explain audit_reason beyond 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 opens with a specific verb+resource pair: 'Delete a channel (or close a DM).' It is immediately distinguishable from siblings like channels_modify and channels_delete_permissions because it names the destructive action and notes the alternative for permission hiding.

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

Usage Guidelines5/5

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

Contains an explicit 'When to use' section ('tear down stale or compromised channels') and a 'When NOT to use' section that names the exact alternative tool (channels_modify_permissions). This is exactly the kind of decision guidance the rubric calls for.

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

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