Skip to main content
Glama
woyaxnini

mcp-max-messenger

by woyaxnini

Get Messages

get_messages

Retrieve messages from a MAX chat using chat ID or specific message IDs. Filter by count and time range when using chat ID.

Instructions

Read messages from a MAX chat. Use either chat_id OR message_ids — they are mutually exclusive. With chat_id: returns recent messages from that chat (use count/from/to to filter). With message_ids: returns those specific messages only (do NOT provide chat_id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idNoThe chat_id to read messages from. Omit when using message_ids.
countNoNumber of messages to return (1-100, default: 20). Only used with chat_id.
fromNoStart timestamp in milliseconds (Unix ms) for time range filter. Only used with chat_id.
toNoEnd timestamp in milliseconds (Unix ms) for time range filter. Only used with chat_id.
message_idsNoList of specific message IDs to retrieve. Do NOT provide chat_id when using this.
Behavior4/5

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

With no annotations, the description covers key behaviors: read operation, mutual exclusivity, and conditional parameter usage. It does not mention error handling or default behavior when no parameters are provided.

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 fluff. Purpose is front-loaded, followed by concise usage instructions for both modes.

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?

Description provides enough to use the tool correctly given the schema and context, but lacks mention of return format (e.g., array of message objects), which 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?

Schema descriptions cover all parameters (100% coverage). The description adds value by explaining the mutual exclusivity and that count/from/to are only used with chat_id, which is not fully clear from the schema alone.

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 tool reads messages from a MAX chat and distinguishes two modes (by chat_id or message_ids), differentiating it from siblings like get_message or send_message.

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

Usage Guidelines4/5

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

Explicitly states mutual exclusivity of chat_id and message_ids, and explains filtering with count/from/to when using chat_id. Lacks explicit comparison to sibling tools for when to use alternatives.

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/woyaxnini/mcp-max-messenger'

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