Skip to main content
Glama

OnchainCheck Prediction Markets

Polymarket trade flow

polymarket_trade_flow
Read-onlyIdempotent

Who is placing the big bets on Polymarket right now? Pass a market (slug, link or condition id) or a category (its 5 busiest markets): every trade over minUsd in the last 1 to 24 hours, buys and sells per outcome, the biggest traders with their all-time P&L rank and X handle, and headlines such as "3 top-50 traders bought NO for $80k in the last 24 h". Live from Polymarket's public data. Not advice. Costs $0.01 USDC on Base via x402.

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": "polymarket_trade_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoWindow, 1 to 24 hours; default 24
marketNoA market slug (the last part of its polymarket.com URL), the URL itself, or a 0x condition id
minUsdNoSmallest trade counted in USD, 100 to 1000000; default 1000
categoryNoInstead of market: a Polymarket category (crypto, politics, sports, economy, tech)

Output Schema

NameRequiredDescriptionDefault
flowNoarray
moreNostring, e.g. "GET /polymarket/trader?address=<wallet> for one trader; GET
hoursNonumber, e.g. 24
notesNostring, e.g. "Trades of $1000+ (size x price) in the last 24 h across the
sinceNostring, e.g. "2026-11-22T20:54:22.000Z"
minUsdNonumber, e.g. 1000
sourceNostring, e.g. "Polymarket public data (gamma markets, data API v2 trades a
marketsNoarray
tradersNonumber, e.g. 22
categoryNostring, e.g. "crypto"
totalUsdNonumber, e.g. 119346.9
bigTradesNonumber, e.g. 34
headlinesNoarray
topTradersNoarray
largestTradesNoarray
windowCoveredNoboolean, e.g. true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent, open-world read, so the bar is lower; the description nevertheless adds material context they cannot carry: data is live from Polymarket's public data, results include all-time P&L rank and X handles, and the call costs $0.01 USDC on Base via x402. That payment/auth requirement is exactly the kind of operational fact an agent needs before invoking. It does not discuss rate limits or failure modes, keeping it at 4.

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 opening rhetorical question is a mild hook but is followed immediately by the operational payload, and the closing 'Live from… Not advice. Costs…' sentence packs three distinct facts without padding. The middle sentence is long and list-heavy, but every clause names a distinct output element. Slightly overstuffed for a single block, yet no sentence is wasted.

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 four optional parameters, full schema coverage, an output schema, and rich annotations, this description covers what an agent needs: input modes, output contents, data freshness and the x402 cost. Restating return fields is partly redundant given the output schema, and the absence of any comparison to similarly scoped siblings leaves one small hole. Otherwise complete.

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 already 100%, so the description only needs to add meaning, and it does: it frames market and category as mutually exclusive input modes and clarifies that a category expands to its 5 busiest markets, which the schema does not state. It also ties minUsd and the hours window to the returned data. Marginal gain over the schema, hence 4 rather than 5.

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 a concrete resource (Polymarket trades) and enumerates exactly what comes back: trades above minUsd over 1-24h, buys/sells per outcome, top traders with P&L rank and X handle, and headline summaries. That is far more specific than the name alone. It stops short of 5 because it never distinguishes itself from near-neighbours like polymarket_big_trades or polymarket_smart_money, so an agent must infer the boundary itself.

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?

It does tell the agent how to invoke it: supply either a market (slug, link or condition id) or a category, and category mode returns that category's 5 busiest markets. What is missing is when-not-to-use guidance or any named alternative, which matters given siblings such as polymarket_big_trades and polymarket_top_traders. Usage is implied rather than scoped.

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.

Resources