Skip to main content
Glama

Optimism large trades

optimism_large_trades
Read-onlyIdempotent

Whale and large-trade tracker for an ERC-20 on OP Mainnet: every buy and sell in the last N minutes on the token's deepest WETH/USDC pools (Uniswap v3 or Velodrome), 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": "optimism_large_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax trades listed, 1 to 40, default 20
tokenYesToken contract address on OP Mainnet
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. "optimism"
notesNostring, e.g. "Trades from the 3 deepest WETH/USDC pools; other pairs and
tokenNoobject
windowNoobject
summaryNoobject
nativeUsdNonumber, e.g. 2392.72
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. \"optimism\""
      +    },
      +    "largeTrades": {
      +      "description": "array"
      +    },
      +    "nativeUsd": {
      +      "description": "number, e.g. 2392.72"
      +    },
      +    "notes": {
      +      "description": "string, e.g. \"Trades from the 3 deepest WETH/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

A3.7/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 does add genuinely non-obvious context: a $0.02 USDC x402 payment on Base, the fact that launch data is only returned 'when we recorded it' (so the block can be absent), and that only the deepest WETH/USDC pools are scanned (not all venues). It does not discuss what happens when the token is unindexed or has no qualifying pools.

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 that is front-loaded with the resource, chain and data sources, then the returned metrics, then the optional launch block, then pricing. Nothing is repetitive, though the semicolon-chained clauses make it heavier to scan than it needs to be.

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?

For a 4-parameter read tool with full annotations and an output schema, coverage is nearly sufficient: it explains data scope, cost, and the conditional nature of launch history. Minor gaps remain around behavior for unindexed tokens and any latency/freshness guarantees for the trade window.

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 limit, minUsd, minutes and token are already documented, giving a baseline of 3. The description clarifies intent (minUsd gates 'largest trades', minutes is a look-back window over pool activity) but adds no format or interaction detail 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+resource: a whale/large-trade tracker for an ERC-20 on OP Mainnet, scoped to the deepest WETH/USDC pools (Uniswap v3 or Velodrome). It enumerates the returned artifacts (largest trades with USD size/side/wallet/tx, buy/sell volume and net flow, top wallets) and the optional launch-history block, so an agent can distinguish it from the chain-parametrized siblings (base_large_trades, arbitrum_large_trades) without opening schemas.

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?

Chain and asset scope are implied clearly (OP Mainnet ERC-20 only), which helps route away from sibling chain tools, but there is no explicit 'when to use this vs optimism_token_snapshot or optimism_new_pools' statement and no exclusions. The reader must infer that non-OP tokens or non-token subjects belong elsewhere.

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