Skip to main content
Glama

Beggar Bot

polymarket_orderbook

Polymarket CLOB orderbook for one market outcome (slug or condition_id): bid/ask, spread in cents, implied probability, USD depth at 2c/5c, simulated buy/sell avg price and slippage for a USD size. Paid: $0.02 USDC 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_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNowill-the-democratic-party-control-the-house-after-the-2026-midterm-elections
outcomeNoYes
size_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: it discloses the $0.02 USDC x402 payment, that avg price/slippage are 'simulated' for a given USD size rather than executable quotes, and that depth is bucketed at 2c/5c. It does not state what happens if no identifier is supplied (all three params are optional), whether condition_id must go in the slug field, or anything about rate limits or error behavior for a paid call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with what the tool is, followed by the payload contents and the price of the call. Every clause carries information; nothing is repeated from the schema or wasted on preamble.

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?

No output schema exists, so the explicit enumeration of returned fields is exactly the right compensation, and the cost disclosure is essential for an x402-paid tool. The remaining gap is the all-optional parameter set: nothing tells the agent that at least one identifier must be supplied or what the fallback behavior is.

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 coverage is 67%, but the schema descriptions are bare example values ('will-the-democratic-party-control...', 'Yes', '1000'), so the description does real work by explaining that the identifier may be a slug or a condition_id and that size_usd drives the simulated avg price and slippage. It still leaves gaps: it never says condition_id is passed through the slug field (the schema has no such property), nor how size_usd defaults or what unit/format it expects.

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 resource and scope: 'Polymarket CLOB orderbook for one market outcome (slug or condition_id)', then enumerates exactly what comes back (bid/ask, spread in cents, implied probability, depth at 2c/5c, simulated slippage). Naming the venue distinguishes it from the many other *_orderbook tools in the sibling list without needing to name them.

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?

Usage is only implied by the purpose: it is clear you call it for a Polymarket outcome, and the parenthetical hints at two identifier styles. There is no explicit when-to-use vs. when-not, no mention of when polymarket_odds or a plain price endpoint would be the better call, and no guidance on which identifier to prefer.

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.