Skip to main content
Glama

Compare Topic

compare_topic
Read-onlyIdempotent

Cross-venue prediction-market LANDSCAPE scanner: for one topic, show how 5 venues (Polymarket, Kalshi, Manifold, PredictIt, Futuur) are pricing it side by side and flag divergence. Each venue is queried in parallel; a venue that errors or times out is reported as { reachable: false } and never fails the call. Returns each venue's top matches normalized to { venue, title, implied_probability (0-1 for the main/YES outcome, or null), url, n_outcomes }, plus a divergence summary across venues' top matches. HONESTY: this surfaces WHERE TO LOOK for mispricing — it is NOT an executable-arb tool. A high spread_pp usually reflects different bet shapes, resolution criteria, dates, thin liquidity, or each venue's own trading fees (Polymarket and Kalshi both charge a taker fee that varies by category/price — see the polymarket_edges/polymarket_arbitrage tools for the modeled schedule; this scanner does not net any of them out), not a real arbitrage. Divergence is only computed when ≥2 venues' top titles share strong token overlap (Jaccard); otherwise divergence is null with a low-match-quality note telling you to compare manually. Verify the questions resolve identically before trading. For executable poly↔kalshi arbitrage (needs order-book depth AND fees) use the polymarket_arbitrage pack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesTopic / question to scan across venues, e.g. "bitcoin 100k", "fed rate cut", "2028 president", "government shutdown", "trump".
per_venueNoTop matches to show per venue (default 3, max 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "topic": "bitcoin 100k"
      +  },
      +  {
      +    "per_venue": 5,
      +    "topic": "fed rate cut 2024"
      +  }
      +]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false. The description adds substantial behavioral context beyond that: venues are 'queried in parallel,' errors/timeouts are reported as `{ reachable: false }` and 'never fail the call,' divergence is 'only computed when ≥2 venues' top titles share strong token overlap (Jaccard),' and fees are explicitly not netted out. There is no contradiction with the annotations.

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?

The description is long but every sentence carries unique weight: scope, venue list, parallel/error behavior, normalized return shape, honesty caveat, divergence methodology, verification advice, and sibling routing. It is front-loaded with the core purpose and internally structured (e.g., the 'HONESTY:' segment), making it information-dense without wasted words.

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 fully covers what the agent needs: the exact normalized return fields, null probability behavior, divergence conditions, fee-model caveats, error resilience, and a pointer to the executable-arb alternative. For a tool of this complexity, nothing critical is missing.

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 the baseline of 3 applies; the schema already fully documents `topic` with examples and `per_venue` with default/max. The description reinforces the meaning ('for one topic,' 'top matches per venue') but adds no new parameter-level detail beyond what the schema provides. It earns the baseline but not more.

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?

The description names a specific verb and resource: a 'LANDSCAPE scanner' that 'show[s] how 5 venues... are pricing [a topic] side by side and flag[s] divergence.' It explicitly lists the five venues and distinguishes itself from siblings by calling out that it is 'NOT an executable-arb tool' and pointing to the `polymarket_arbitrage` pack for executable arbitrage. An agent can unambiguously tell this apart from related tools like `polymarket_edges` or `polymarket_kalshi_spread`.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use and when-not-to-use guidance: use it for cross-venue landscape scanning, but 'for executable poly↔kalshi arbitrage... use the `polymarket_arbitrage` pack.' It also names alternatives for fee modeling ('see the polymarket_edges/polymarket_arbitrage tools') and instructs the user to 'verify the questions resolve identically before trading.' This provides clear routing among sibling tools.

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.