Skip to main content
Glama
mcp-server-polymarket

mcp-server-polymarket

List trades

list_trades
Read-onlyIdempotent

Fetch trades for a wallet, event, market, or the whole exchange, newest first, with time, side, size, and ID filters plus cursor pagination.

Instructions

Trades for a wallet, markets, events, or the whole exchange, newest first. Re-send the same filters with each cursor.

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
endNoISO 8601 time, e.g. 2026-11-01 or 2026-11-01T12:00:00Z, or epoch seconds.
sideNo
userNoA wallet; empty is the global feed.
limitNoRows per page.
startNoISO 8601 time, e.g. 2026-11-01 or 2026-11-01T12:00:00Z, or epoch seconds.
cursorNonext_cursor from the previous page. Empty starts at the top.
min_usdNoOnly trades at least this big.
event_idsNoUp to 20 event ids.
condition_idsNoUp to 20 condition ids.
include_maker_sideNoAlso the maker row of each fill.

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
itemsNo
has_moreNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / items / default
      Removed value: -[]
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so safety is covered. The description adds two things annotations cannot convey: default ordering ('newest first') and the cursor contract requiring identical filters across pages, both of which materially affect correct invocation.

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?

Two sentences with zero filler; the resource/scope statement is front-loaded and the pagination caveat follows. Every sentence carries information the agent needs.

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 10-parameter list tool with an output schema and full annotation coverage, the description supplies the two non-obvious facts (sort order and pagination protocol). It stops short of naming the default page size or clarifying the perps alternative, but those are largely covered by structured fields.

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 90%, so the schema already explains start/end time formats, limit range, user-as-wallet, min_usd, and the id arrays. The description adds no meaning beyond a generic reference to 'filters' and the cursor re-send rule, which partially overlaps the cursor field's own description.

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+resource with scope: trades filtered by wallet, markets, events, or the entire exchange. It implicitly separates this from perps-oriented siblings by naming prediction-market scopes (events, markets), but never names list_perps_trades or list_activity explicitly, so the agent must infer the boundary.

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 through the enumeration of filter scopes; there is no explicit when-to-use or when-not guidance and no routing to alternatives such as list_perps_trades. The one genuinely instructive line is the pagination procedure ('Re-send the same filters with each cursor'), which is operational rather than selection guidance.

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