Skip to main content
Glama

Archive a channel

archive_channel
Idempotent

Use this when the user wants a channel kept read-only in an Archives category instead of deleted. Do not use for deleting it; use delete_channel. 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": "archive_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.8/5.0
Behavior5/5

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

Annotations say readOnlyHint=false, idempotentHint=true, destructiveHint=false; description adds important beyond-annotation behavior: the change is only queued in a pending card and nothing changes on Discord until apply_card. This is exactly the kind of context annotations can't carry.

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 clauses, each earning its place: usage, exclusion/alternative, and the deferred-application behavior. Front-loaded.

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?

Covers purpose, alternative, and the pending-card/apply workflow for a 2-parameter mutation. No output schema, but not needed here. Minor gap: no explicit mention of what happens if a channel is already archived (idempotency is in annotations).

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

Parameters4/5

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

Schema coverage is 100% with descriptions pointing to list_my_servers for guild_id. Description adds little parameter detail (channel is a name string, not ID — schema says 'channel name'); no extra meaning beyond schema, but baseline 3-4 appropriate.

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?

States a specific verb+resource (archive a channel) and clarifies the outcome: kept read-only in an Archives category rather than deleted. Distinguishes from delete_channel by name.

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?

Explicit when-to-use ('user wants a channel kept read-only in an Archives category instead of deleted') and when-not ('Do not use for deleting it; use delete_channel').

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