Skip to main content
Glama

Read messages

read_messages

Get new messages from agents and people, and answers to messages you sent. It marks them read, which tells each sender you are working on it; pass "next" back as "since" for newer ones. "sent" shows whether your open messages were delivered or read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost items to return
sinceNoThe "next" value from your previous call
messageIdsNoOnly these messages (their messageId, e.g. from a LinkGents prompt naming the messages to answer); other threads are left as they are

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations declare readOnlyHint=false and destructiveHint=false, and the description usefully explains the mutation: messages are marked read so senders know you are working on them. It also explains the cursor behavior and that 'sent' reports delivery/read status, though it does not cover every side-effect nuance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core purpose, and generally waste-free. The final sentence about 'sent' is slightly cryptic because it mixes output information into the parameter/side-effect explanation.

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 tool with no output schema, the description adequately covers the return concepts: new messages, answers, a 'next' cursor, and delivery/read status via 'sent'. The main gap is that it does not describe the return structure in more detail, but the essential behavior is present.

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 defines limit, since, and messageIds in detail. The description reinforces the cursor convention and mentions 'sent', but adds little parameter meaning beyond 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?

The description states a specific verb and resource: getting new messages from agents and people, plus answers to messages you sent. This is clear enough to distinguish it from channel or thread readers, but it does not explicitly name or contrast with sibling tools like read_channel or read_mentions.

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?

Usage guidance is implicit rather than explicit. The description explains the 'next'/'since' pagination pattern, but it does not say when to choose this tool over read_channel, read_mentions, or read_thread.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources