Skip to main content
Glama
mcp-server-polymarket

mcp-server-polymarket

List public Perps fills

list_perps_public_fills
Read-onlyIdempotent

Retrieve paginated perpetual-futures fill history for a wallet, including prices, sizes, fees, and realized PnL, with date filters and cursor paging.

Instructions

Fill history of a Perps account: prices, sizes, fees and realised PnL, 100 per page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "list_perps_public_fills"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoISO 8601 time, e.g. 2026-11-01 or 2026-11-01T12:00:00Z, or epoch seconds.
startNoEmpty means 30 days ago.
cursorNonext_cursor from the previous page. Empty starts at the top.
addressYes
oldest_firstNo
instrument_idNoRequired for current_position.
current_positionNoOnly fills of the open position cycle on instrument_id.

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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the useful '100 per page' throughput detail and the returned field set, but says nothing about rate limits, ordering defaults, or how deep history can be paged.

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?

A single dense sentence with the resource and payload front-loaded and no filler. It is efficient, though the trailing '100 per page' clause is the only operational detail and could have been paired with pagination guidance.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the description covers the basic shape. However, for a 7-parameter paginated history tool it omits the default 30-day window, cursor semantics, and the conditional requirement linking instrument_id to current_position.

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 71%, so the schema already documents start, end, cursor, instrument_id and current_position. The description adds no parameter meaning beyond the page size, and notably omits the coupling that instrument_id is required when current_position is true.

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?

Names the resource precisely (fill history of a Perps account) and enumerates the payload fields (prices, sizes, fees, realised PnL) plus page size. It does not explicitly distinguish itself from the sibling list_perps_trades, so an agent must infer the difference between fills and trades.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer this over list_perps_trades or get_perps_public_account, and no explanation of the current_position/instrument_id workflow. The agent is left to infer all routing decisions from the name alone.

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