Skip to main content
Glama

PredictionMarketAPI — Polymarket & Kalshi Real-Time Odds MCP

Search Unified Polymarket & Kalshi Event Contracts

search_prediction_markets
Read-onlyIdempotent

Search live open event contracts across Polymarket and Kalshi (CFTC-regulated exchange) with normalized yes_probability, no_probability, spread_bps, 24h volume, liquidity, close_time, resolution_source, and CLOB token IDs. Cost: 2 Credits / market returned (0 Credits if empty).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax contracts to return (1-50).
queryNoOptional keyword search (e.g. "fed rate", "inflation", "bitcoin", "mars", "election").
venueNoVenue filter: all (default), polymarket, or kalshi.all
categoryNoOptional category filter.all

Output Schema

NameRequiredDescriptionDefault
codeYesStatus code (0 indicates success).
dataYesNormalized cross-venue market search payload.
statusYesResponse status string ("ok").
providerNoCanonical gateway provider URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower, and the description adds genuinely new context: the credit cost model (2 credits per market, 0 if empty) and that Kalshi is a CFTC-regulated exchange. It still omits pagination/result-cap behavior and whether search is fuzzy or exact, which matters for query design.

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?

Two sentences, zero filler: capability and scope come first, cost is front-loaded as a separate trailing sentence. The dense field list is informative rather than padding.

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?

An output schema exists, so the description need not explain return values, and it covers venue coverage, cost, and live-only scoping for a simple 4-optional-parameter tool. The main gap is selection context relative to sibling market tools, which usage guidance would have covered.

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% and the enums for venue and category are self-documenting, so the baseline is 3. The description adds no parameter-specific meaning beyond the schema; its enumeration of yes_probability, spread_bps, close_time, etc. describes output fields rather than input semantics.

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?

States a specific verb and resource: search live open event contracts across Polymarket and Kalshi, with the normalized fields called out. An agent can tell what the tool returns, but the description does not distinguish it from siblings like get_market_detail or compare_cross_venue_probabilities, so differentiation is left to inference.

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?

No when-to-use or when-not-to-use guidance is given, and no sibling alternative is named. The only routing signal ('live open' contracts, keyword query optional) is implicit; an agent must guess whether to use this versus the other market tools for a specific lookup.

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