Skip to main content
Glama

get_polymarket_book

Read-onlyIdempotent

Top-of-book bid/ask, spread, USD depth. GET /x402/polymarket-book?q= — $0.01.

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": {
      "q": "<q>"
    },
    "name": "get_polymarket_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesTopic or slug
paymentNoOptional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base, Polygon or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment / description
      Previous value: -"Optional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself."New value: +"Optional. Your x402 payment proof for this exact call — the PAYMENT-SIGNATURE value produced by settling this route's 402 challenge (USDC on Base, Polygon or Solana), or an MPP 'Authorization: Payment ...' value. Omit on a first call: the tool then returns the live 402 challenge to pay against. This server relays your proof upstream and retries; it never creates or settles payments itself."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds the per-call price ($0.01) and the GET route, which is real behavioral context. However it does not mention in its own text that the route is paywalled with a 402 challenge flow — that is only conveyed by the payment parameter in the schema.

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?

One dense fragment front-loads the returned data before the route and price, with zero filler. The telegraphic style is slightly cryptic ('— $0.01' with no verb) but nothing is wasted.

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?

With 2 parameters, full schema coverage, and annotations, most structural burden is already carried elsewhere. But with no output schema, the description should say more about the response shape (e.g. whether depth is a single level or laddered, error behavior for unknown q) and about the payment-on-first-call flow it implies.

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%, with q documented as 'Topic or slug' and the payment parameter fully explained in the schema. The description only echoes '?q=' with no added meaning about accepted slug formats or what happens when a topic matches ambiguously, so the baseline of 3 applies.

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 the exact data returned (top-of-book bid/ask, spread, USD depth) plus the route, so the resource is unambiguous. It does not explicitly contrast with siblings like get_polymarket_odds or get_polymarket_history, but the fields are specific enough to distinguish it in practice.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternative. An agent must infer from the field list that this is for liquidity/spread inspection rather than pricing or historical data.

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