Skip to main content
Glama

list_trades

The trades a person's strategies have closed -- what was made or lost on each, why it exited, and what the fees and slippage cost. For a platform account overview and last-trade times use list_platform_strategies; platform detail requires strategy_id. Use this for what actually happened: 'how am I doing', 'what did it trade', 'why did it sell', 'has it made money'. Pass strategy_id for one strategy's record. THESE ARE REAL TRADES, not a backtest -- never mix them with backtest metrics in one number, and say which you are quoting. Every trade carries fee_cost, slippage_cost and gas_cost; a profit or loss quoted without them reads as though trading were free. Passing strategy_id takes precedence -- asset and outcome are not applied alongside it.

[Access: pay 0.001 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]

Input Schema

NameRequiredDescriptionDefault
assetNoAsset symbol, e.g. BTC or ETH.
limitNoMaximum results.
outcomeNoOnly "win" or only "loss".
strategy_idNoThe strategy's UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the real-vs-backtest distinction and the warning not to mix metrics, that every trade carries fee/slippage/gas costs, and the auth/payment modes (x402 or API key). Gaps remain on ordering, pagination and what the record shape looks like beyond the cost fields.

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?

Front-loaded with the resource and the key sibling differentiator, and the precedence rule is placed where it matters. Slightly long overall, with the quoted example phrasings and bracketed access note adding bulk, though each section is functional.

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 4-param, annotation-free, output-schema-less tool, the description covers the critical unknowns: real vs backtest, mandatory cost accounting, auth/payment requirements, and parameter precedence. It stops short of describing result ordering or pagination behavior for the limit parameter.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description earns above that by explaining that strategy_id takes precedence and that asset/outcome are not applied alongside it — interaction semantics the schema cannot express. It adds little about limit or outcome beyond what the schema states.

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 opening sentence names a specific resource (closed trades of a person's strategies) and enumerates what each record conveys: P&L, exit reason, fees and slippage. It is clearly separable from siblings like get_backtest_trades, get_trades_for_strategy and list_platform_strategies by the 'real trades, not a backtest' framing.

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

Usage Guidelines5/5

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

Explicit routing is given: use list_platform_strategies for account overview and last-trade times, platform detail needs strategy_id, and this tool answers 'how am I doing' / 'why did it sell'. It also states the precedence rule that strategy_id overrides asset and outcome, which removes the only ambiguous usage decision.

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.