Skip to main content
Glama

Delete a channel

delete_channel
Idempotent

Use this when the user wants a channel deleted. The card must then be confirmed on aiguild.me. Do not use for a category; use delete_category. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.

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": {
      "guild_id": "<guild_id>",
      "channel": "<channel>"
    },
    "name": "delete_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYesThe channel name.
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

The description discloses behavior the annotations cannot convey: the deletion is staged into a pending card, requires confirmation on aiguild.me, and has no effect on Discord until apply_card. This also reconciles the seemingly odd destructiveHint=false with a delete operation. It stops short of saying what happens if the channel name is ambiguous or missing, but the staging model is clearly explained.

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?

Three short sentences, each carrying distinct information: trigger, exclusion, and staging/confirmation behavior. The ordering is front-loaded with the primary purpose and contains no filler.

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?

For a two-parameter mutation with full schema coverage and no output schema, the description covers purpose, alternative, and the deferred-commit workflow that an agent must know to call it correctly. Nothing material is missing.

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 both parameters are already documented, including the guild_id reference to list_my_servers. The description adds no extra meaning about how the channel is matched (name vs. ID, exactness), so the baseline 3 applies.

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 and resource ("the user wants a channel deleted") and immediately distinguishes the tool from its closest sibling by naming delete_category for categories. An agent can identify the action and its boundary without opening the schema.

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?

It gives an explicit when-to-use trigger, an explicit exclusion with the correct alternative ("Do not use for a category; use delete_category"), and the downstream workflow step (confirm on aiguild.me, then apply_card). Nothing about routing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources