Skip to main content
Glama

Get trader positions

get_trader_positions
Read-onlyIdempotent

Use this when the user wants a Polymarket trader's open positions or holdings — for example "what positions does @exampletrader hold", "list all open positions for this 0x wallet", "what is this trader's biggest position", or "which of their positions are up the most". Accepts a full 0x wallet address, a polymarket.com profile URL, an @username or a username. Returns up to 50 open positions (default 20) sorted by current value or by unrealized profit, each with the market, outcome, shares held, average entry and current price in cents, current value and unrealized profit or loss in USD, plus the total number of open positions and the portfolio value. Positions worth under $1 and resolved positions awaiting redemption are left out of the list; the text notes the latter. Read-only public on-chain data.

Input Schema

NameRequiredDescriptionDefault
sortNo'value' = largest current value first; 'pnl' = largest unrealized gain first. Default 'value'
limitNoHow many positions to return (default 20)
traderYesThe trader: a full 0x wallet address (42 characters), a polymarket.com profile URL, an @username, or a username, e.g. '@exampletrader'

Output Schema

NameRequiredDescriptionDefault
urlYes
kindYes
nameYes
itemsYes
walletYes
total_countYesOpen positions counted; a floor when total_count_is_floor is true
total_value_usdYes
total_count_is_floorYesTrue when the scan stopped at its 1,000-position cap: the wallet holds at least total_count open positions

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the read-only, idempotent, non-destructive profile; the description adds substantive behavior: cap of 50 with default 20, sort semantics, exclusion of sub-$1 and resolved positions (with a note in the text), and inclusion of totals and portfolio value. That is well beyond annotation coverage.

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?

The usage trigger is front-loaded and the sentences are dense with concrete facts. The return-value sentence is long and enumerates fields already covered by the output schema, which is mild redundancy, but nothing is filler.

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

Completeness5/5

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

For a three-parameter read tool, the description covers triggering, input forms, result shape, size limits, sorting, and exclusions. An agent can call it correctly without inspecting the schema or output schema.

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 the baseline is 3, but the description adds value by enumerating the accepted trader identifier forms (0x address, profile URL, @username, username) and by tying natural-language intents like 'biggest position' and 'up the most' to the sort options. It still doesn't add formatting rules or edge-case handling beyond the schema.

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?

States a specific verb and resource ('a Polymarket trader's open positions or holdings') and backs it with concrete user-style queries. It is clearly distinct from siblings like get_trader_profile (identity/aggregate) and get_whale_trades (market-wide activity).

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

Usage Guidelines4/5

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

Provides strong when-to-use signal via four representative example questions, including 'biggest position' and 'up the most'. It does not name a sibling alternative or state when not to use it (e.g., profile/summary requests should use get_trader_profile), so it falls short of the top mark.

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.

Directories

Listed in ChatGPT · PredictionScan

Last observed