Skip to main content
Glama

List a wallet's trade fills, newest first (keyset cursor). Mined-tier fills lead; read `finality`.

problee_list_trade_fills
Read-onlyIdempotent

List a wallet's fills for history and P&L. Newest first; keyset cursor on (timestamp,id); one row per match. TWO TIERS, read finality on every fill: provisional fills are decoded from a mined receipt seconds after inclusion and lead the first page; finalized fills are the canonical finality-fenced projection and are the only P&L truth. Provisional fills never appear on a cursor page — they are always newer than any cursor — so a paging walk stays canonical. Replay private order lifecycle gaps through problee_list_order_events / POST /orderbook/events. ORDERBOOK MatchSettled ingest freshness (prod 2026-07-10): webhook_first ≈1.52s from block time. A committed fill appears here as soon as it executes, with txHash null and publicationState pending; the same row id gets its txHash when its batch is published on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPage size (1–100, default 50).
cursorNoOpaque cursor from a previous response.
chainIdYesActive chain to query. Discover IDs via GET /discover/chains.
walletAddressYesWallet to list fills for (0x + 40 hex).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantial context beyond them: the two-tier provisional/finalized model, that provisional fills never appear on cursor pages, ingest freshness (~1.52s), and txHash null with pending publicationState until batch publication. This is exactly the behavioral detail an agent needs.

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?

The purpose and ordering are front-loaded, and the density is largely justified by the tool's complexity. Some material (exact ingest latency figures, txHash lifecycle) is more operational detail than a selector needs, so it is not maximally tight.

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

Completeness5/5

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

Given an output schema already defines return values, the description covers everything else an agent needs: pagination semantics, finality tiers, and publication state. Nothing required to call it correctly is missing.

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%, so the schema already documents limit, cursor, chainId, and walletAddress; baseline 3 applies. The description only lightly enriches cursor semantics ('keyset cursor on (timestamp,id)') and adds no format details beyond the schema.

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?

States a specific verb and resource ('List a wallet's fills') with the scope ('for history and P&L') and ordering ('newest first; keyset cursor'). It implicitly distinguishes itself from the market-level sibling problee_get_market_trades by scoping to a single wallet, so an agent can route correctly.

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

Usage Guidelines4/5

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

Gives clear context for use (history and P&L) and names an alternative for a distinct need: replay private order lifecycle gaps through problee_list_order_events / POST /orderbook/events. It lacks an explicit when-not-to-use versus the market-trades sibling, so it falls short of 5.

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.