Skip to main content
Glama

list_messages

Fetch recent on-chain messages from the Letters to the Future dApp on Base, with pagination via limit and offset; locked messages return their unlock date instead of text.

Instructions

Fetch recent on-chain messages from the Letters to the Future dApp on Base. Locked messages show their unlock date instead of text.

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
limitNoNumber of recent messages to return (default 20, max 50).
offsetNoNumber of messages to skip from the latest (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does add genuinely useful context that locked messages return an unlock date instead of text, which an agent could not infer from the schema. However, it says nothing about ordering guarantees, read-only safety, or failure behavior when the dApp or chain is unreachable.

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 sentences, front-loaded with the action and source, followed by the one non-obvious return-value caveat. Nothing is wasted, though the second sentence could be tied more explicitly to which items it affects.

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 two-optional-parameter read with no output schema, the description covers what is fetched, from where, and the notable shape of results for locked entries. Remaining gaps (ordering, empty results) are minor for a tool of this complexity.

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 coverage is 100% and both parameters are optional with defaults and maxima already documented in the schema. The description's use of 'recent' is consistent with the schema's 'skip from the latest' offset semantics but adds no new syntax, ranges, or interpretation beyond it, so the baseline 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 pairs a specific verb and resource ('Fetch recent on-chain messages') with the source dApp and chain ('Letters to the Future dApp on Base'), so an agent knows exactly what it returns. It distinguishes itself implicitly from the single-message sibling by emphasizing 'recent' and bulk retrieval, but never names get_message_by_id or post_message directly.

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 is only implied: 'recent messages' signals a listing/browsing scenario, and the offset parameter implies paging back through history. There is no explicit statement of when to prefer this over get_message_by_id or get_message_count, and no exclusions or prerequisites are given.

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