Skip to main content
Glama
mcp-server-polymarket

mcp-server-polymarket

List positions

list_positions
Read-onlyIdempotent

Lists a wallet's Polymarket positions by lifecycle status, including size, average price, value, and PnL, with filters and paging to track open, claimable, mergeable, or closed holdings.

Instructions

A wallet's positions through their lifecycle: OPEN, REDEEMABLE (won, claimable), REDEEMABLE_LOST, MERGEABLE (both sides held) or CLOSED, with size, average price, value and PnL. Sizes are shares, _usdc fields USD. Keep the same filters when paging.

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

Input Schema

NameRequiredDescriptionDefault
userNoWallet whose positions to list.
limitNoRows per page.
titleNoSubstring of the market title.
cursorNonext_cursor from the previous page. Empty starts at the top.
statusNoOPEN
sort_byNoCURRENT_VALUE
ascendingNo
event_idsNoUp to 20 event ids.
condition_idsNoNarrow to markets; alone, lists those markets' holders.
min_value_usdNoSkip positions worth less than this.
include_archivedNo

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.6/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered. The description adds genuinely new behavior: what each status means (won/claimable, both sides held) and the paging-filter invariant. It does not disclose ordering defaults beyond what the schema shows, or how archived positions are treated.

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?

Three tight sentences, front-loaded with purpose, then status semantics, then unit conventions, then the paging rule. Dense but every sentence carries information an agent could not get from the schema alone.

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?

With 11 optional parameters and an output schema present, the description covers the ambiguous parts: status vocabulary, unit conventions, and pagination continuity. The remaining undocumented knobs (sort_by, ascending, include_archived) are largely self-describing, so the definition is adequate without them.

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 64%, so gaps remain (status, sort_by, ascending, include_archived carry no schema descriptions). The description compensates meaningfully by defining REDEEMABLE as won-but-claimable and MERGEABLE as both sides held, and by clarifying that sizes are shares while `_usdc` fields are USD — none of which is in the schema.

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?

The description names the resource precisely ('A wallet's positions') and scopes it to the full status lifecycle, which separates it from list_combo_positions and list_market_holders. It stops short of explicitly naming a sibling to distinguish against, but the resource+scope statement is specific enough to act on.

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?

One real usage rule is given: 'Keep the same filters when paging,' which correctly governs cursor-based traversal. There is no guidance on when to choose this over list_combo_positions or list_market_holders, nor any note about the default status=OPEN narrowing results.

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