Skip to main content
Glama

razz_read_messages

Retrieve recent chat messages from the current room, supporting pagination with timestamp parameters to load older or newer messages.

Instructions

Read recent messages from the room you've joined. Returns up to 50 messages. Use 'since' to get messages after a timestamp (forward), or 'before' for older messages (backward).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beforeNoLoad messages before this timestamp (backward pagination)
sinceNoLoad messages after this timestamp (forward pagination - get new messages since last check)
Behavior4/5

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

With no annotations provided, the description carries the full burden and discloses key behavioral traits: the 50-message limit and bidirectional pagination semantics (forward/backward). It does not, however, describe error states (e.g., what happens if called without joining a room) or whether messages are marked as read.

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 well-structured sentences with zero waste: sentence one establishes core function and scope, sentence two states the return limit, and sentence three explains pagination logic. Information is front-loaded and every sentence earns 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?

For a read-only message retrieval tool, the description adequately covers the essential operational context (pagination, limits, room prerequisite). Without an output schema, mentioning 'Returns up to 50 messages' provides sufficient return value context, though noting the error state for unjoined rooms would improve completeness.

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?

While the schema has 100% description coverage, the description adds valuable semantic context beyond the schema: it clarifies that 'since' is for forward pagination (new messages) and 'before' is for backward pagination (older messages), helping the agent understand the temporal direction of each parameter.

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 specific action (Read recent messages), resource (room), and scope (the room you've joined). The phrase 'room you've joined' effectively distinguishes this from sibling tools like razz_read_dm_conversations, razz_read_thread, and razz_search_messages.

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?

The description implies necessary context by specifying 'the room you've joined,' suggesting razz_join_room must be called first. However, it lacks explicit guidance on when to use this versus razz_search_messages (search vs. recent) or razz_read_dm_conversations (public room vs. private messages).

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/razz-games/razz-mcp'

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