Skip to main content
Glama

List Run Messages

listRunMessages
Read-onlyIdempotent

Get paginated messages for an agent run. Messages are returned in chronological order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of messages per page (1-50, default 20)
offsetNoNumber of messages to skip
run_idYesThe run's unique identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds useful behavioral details about pagination and chronological ordering, but it does not disclose response shape or behavior for invalid or missing run IDs. No contradiction exists.

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?

The description is two short sentences with no filler. It front-loads the core purpose and adds ordering behavior in the second sentence, making it easy for an agent to parse quickly.

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, read-only listing tool with fully documented parameters and strong annotations, the description is nearly complete. It could be more complete by distinguishing itself from listCaseRunRecentMessages or noting the absence of a response schema, but those are minor gaps.

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?

The input schema has 100% description coverage for all three parameters, including limit, offset, and run_id. The description does not add any parameter-specific meaning beyond what the schema already provides, so the baseline score of 3 applies.

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 clearly states the action (get), resource (messages), and scope (an agent run), and adds that results are paginated and chronological. It does not explicitly differentiate from sibling tools like listCaseRunRecentMessages, so it stops short of a perfect score.

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 the tool is for retrieving messages belonging to a specific run, which provides basic usage context. However, it offers no explicit guidance on when to prefer this over related tools such as listCaseRunRecentMessages or listRuns, and no when-not-to-use information.

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