Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-polyperp-book

x402-polyperp-book: Level-2 order book for one Polymarket Perps market, with the microstructure a trading agent needs before sending an order — best bid and ask, spread in absolute terms and basis points, midpoint, and cumulative bid/ask depth plus their imbalance. Thin books and lopsided depth are how you spot a bad fill in advance. Works on equities, indices and commodities as well as crypto.

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": {
      "symbol": "<symbol>"
    },
    "name": "x402-polyperp-book"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
depthNo
symbolYes
instrumentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "symbol"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / depth / description
      Removed value: -"Depth to process"
    • removedInput schema / properties / id / description
      Removed value: -"Id to process"
    • removedInput schema / properties / instrument / description
      Removed value: -"Instrument to process"
    • removedInput schema / properties / symbol / description
      Removed value: -"Symbol to process"
  3. Added

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the returned fields (best bid/ask, spread in absolute terms and bps, midpoint, cumulative depth and imbalance), which is valuable given no output schema, but it says nothing about snapshot vs streaming, rate limits, payment/x402 cost, or behavior on an unknown symbol.

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 dense sentences, with the resource and scope front-loaded and the payoff (spotting bad fills) immediately after. The closing claim that it 'works on equities, indices and commodities' is arguably misleading for a Polymarket Perps book and is the weakest use of space.

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

Completeness3/5

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

For a read-only data tool with no annotations and no output schema, the description compensates well on the return side by enumerating metrics. It falls short on the input side, leaving all four undocumented parameters unexplained, which for a 0%-coverage schema is a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across four parameters, and the description never mentions symbol, depth, id, or instrument by name or semantics. An agent gets no clue what 'depth' means as a string (levels count? price band?) or how 'id' and 'instrument' differ from 'symbol'.

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 opens with a specific resource and scope: 'Level-2 order book for one Polymarket Perps market,' which is far more precise than the bare name. It never names an alternative sibling (e.g. quotes or a different venue's book), so the differentiation is only implicit through 'Level-2' and 'Perps market'.

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 signals timing indirectly with 'the microstructure a trading agent needs before sending an order,' which implies a pre-trade check. It offers no explicit when-not guidance and does not point to any sibling for a different depth, venue, or trade-history lookup.

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