Skip to main content
Glama

list_messages

Read-onlyIdempotent

Read a chat's messages, oldest first. Returns the most recent limit messages; page back through older ones with starting_after.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoDefault 50.
chat_idYesA chat id (aichat_...). A run id works too — it resolves to that run's chat.
ending_beforeNoReturn the messages older than this id — the first id of the previous page. Paging walks backwards through history, since the default page is the tail.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
objectYes
has_moreYes

TDQS

B3.1/5.0
Behavior2/5

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

The description adds useful behavioral context beyond the readOnlyHint and idempotentHint annotations: oldest-first ordering and tail-based paging. However, it instructs callers to 'page back through older ones with starting_after,' which directly contradicts the schema where the actual paging parameter is ending_before. This misleading behavior guidance is a significant flaw.

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

Conciseness3/5

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

The description is short and front-loaded with the core purpose, which is good. However, the second clause introducing starting_after is inaccurate and does not earn its place, undermining what would otherwise be a concise, well-structured one-liner.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Annotations and the output schema cover safety and return values, and the schema documents ending_before well. However, the description's incorrect pagination instruction leaves the agent without reliable guidance for the exact workflow it claims to explain—reading older pages. For a paginated read tool, this is a material completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description does add semantics around limit ('most recent limit messages'). Yet it names starting_after, which is not present in the schema, and never references the real ending_before parameter. The parameter guidance is therefore actively misleading rather than additive.

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 opens with a specific verb and resource: 'Read a chat's messages, oldest first.' This clearly distinguishes it from siblings like list_chats, get_chat, and send_message. The core purpose is unambiguous despite later pagination wording issues.

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 reading a chat's message history and gives ordering/pagination context. However, it does not explicitly state when to prefer this over siblings like list_chats or get_chat, and the pagination advice names a parameter that does not exist in the schema.

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.

TDQS

A4/5.0
Disambiguation4/5

The direct API tools (api_search/api_execute) are clearly distinct from the agent workflow tools. The main ambiguity is between ask_crevio and start_chat, since both initiate agent runs, though one waits and the other does not.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern (list_runs, get_run, send_message, cancel_run). The api_ prefix on api_execute/api_search and the lowercase whoami are minor deviations from an otherwise consistent convention.

Tool Count5/5

14 tools is well-sized for a server that combines direct REST API access with an agent run/chat lifecycle. Each tool has a distinct role and none feel redundant or unnecessary.

Completeness5/5

The REST surface is fully covered through api_search and api_execute, and the agent lifecycle is complete: start, continue, ask, wait, list, approve, cancel, and inspect runs/chats/messages. No critical operation appears to be missing.

Resources