Skip to main content
Glama

Polygon large trades

polygon_large_trades
Read-onlyIdempotent

Whale and large-trade tracker for an ERC-20 on Polygon PoS: every buy and sell in the last N minutes on the token's deepest WPOL/USDC pools (Uniswap v3), with USD size, side, wallet and transaction for the largest trades, buy/sell volume and net flow, and the wallets that bought or sold the most; plus the token's launch from our history (first-sight risk score, liquidity after 24 h/7 d/30 d, deployer record) when we recorded it. Costs $0.02 USDC on Base via x402.

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": {
      "token": "<token>"
    },
    "name": "polygon_large_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax trades listed, 1 to 40, default 20
tokenYesToken contract address on Polygon PoS
minUsdNoOnly list trades at least this large in USD, default 1000
minutesNoLook-back window in minutes; 5 to 240, default 60 (capped at 12,000 blocks, about 50 minutes on Arbitrum)

Output Schema

NameRequiredDescriptionDefault
chainNostring, e.g. "polygon"
notesNostring, e.g. "Trades from the 3 deepest WPOL/USDC pools; other pairs and
tokenNoobject
windowNoobject
summaryNoobject
nativeUsdNonumber, e.g. 0.0907291
topBuyersNoarray
topSellersNoarray
largeTradesNoarray
poolsScannedNoarray

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "chain": {
      +      "description": "string, e.g. \"polygon\""
      +    },
      +    "largeTrades": {
      +      "description": "array"
      +    },
      +    "nativeUsd": {
      +      "description": "number, e.g. 0.0907291"
      +    },
      +    "notes": {
      +      "description": "string, e.g. \"Trades from the 3 deepest WPOL/USDC pools; other pairs and "
      +    },
      +    "poolsScanned": {
      +      "description": "array"
      +    },
      +    "summary": {
      +      "description": "object"
      +    },
      +    "token": {
      +      "description": "object"
      +    },
      +    "topBuyers": {
      +      "description": "array"
      +    },
      +    "topSellers": {
      +      "description": "array"
      +    },
      +    "window": {
      +      "description": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/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 still adds genuinely non-structured behavior: a $0.02 USDC x402 payment requirement, the constraint that only the deepest WPOL/USDC pools are scanned (implying coverage gaps on thinly pooled tokens), and that launch data is only present 'when we recorded it' — an important nullability disclosure. It does not state what happens when no qualifying pools exist.

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, but front-loaded with the core purpose and ordered from primary output to secondary (launch history) to cost. Every clause carries information; the cost/payment clause in particular earns its place. Minor cost: the length makes it harder to scan than two or three short sentences would.

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?

An output schema exists, so return shape need not be explained, and the description still covers pool scope, filtering, conditional launch data, and the payment model. For a paid, schema-rich read tool this is complete enough to call correctly; the only residual gap is behavior on tokens with no qualifying pools.

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 100%, so the baseline is 3; the description only restates the window concept ('last N minutes') and the USD sizing already documented in minUsd/limit. It does not resolve a real ambiguity in the schema: minutes is described as 5–240 but 'capped at 12,000 blocks, about 50 minutes on Arbitrum' in a Polygon tool, so the effective maximum window is left unclear.

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 whale/large-trade tracker returning every buy and sell in the last N minutes on the token's deepest WPOL/USDC Uniswap v3 pools, plus launch history. It also enumerates the returned fields (USD size, side, wallet, tx, volume, net flow, top wallets), so an agent can tell it apart from polygon_token_snapshot or the base/eth/arbitrum variants without opening a schema.

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?

The scope sentence implies the right context (recent whale activity on a specific Polygon ERC-20, filtered by minUsd), which is clear usage context. But there is no explicit when-to-use/when-not phrasing and no named alternative (e.g., polygon_token_snapshot for aggregate token stats, or the other *_large_trades tools for other chains); the chain distinction is only inferable from the name.

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