Skip to main content
Glama

discord_read_messages

Read-only

Read recent messages from a Discord channel or thread, returned oldest-to-newest with author, content, timestamps, and attachment count.

Instructions

Read the most recent messages from a text channel or thread, oldest-to-newest. Returns { messages: [...] } with id, author, content, timestamp, attachment count, pinned flag. Use discord_search_messages to filter by keyword, or discord_fetch_pinned_messages for pinned messages only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many recent messages to fetch (1–100). Default 20.
channel_idYesID (snowflake) of the channel or thread to read from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYes
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true. The description adds that it returns messages oldest-to-newest with specific fields (id, author, content, etc.), which is valuable behavioral context beyond annotations. It does not cover rate limits or pagination but is sufficient for this read-only tool.

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, front-loaded with the core functionality and return shape, followed by alternatives. Every sentence is informative with no wasted words.

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 simple read-only tool with fully documented parameters, an implied output schema, and clear sibling differentiation, the description is complete. It covers purpose, usage, return format, and alternatives.

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 the schema already documents both parameters thoroughly. The description does not add extra meaning beyond what the schema provides, making a baseline score of 3 appropriate.

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 clearly states the verb 'Read', the resource 'most recent messages from a text channel or thread', and the ordering 'oldest-to-newest'. It distinguishes from siblings by name-dropping discord_search_messages and discord_fetch_pinned_messages.

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

Usage Guidelines5/5

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

Explicitly tells the agent when to use alternatives: 'Use discord_search_messages to filter by keyword, or discord_fetch_pinned_messages for pinned messages only.' This gives clear guidance on when this tool is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PaSympa/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server