Skip to main content
Glama

discord_edit_channel

Idempotent

Updates a Discord channel's name, topic, slowmode, or NSFW flag by changing only the fields you provide; requires Manage Channels permission.

Instructions

Update a channel's name, topic, slowmode, or NSFW flag. Only provided fields change. This tool sends topic and slowmode for plain text channels only; on every other type, announcement channels included, it ignores them without an error. Requires the Manage Channels permission. Returns a confirmation.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "discord_edit_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew channel name (max 100 characters).
nsfwNoMark (true) or unmark (false) the channel as age-restricted (NSFW).
topicNoNew topic/description (text channels only, not announcement).
slowmodeNoPer-user message cooldown in seconds, 0–21600. 0 disables slowmode (text channels only, not announcement).
channel_idYesID (snowflake) of the channel to edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.4.0
    • changedInput schema / properties / slowmode / description
      Previous value: -"Per-user message cooldown in seconds, 0–21600. 0 disables slowmode."New value: +"Per-user message cooldown in seconds, 0–21600. 0 disables slowmode (text channels only, not announcement)."
    • changedInput schema / properties / topic / description
      Previous value: -"New topic/description (text channels only)."New value: +"New topic/description (text channels only, not announcement)."
  2. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed4 schema fields changedv2.0.0
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / slowmode / maximum
      Added value: +21600
    • addedInput schema / properties / slowmode / minimum
      Added value: +0
    • changedInput schema / properties / slowmode / type
      Previous value: -"number"New value: +"integer"
  4. Changed5 schema fields changedv1.6.0
    • addedInput schema / properties / channel_id / description
      Added value: +"ID (snowflake) of the channel to edit."
    • addedInput schema / properties / name / description
      Added value: +"New channel name (max 100 characters)."
    • changedInput schema / properties / nsfw / description
      Previous value: -"Mark channel as NSFW."New value: +"Mark (true) or unmark (false) the channel as age-restricted (NSFW)."
    • changedInput schema / properties / slowmode / description
      Previous value: -"Slowmode in seconds (0 to disable)."New value: +"Per-user message cooldown in seconds, 0–21600. 0 disables slowmode."
    • addedInput schema / properties / topic / description
      Added value: +"New topic/description (text channels only)."
  5. Addedv1.5.0
  6. Removedv1.0.0
  7. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), it discloses that topic and slowmode are silently ignored on non-text channel types including announcements, that Manage Channels is required, and that a confirmation is returned. Silent-ignore behavior and the auth requirement are exactly the kind of traits annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with what changes and the partial-update rule, then constraints, then permissions and return value. 'Returns a confirmation' is thin but does useful work given there is no output schema; nothing else is wasted.

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?

For a 5-parameter mutation with no output schema, the description covers mutation scope, channel-type limitations, permission prerequisite, and return shape. It omits failure modes (invalid channel ID, permission-denied errors) and rate-limit behavior, which keeps it from being fully complete.

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 all five parameters (including the snowflake pattern and slowmode bounds) are already documented. The description adds the operational nuance that out-of-scope params are ignored rather than erroring, but gives no extra syntax or format detail beyond the schema, so the baseline of 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?

States a specific verb and resource plus the exact editable fields (name, topic, slowmode, NSFW flag), which clearly separates it from siblings like discord_edit_role, discord_edit_message, or discord_move_channel without needing their schemas.

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

Usage Guidelines4/5

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

Adds real selection context: 'Only provided fields change' (partial-update semantics) and 'Requires the Manage Channels permission,' which tells the agent the prerequisite. It does not name alternative tools or explicit when-not-to-use conditions, so it stops short of a 5.

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

Deploy Server

Other Tools