Skip to main content
Glama

read_messages

Read channel messages in posting order after a given position, using pagination limits to retrieve a page or all subsequent messages.

Instructions

Read messages in posting order after the given position (exclusive).

Use after=0 to start at the first message. Set limit to 1–100 for a page. Omitting limit returns all messages after the given position.

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

Input Schema

NameRequiredDescriptionDefault
afterNo
limitNo
channelYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses ordering semantics (posting order), the exclusive boundary of 'after', the valid limit range, and critically that omitting limit returns ALL messages after the position — an unbounded-result behavior an agent needs to know. It omits auth/permission requirements and error behavior, keeping it below 5.

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?

Three short sentences, front-loaded with the core operation, followed by practical parameter directives. No filler, no repetition of the schema, nothing that fails to earn its place.

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?

An output schema exists so return values need not be described, and the tool is low-complexity with only three parameters. The description covers ordering, boundary semantics, and the unbounded default, leaving only channel semantics and error/pagination edge cases unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does for two of three parameters: 'after' is explained as an exclusive position with 0 meaning start, and 'limit' gets a 1-100 constraint plus the omitted-case behavior that the schema does not encode. 'channel' is left entirely unexplained, though its name is largely self-evident.

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 ('Read messages') plus ordering scope ('in posting order after the given position (exclusive)'). It implicitly contrasts with post_message and word_count through the read/list nature and position-based pagination, though it never names an alternative.

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?

Gives explicit operational directives for parameter values ('Use after=0 to start at the first message', limit 1-100 for a page), which is real usage guidance. However, there is no tool-selection guidance (when to use this versus post_message or word_count) and no stated exclusions or preconditions such as whether the channel must exist.

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