Skip to main content
Glama

list_history

Fetch recent read or unread messages for an agent or room. Set a limit to control the number returned.

Instructions

Recent messages (read or unread) for an agent or room.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomNo
limitNo
agent_idNo
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It reveals that both read and unread messages are included, but does not state whether the tool modifies message state, how 'recent' is defined, or any side effects.

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 a single, front-loaded sentence with no redundant words. It earns its place by stating core functionality concisely.

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?

Given three parameters with no descriptions, no output schema, and no annotations, the description is too sparse. It lacks details on ordering, default limit, return format, and behavior when multiple parameters are supplied, making it incomplete for reliable invocation.

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 description coverage is 0%, so the description must compensate. It implies room and agent_id are filters (for an agent or room), but does not explain their relationship, whether they are exclusive, or the meaning of the limit parameter. This leaves significant gaps in parameter understanding.

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 the tool returns 'Recent messages (read or unread) for an agent or room,' providing a clear resource and scope. It is not a tautology and conveys useful distinction from siblings like chat_history or read_message, though it doesn't explicitly name alternatives.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives such as read_message, search_messages, or chat_history. The description only states what it returns, without context for selection or exclusions.

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/jrb00013/mailnotmilk'

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