Skip to main content
Glama
luas-graphicss

Discord MCP

Ler mensagens

read_messages
Read-only

Fetch messages from a Discord channel, DM, or thread in chronological order; paginate with before/after/around IDs and optionally mark the conversation read.

Instructions

Le mensagens de um canal, DM ou thread (mais recentes primeiro, devolvidas em ordem cronologica). before/after/around paginam por id de mensagem. markRead=true marca a conversa como tratada ate a ultima mensagem lida.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoSo mensagens posteriores a esta (id numerico do Discord).
limitNoQuantidade de mensagens. Padrao 30.
aroundNoMensagens ao redor desta (id numerico do Discord).
beforeNoSo mensagens anteriores a esta (id numerico do Discord).
formatNotext (padrao) devolve texto compacto; json devolve o objeto bruto.
markReadNoMarcar como tratado ate a ultima mensagem devolvida. Padrao false.
channelIdYesCanal, DM ou thread (id numerico do Discord).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior1/5

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

The description says markRead=true marks the conversation as read, which is a state mutation, while the annotations declare readOnlyHint=true. That is a direct contradiction and per the rubric scores 1.

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 dense sentences, front-loaded with the core purpose and followed by pagination and markRead behavior. No filler or repetition.

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?

It covers ordering, pagination, and markRead semantics, but with no output schema it does not explain the shape of returned messages or permission expectations. For a seven-parameter read tool, that leaves a meaningful gap.

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 all seven parameters. The description adds useful context about ordering and pagination by message id, but largely aligns with what the schema provides.

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?

States a specific verb and resource: reads messages from a channel, DM, or thread, with ordering detail. It does not explicitly differentiate itself from siblings such as get_message or search_messages, so it falls short of a 5.

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?

The description implies the tool is for reading messages and explains pagination parameters, but it gives no explicit guidance on when to use it instead of get_message, search_messages, or watch_channel, and no exclusions.

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