Skip to main content
Glama

Polymarket–Kalshi Spread

polymarket_kalshi_spread
Read-onlyIdempotent

Cross-venue spread between Kalshi and Polymarket for the same resolving question. The two venues sometimes price the same outcome 2-25pp apart because their participant pools differ — when the bet shapes are equivalent that delta is a real signal, when they aren't the tool says so. TWO MODES: (1) topic — 10 pre-mapped macro shortcuts ("fed", "btc", "cpi", "gdp", "sp500", "recession", "next_pope", "next_uk_pm", "next_israel_pm", "2028_president") auto-fetch the matching event on each venue. (2) explicit kalshi_event_ticker + polymarket_event_slug for custom pairings. RESPONSE: each venue's leg-by-leg prices (raw probability 0-1) plus matched spread[].top_spreads_pp (Kalshi − Polymarket) where the same outcome shows up on both sides. SAFETY FIELDS: compatibility_warning is a sentence and compatibility_codes[] the machine-readable form; BOTH can be non-empty on returned pairs, so read them even when matched_pairs>0. Codes: event_subject_mismatch (the two event titles share no subject words — probably not the same question), temporal_mismatch (they resolve in different months), non_equivalent_bet_shapes, no_candidate_pairs, unclassified_legs_excluded, premapped_pairing_unverified (always set in topic mode when pairs are returned: the legs were matched by keyword and word overlap, not a shared resolution source). Each entry in top_spreads_pp carries its own flags[]. A leg whose metric_type or match_subtype is "unknown" is NEVER paired — those comparisons land in spread.skipped_unclassified and, when the wording lined up, in spread.low_confidence_pairs[] for inspection only. temporal_alignment{polymarket_month,kalshi_month,aligned} tells you whether the two events resolve in the same calendar period. skipped_cross_type / skipped_cross_subtype counters expose how many leg-pair comparisons were dropped (cross-type = metric_type mismatch like MoM vs YoY; cross-subtype = inequality mismatch like cum_ge vs cum_le). Real cross-venue spreads are rarer than the macro-shortcut list suggests — most pre-mapped topics return compatibility_warning today; pre-mapped ≠ tradeable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicNoPre-mapped: fed | btc | cpi | gdp | sp500 | recession | next_pope | next_uk_pm | next_israel_pm | 2028_president
kalshi_event_tickerNoExplicit Kalshi event ticker, e.g. "KXFED-26OCT". Overrides the topic-mapped Kalshi side.
polymarket_event_slugNoExplicit Polymarket event slug, e.g. "fed-decision-in-june-825". Overrides the topic-mapped Polymarket side.

TDQS

A4.6/5.0
Behavior5/5

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

The description richly discloses behavior beyond the read-only annotations: compatibility codes can be non-empty even when pairs are returned, unknown legs are never paired, pre-mapped topic pairs are flagged as unverified, and skipped comparison counters expose drops. This gives the agent a realistic model of the tool's conservative matching behavior.

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?

The description is long but well organized with labeled sections for modes, response, safety fields, and codes, and it front-loads the core purpose. A few warnings are repeated in slightly different forms, which prevents a perfect conciseness score.

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?

Even without an output schema, the description covers the response shape, compatibility warnings and codes, unclassified-leg handling, temporal alignment, and skipped-pair counters. The agent has enough contextual information to invoke the tool and interpret its results safely and correctly.

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 coverage is 100%, so the baseline is 3; the description adds context by explaining that topic mode auto-fetches a pre-mapped event on each venue, explicit parameters are for custom pairings, and topic-mode results frequently warrant caution. It complements rather than merely repeats the schema.

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 opening sentence precisely identifies the tool's purpose: a cross-venue spread between Kalshi and Polymarket for the same resolving question. It also distinguishes this tool from single-venue Polymarket siblings by naming both venues and framing the output as a comparative spread with safety warnings.

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?

The description clearly delineates the two modes—pre-mapped topic shortcuts versus explicit kalshi_event_ticker + polymarket_event_slug—and warns that pre-mapped topics are not necessarily tradeable. It does not explicitly name sibling alternatives or say when to choose this tool over, for example, polymarket_arbitrage, so it stops short of full guidance.

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.

TDQS

A4/5.0
Disambiguation3/5

Some tools have clearly distinct purposes (remember/recall/forget, subscribe/unsubscribe), but the ask_pipeworx family overlaps heavily — ask_pipeworx_beta is explicitly identical today, and ask_pipeworx_grounded/deep_research are variations on the same routing core. Polymarket tools and comparison/profile tools also have fuzzy boundaries, though detailed descriptions help agents choose.

Naming Consistency4/5

Most tools follow a lowercase snake_case verb_noun pattern (search_datasets, get_dataset, validate_claim, resolve_entity). A few deviate with bare verbs (remember, forget, recall) or noun-like names (dataset_info, entity_profile, pipeworx_trending), but the overall style is predictable and readable.

Tool Count2/5

34 tools is a heavy surface for one server, and the scope sprawls across CMS open data, general data research, prediction markets, memory storage, and subscription management. Many of these could be split into separate coherent servers, and several meta-routers (ask_pipeworx, deep_research, discover_tools, suggest_questions) overlap in purpose.

Completeness4/5

Within the broad data-research domain the set is fairly complete: search, retrieval, grounding, comparison, entity resolution, verification, subscriptions, and memory are all covered with no obvious dead ends. However, the server is named 'Cms' yet only three tools actually touch CMS datasets, leaving that narrow purpose under-covered relative to the rest.