Skip to main content
Glama

Edit a channel

edit_channel
Idempotent

Use this when the user wants to rename a channel, change its topic, age restriction or slow mode, or move it to another category or to the top or bottom. Do not use for channel permissions; use set_channel_permissions. 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": "edit_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsfwNoAge-restricted channel.
topicNoNew topic (null removes it).
channelYesThe channel name.
categoryNoMove to this category (null: no category).
guild_idYesDiscord server ID, as returned by list_my_servers.
new_nameNoNew name.
positionNoPlace at the top or bottom of its category.
slowmode_secondsNoSlow mode, 0 to 21600 seconds (0 turns it off).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false; the description adds behavior annotations cannot express, namely that edits are staged on a pending card for this server and nothing changes on Discord until apply_card. That is the single most consequential fact for an agent deciding whether calling this is safe or immediate.

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 sentences, front-loaded with the use case, then the exclusion, then the staging caveat. No filler, and each sentence carries a distinct decision-relevant fact.

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 an 8-parameter mutation tool with no output schema, this covers what matters: which fields are editable, what not to use it for, and that the effect is deferred until apply_card. Nothing an agent needs in order to call it correctly appears to be missing.

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%, so the baseline is 3; the description earns extra by mapping user-intent language to specific fields ('rename' to new_name, 'age restriction' to nsfw, 'slow mode' to slowmode_seconds, 'top or bottom' to position). It stops short of adding format or edge-case detail beyond what the schema already documents.

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 (edit) and resource (channel) and then enumerates the exact editable facets: rename, topic, age restriction, slow mode, category move, position. It explicitly separates itself from set_channel_permissions, so an agent can route between the two without opening either 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?

Gives both sides of the routing decision: 'Use this when the user wants to...' and 'Do not use for channel permissions; use set_channel_permissions.' It also supplies the follow-up condition, that the change lands only after apply_card, which tells the agent what to do next.

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