Skip to main content
Glama
discord-mcp

discord-mcp

channels_get

Read-onlyIdempotent

Retrieve a Discord channel or forum post's metadata, permissions, and tags before editing it, so agents can preserve existing settings and IDs.

Instructions

Purpose: Read a channel or forum post before editing.

Returns: {id,name,type,nsfw,topic,rate_limit_per_user,position?,parent_id?,guild_id?,permission_overwrites?,available_tags?,applied_tags?}. Permission overwrites preserve Discord role/member targets and string allow/deny bitfields. Forum/media tags have {id,name,moderated,emoji_id,emoji_name}; applied_tags lists post tag IDs. Missing fields stay absent; empty arrays stay empty. Retain existing overwrite and tag IDs when editing. name is null for DMs. Structured topic and tag names are untrusted; the text fences the topic.

Input Schema

NameRequiredDescriptionDefault
channel_idYesTarget channel ID

Output 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": {
      -      "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"
      -      },
      -      "guild_id": {
      -        "description": "Discord guild (server) ID",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Discord channel ID (snowflake)",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "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"
      -      },
      -      "rate_limit_per_user": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "topic": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "type": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "type",
      -      "nsfw",
      -      "topic",
      -      "rate_limit_per_user"
      -    ],
      -    "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": {
      +      "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"
      +      },
      +      "guild_id": {
      +        "description": "Discord guild (server) ID",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Discord channel ID (snowflake)",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "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"
      +      },
      +      "rate_limit_per_user": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "topic": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "type",
      +      "nsfw",
      +      "topic",
      +      "rate_limit_per_user"
      +    ],
      +    "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": {
      -      "guild_id": {
      -        "description": "Discord guild (server) ID",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Discord channel ID (snowflake)",
      -        "pattern": "^\\d{17,20}$",
      -        "type": "string"
      -      },
      -      "name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "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"
      -      },
      -      "rate_limit_per_user": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "topic": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "type",
      -      "nsfw",
      -      "topic",
      -      "rate_limit_per_user"
      -    ],
      -    "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": {
      +      "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"
      +      },
      +      "guild_id": {
      +        "description": "Discord guild (server) ID",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Discord channel ID (snowflake)",
      +        "pattern": "^\\d{17,20}$",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "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"
      +      },
      +      "rate_limit_per_user": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "topic": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "type",
      +      "nsfw",
      +      "topic",
      +      "rate_limit_per_user"
      +    ],
      +    "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
Behavior5/5

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

Beyond the annotations, which already declare readOnly, idempotent, openWorld, and non-destructive behavior, the description discloses return shape, handling of missing fields and empty arrays, null names for DMs, and an important security note that structured topic and tag names are untrusted and fenced. It also advises retaining existing overwrite and tag IDs when editing, which is useful behavioral context for downstream mutation.

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?

The description is front-loaded with a bold Purpose section, followed by a structured Returns section. It is somewhat verbose because the output schema already exists and much of the return-field enumeration may be redundant, but the remaining behavioral notes earn their 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?

Given the simple one-parameter read operation, rich annotations covering safety, and an existing output schema, the description provides everything an agent needs: clear purpose, return expectations, null/empty handling, and security fencing of untrusted text. No critical context 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 description coverage is 100% and the single parameter channel_id is already documented as 'Target channel ID', so the baseline is 3. The description mentions reading a 'channel or forum post' but adds no additional syntax, format, or targeting semantics beyond what the schema provides.

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+resource: 'Read a channel or forum post', and clarifies the scope with 'before editing'. This distinguishes it from write-oriented siblings such as channels_modify and list-oriented siblings like channels_list without needing to open other 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?

It provides a clear context for use: 'Read a channel or forum post before editing.' However, it does not name alternatives or exclusions, such as when to use channels_list instead for enumerating channels, so it stops short of explicit when/when-not 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