Skip to main content
Glama

Updown Venue Compare

updown_venue_compare
Read-onlyIdempotent

The same 15-minute crypto "up or down" window priced on polymarket.com, Polymarket US and Kalshi, side by side, with whether each pair is actually the same contract. Pass asset (btc | eth | sol | xrp | bnb) and window ("current" default, "next", "previous", or the window START as ISO such as 2026-10-27T14:15:00Z, on a 15-minute boundary). Per venue: question, Up bid / ask / mid / last, spread_pp, quote_state, volume WITH ITS UNIT, open interest, liquidity, settlement source, comparison basis, when it settles. THE VENUES ARE NOT ONE CONTRACT. Kalshi and Polymarket US settle on CF Benchmarks' BRTI (60-second average at the end against the same at the start): the same bet, so a gap between them is a real disagreement. polymarket.com settles on a Chainlink 60-second TWAP, end against start: same comparison shape, different feed, so a gap against either is partly the contract. pairs[] gives equivalent ("true"|"false"|"unclear"|"not_comparable") from resolution_diff for every pair, material_differences, mid_diff_pp (a minus b, in percentage points) and read_as in words. Measured over 30 days of settled windows the Chainlink and BRTI feeds settle a window differently about 1.2-1.8% of the time, almost entirely windows that ended near the threshold (see updown_divergence_rate). net_spread is computed only for the pair that is equivalent: the gap in mid terms and at top of book (buy Up where cheaper at the ask, Down where Up is dearer at 1 minus the bid) after BOTH venues' taker fees, each fee carrying its verified-as-of date. Top-of-book size is shown where the venue publishes it (Polymarket US); the Kalshi figure is not in its market payload, so read its order book before sizing. A venue with no market for the window is {status:"not_listed", reason}; one that could not be read is {status:"unavailable", refusal} -- never an empty object, and never the same thing. A one-sided book (typical Polymarket US just before a window is decided) has quote_state "bid_only", a null mid, and the last trade stands in labelled price_basis "last". Quotes are read venue by venue (cached up to 60 seconds), so a gap of a couple of points on a moving window is inside the skew. Only the 15m horizon is offered: it is the one where all three list the same up/down question. For the settled history of how often the venues disagreed, call updown_divergence_rate.

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": "updown_venue_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetNobtc (default) | eth | sol | xrp | bnb. Coverage differs by venue; a venue that does not list the asset answers not_listed.
windowNo"current" (default), "next", "previous", or the window START as an ISO-8601 timestamp on a 15-minute boundary, e.g. 2026-10-27T14:15:00Z. An unaligned timestamp is refused, not rounded.
horizonNo15m (default and the only value offered).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "asset": "btc",
      -    "horizon": "15m",
      -    "window": "current"
      -  },
      -  {
      -    "asset": "eth",
      -    "window": "previous"
      -  },
      -  {
      -    "asset": "btc",
      -    "window": "2026-10-27T14:30:00Z"
      -  }
      -]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the readOnly/openWorld/idempotent annotations, it discloses caching (up to 60 seconds), quote skew on moving windows, the not_listed vs unavailable distinction, one-sided book behavior (quote_state bid_only, null mid, last trade in price_basis "last"), fees with verified-as-of dates, and the settlement-feed difference between Chainlink TWAP and CF Benchmarks BRTI. These are exactly the traits an agent needs to interpret results correctly and are not available in structured fields.

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?

Front-loaded with the core comparison, then output shape, then settlement caveats, then error states — a sensible order for a genuinely complex tool. It is long and dense with caps-lock emphasis and some restatement of the settlement logic in both the prose and the pairs explanation, which keeps it from a 5.

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?

With no output schema, the description carries the full burden and does so: it enumerates per-venue fields, explains pairs[] values and mid_diff_pp sign convention, defines net_spread and its fee treatment, and specifies the two non-market response shapes. Complexity (three venues, cross-feed settlement) is well matched by the disclosure.

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

Parameters4/5

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

Schema description coverage is 100%, so the schema already carries most parameter meaning, and the description largely restates the asset and window enumerations. It does add interpretive value: why the horizon is limited to 15m and how per-venue asset coverage produces not_listed, which frames how parameter choices affect the response.

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: pricing the same 15-minute crypto up/down window side by side across polymarket.com, Polymarket US and Kalshi, including whether the pairs are the same contract. That scope is distinctive enough to separate it from siblings like polymarket_kalshi_spread or resolution_diff, and it explicitly routes settled-history questions to updown_divergence_rate.

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

Usage Guidelines4/5

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

Gives concrete invocation context (which asset and window values, 15-minute boundary requirement) and an explicit boundary: only the 15m horizon is offered because that is where all three venues list the same question. It also names one alternative (updown_divergence_rate) for historical disagreement rates. It does not explicitly exclude the other comparison siblings, so it stops short of a full when-not matrix.

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.