Skip to main content
Glama

grid402_prediction_markets

Fetch normalized Polymarket and Kalshi prediction market odds as implied probabilities with 24h volume and liquidity, filtered by keyword, source, or status.

Instructions

Normalized public prediction market odds (0-100% implied probability), 24h volume and liquidity aggregated from Polymarket Gamma and Kalshi Public Trade API v2 with graceful degradation (0.0100 USDC / 2 credits).

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

Input Schema

NameRequiredDescriptionDefault
qNoOptional keyword search filter (e.g. "bitcoin", "fed", "election").
limitNoMaximum normalized markets to return (1 to 20, default 10).
sourceNoMarket source filter: all (default), polymarket, or kalshi.
statusNoMarket status filter: active (default) or closed.
payment_tx_hashNoOptional USDC tx hash, Session Pass token (pass_g402_...), or "demo".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral burden, and it does disclose meaningful traits beyond the schema: two aggregated data sources, graceful degradation on source failure, and an explicit price of 0.0100 USDC / 2 credits. It stops short of stating permission/payment prerequisites, rate limits, or what happens when payment_tx_hash is invalid, so this is adequate rather than complete.

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?

A single sentence that front-loads the returned data before the sourcing and pricing details. It is dense but every clause (probability scale, volume, liquidity, sources, fallback, cost) adds real information with no 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?

For a five-parameter, all-optional read tool with no output schema, the description does state the returned fields (implied probability 0-100%, 24h volume, liquidity) and the cost model, so an agent can judge whether to call it. Defaults and result shape are left to the fully documented schema, which is acceptable here.

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 all five parameters already carry their own descriptions and defaults. The description adds no filtering semantics, enum behavior, or interaction details beyond what the schema provides, which is the expected baseline-3 case.

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?

The description names a specific resource (normalized public prediction market odds, 24h volume, liquidity) and its upstream providers (Polymarket Gamma, Kalshi Public Trade API v2), so an agent knows exactly what data it returns. It does not distinguish itself from plausible siblings such as grid402_market_snapshot or grid402_global_markets, and no verb frames the operation, keeping it below a 5.

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?

There is no when-to-use guidance, no exclusion criteria, and no named alternative for overlapping market-data siblings. The only usage-adjacent signal is 'graceful degradation', which describes fallback behavior rather than tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.