Skip to main content
Glama
cappyeo

discord-mcp

channels_list

Read-onlyIdempotent

List all Discord guild channels to discover channel IDs by name, audit layout, permission overwrites, and forum tags.

Instructions

Purpose: List all channels in a Discord guild.

When to use: discover channel IDs by name; audit channel layout, permission overwrites, and forum tags.

Example: {guild_id:"999000999000999000"}

Returns: {channels:[{id,name,type,position,parent_id,nsfw,permission_overwrites?,available_tags?,applied_tags?}], count}. Permission overwrites preserve Discord role/member targets and string allow/deny bitfields. Missing fields stay absent; empty arrays stay empty. Forum/media tags include {id,name,moderated,emoji_id,emoji_name} when returned by Discord.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guild_idYesGuild to list channels for

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "channels": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "applied_tags": {
      -              "description": "Tag IDs applied to a forum/media post, when returned by Discord",
      -              "items": {
      -                "pattern": "^\\d{17,20}$",
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "available_tags": {
      -              "description": "Complete forum/media tags, including IDs, names, moderation and emoji fields, when returned by Discord",
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "emoji_id": {
      -                    "anyOf": [
      -                      {
      -                        "pattern": "^\\d{17,20}$",
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "emoji_name": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "id": {
      -                    "pattern": "^\\d{17,20}$",
      -                    "type": "string"
      -                  },
      -                  "moderated": {
      -                    "type": "boolean"
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "name",
      -                  "moderated",
      -                  "emoji_id",
      -                  "emoji_name"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "id": {
      -              "description": "Discord channel ID (snowflake)",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "nsfw": {
      -              "type": "boolean"
      -            },
      -            "parent_id": {
      -              "anyOf": [
      -                {
      -                  "description": "Discord channel ID (snowflake)",
      -                  "pattern": "^\\d{17,20}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "position": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            },
      -            "type": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "type",
      -            "position",
      -            "parent_id",
      -            "nsfw"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "count": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "channels",
      -      "count"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "channels": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "applied_tags": {
      +              "description": "Tag IDs applied to a forum/media post, when returned by Discord",
      +              "items": {
      +                "pattern": "^\\d{17,20}$",
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "available_tags": {
      +              "description": "Complete forum/media tags, including IDs, names, moderation and emoji fields, when returned by Discord",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "emoji_id": {
      +                    "anyOf": [
      +                      {
      +                        "pattern": "^\\d{17,20}$",
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "emoji_name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "pattern": "^\\d{17,20}$",
      +                    "type": "string"
      +                  },
      +                  "moderated": {
      +                    "type": "boolean"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name",
      +                  "moderated",
      +                  "emoji_id",
      +                  "emoji_name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "description": "Discord channel ID (snowflake)",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "nsfw": {
      +              "type": "boolean"
      +            },
      +            "parent_id": {
      +              "anyOf": [
      +                {
      +                  "description": "Discord channel ID (snowflake)",
      +                  "pattern": "^\\d{17,20}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "permission_overwrites": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "allow": {
      +                    "description": "Discord permission bitfield as a base-10 string (e.g. \"8\" = ADMINISTRATOR).",
      +                    "pattern": "^\\d+$",
      +                    "type": "string"
      +                  },
      +                  "deny": {
      +                    "description": "Discord permission bitfield as a base-10 string (e.g. \"8\" = ADMINISTRATOR).",
      +                    "pattern": "^\\d+$",
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "pattern": "^\\d{17,20}$",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "anyOf": [
      +                      {
      +                        "const": 0,
      +                        "type": "number"
      +                      },
      +                      {
      +                        "const": 1,
      +                        "type": "number"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "type",
      +                  "allow",
      +                  "deny"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "position": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "type": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "type",
      +            "position",
      +            "parent_id",
      +            "nsfw"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "count": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "channels",
      +      "count"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "channels": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "id": {
      -              "description": "Discord channel ID (snowflake)",
      -              "pattern": "^\\d{17,20}$",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "nsfw": {
      -              "type": "boolean"
      -            },
      -            "parent_id": {
      -              "anyOf": [
      -                {
      -                  "description": "Discord channel ID (snowflake)",
      -                  "pattern": "^\\d{17,20}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "position": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            },
      -            "type": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "type",
      -            "position",
      -            "parent_id",
      -            "nsfw"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "count": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "channels",
      -      "count"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "channels": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "applied_tags": {
      +              "description": "Tag IDs applied to a forum/media post, when returned by Discord",
      +              "items": {
      +                "pattern": "^\\d{17,20}$",
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "available_tags": {
      +              "description": "Complete forum/media tags, including IDs, names, moderation and emoji fields, when returned by Discord",
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "emoji_id": {
      +                    "anyOf": [
      +                      {
      +                        "pattern": "^\\d{17,20}$",
      +                        "type": "string"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "emoji_name": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "id": {
      +                    "pattern": "^\\d{17,20}$",
      +                    "type": "string"
      +                  },
      +                  "moderated": {
      +                    "type": "boolean"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "name",
      +                  "moderated",
      +                  "emoji_id",
      +                  "emoji_name"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "description": "Discord channel ID (snowflake)",
      +              "pattern": "^\\d{17,20}$",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "nsfw": {
      +              "type": "boolean"
      +            },
      +            "parent_id": {
      +              "anyOf": [
      +                {
      +                  "description": "Discord channel ID (snowflake)",
      +                  "pattern": "^\\d{17,20}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "position": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "type": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "type",
      +            "position",
      +            "parent_id",
      +            "nsfw"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "count": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "channels",
      +      "count"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observedv0.22.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real semantic behavior beyond that: permission overwrites preserve Discord role/member targets with string allow/deny bitfields, missing fields stay absent, and empty arrays stay empty. It still does not mention required Discord permissions or any auth prerequisite.

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?

Front-loaded markdown sections (Purpose, When to use, Example, Returns) make it scannable and the purpose lands first. The Returns block is somewhat long and partly restates information already carried by the output schema, so a small amount of it does not earn its place.

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 one-parameter, read-only listing tool with rich annotations and an existing output schema, the description covers purpose, triggers, a call example and return semantics. Nothing an agent needs in order to invoke it correctly is 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?

With a single parameter at 100% schema coverage the baseline is 3, and the schema already documents guild_id and its snowflake pattern. The description contributes a concrete example value ({guild_id:"999000999000999000"}) that confirms the expected ID format, which is modest but genuine added meaning.

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 with scope: 'List all channels in a Discord guild.' An agent can immediately separate this from the thread-listing siblings (channels_list_active_threads_guild, channels_list_public_archived_threads) and from channels_get/channels_create_guild_channel without opening any schema.

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?

The 'When to use' block gives concrete triggers: discovering channel IDs by name, and auditing layout, permission overwrites and forum tags. That is clear context, but it names no exclusions or alternatives (e.g. channels_get for a single channel), so it stops short of full routing guidance.

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