Skip to main content
Glama
discord-mcp

discord-mcp

discord_get_messages

Retrieve recent channel messages to review conversation history, authors, attachments, and reactions, and paginate older results using message IDs.

Instructions

Retrieve recent messages from a channel (supports reading history, authors, attachments, and reactions).

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_get_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of messages to retrieve (1-100, default 25).
beforeNoOptional message ID to fetch messages before (for pagination).
guild_idNoOptional guild ID.
channel_idYesThe channel ID or name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It hints at returned fields, but says nothing about required permissions or intents, message ordering, pagination behavior despite a `before` parameter, or rate limits. For a read tool with zero annotation coverage, this is thin.

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?

One sentence with the resource and scope front-loaded and no filler. The parenthetical listing of returned content is compact and informative rather than redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the definition should explain more about what comes back and how it behaves. It does name the content types returned, which partially compensates, but leaves ordering, permission requirements, and pagination mechanics unaddressed.

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%, so every parameter including limit ranges, before-based pagination, and guild_id is already documented. The description adds no syntax or semantics beyond the schema, which is the baseline 3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("Retrieve recent messages from a channel") and lists the content surfaced (history, authors, attachments, reactions). It does not distinguish itself from the close sibling discord_search_messages, so an agent must infer the difference between browsing recent history and searching.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance. The word "channel" weakly implies this is not for DMs (discord_get_dm_history), but the definition never states when to prefer this over discord_search_messages or how it relates to discord_purge_messages. Alternatives and prerequisites are left entirely to inference.

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