Skip to main content
Glama

List recent messages

list_messages
Read-onlyIdempotent

Fetch recent project messages oldest first to review conversation context without changing read status. Optionally filter by topic or cap the number returned.

Instructions

Show the recent message thread in this project for context, oldest first. Marks nothing 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": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum (default 50).
topicNoOnly this topic.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds two useful traits beyond them: results are ordered oldest first, and the call does not alter read state — a side-effect distinction the annotations alone do not convey.

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?

Two short clauses, front-loaded with the primary purpose, with no filler. The phrase "for context" is slightly vague but does useful double duty as usage guidance.

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 simple, fully annotated, zero-required-parameter read tool with complete schema coverage, the description covers purpose, ordering, and side effects. The only gap is that it does not characterize the returned message shape, which is minor given no output schema exists.

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 both optional parameters (limit, topic) are already documented, establishing the baseline of 3. The description adds no further meaning about how limit interacts with "recent" or how oldest-first ordering applies when a topic filter is used.

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?

"Show the recent message thread in this project" names a concrete verb and resource plus an ordering guarantee. It is clear what the tool returns, though it does not explicitly distinguish itself from siblings such as check_inbox or list_notes.

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?

"for context" implies the intended situation (gathering background rather than acting), and "Marks nothing read" hints at why one would pick this over an inbox-checking tool. However, no alternative is named and there is no explicit when-not-to-use guidance.

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