Skip to main content
Glama

Read messages

read_messages
Read-only

Read messages from a Discord channel or thread, oldest first, including author, timestamp, reply context and jump links; page beyond Discord's 100-message limit.

Instructions

Read the latest messages in one channel or thread, oldest first, with author, time, reply context and a jump link. Pages past Discord's 100-message limit.

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": "read_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many messages to return (1 to 500, default 50)
beforeNoOnly return messages older than this message ID
channel_idYesChannel or thread ID (a Discord ID string, such as "123456789012345678")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, and the description still adds real behavioral detail: results are ordered oldest first, each message carries author, time, reply context and a jump link, and paging beyond Discord's 100-message cap is handled. It stops short of saying how paging interacts with the `before` cursor or what happens on an invalid/inaccessible channel.

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?

Two sentences, no filler, and the highest-value information (what it returns and that it pages) is front-loaded. Every clause carries new information.

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?

With no output schema, the description usefully enumerates the returned fields, and for a 3-parameter read tool that covers most of what an agent needs. Minor gaps remain around ordering of pages when `before` is supplied and error behavior for inaccessible channels.

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 three parameters are already documented in the schema, which sets the baseline at 3. The description adds only the ordering guarantee and the notion of paging past 100 messages, which lightly enriches the meaning of `before` and `limit` but does not explain the cursor mechanics.

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?

"Read the latest messages in one channel or thread" gives a specific verb, resource, and scope, and the second sentence pins down ordering and payload fields. It never names a sibling such as catch_up or list_channels, so the agent must infer why it would pick this over catch_up for unread-message retrieval.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: "Pages past Discord's 100-message limit" tells the agent this is the tool for retrieving more than a single page of history, but there is no explicit when-to-use or when-not-to-use guidance relative to catch_up or other read tools.

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