Skip to main content
Glama

List trades

list_trades
Read-only

Recent trades, newest first. Filter by market and/or trader. Amounts are in USDC and tokens.

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_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly trades before this time, unix seconds.
fromNoOnly trades after this time, unix seconds.
limitNoHow many trades, 1 to 100. Default 20.
marketNoOnly trades on this market address.
traderNoOnly trades of this wallet. Use "me" for the configured wallet.

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 declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the ordering guarantee ('newest first') and the unit convention ('Amounts are in USDC and tokens'), which are genuine behavioral details, but says nothing about pagination limits beyond what the schema states or about what an empty result means.

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?

Three short sentences, front-loaded with the core behavior (recent trades, newest first) before filters and units. No filler, no redundancy with the schema.

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 five-parameter, zero-required listing tool with no output schema, the description covers ordering, filters, and units, which is enough to call it correctly. It stops short of describing pagination or result-size expectations, a minor gap given the limit parameter exists.

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 description coverage is 100%, so all five parameters (to, from, limit, market, trader) are already documented, including the 'me' shortcut for trader. The description adds the unit note for returned amounts but no parameter-level detail beyond the schema, 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?

States a specific verb and resource ('trades') plus scope details: ordering (newest first) and filter dimensions (market, trader). It doesn't explicitly differentiate itself from siblings like top_traders or get_trader_stats, so an agent must infer that this is the raw trade feed rather than an aggregate.

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 phrase 'Filter by market and/or trader' implies the intended usage, but there is no explicit when-to-use guidance, no mention of when to prefer this over top_traders or get_pnl_history, and no note that all filters are optional. Usage is inferable rather than stated.

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.