Skip to main content
Glama

APEX x402 Full MCP Hub

Prediction odds

prediction_odds

Live prediction-market odds for a topic from Polymarket and Kalshi side by side: last price per outcome (0.62 = about 62% market-implied), Kalshi bid/ask, 24 h volume, end date, link. $0.003

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "prediction_odds"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYestopic, 2-120 characters, e.g. bitcoin, fed rates, election
limitNomarkets per venue, 1-25 (default 10)
paymentNoa signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load; it does disclose the price convention (0.62 = ~62% implied) and, via the trailing "$0.003", that this is a paid call. It omits rate limits, staleness/freshness of "live" data, and failure behavior, which matter for an unannotated endpoint.

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 dense line that front-loads what the tool returns and closes with the cost, with no wasted words. The colon-heavy fragment style is efficient, though the "$0.003" tail is slightly cryptic without a unit/currency label.

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?

With no output schema and no annotations, the description compensates by listing the returned fields and explaining the price scale, which is what an agent needs to interpret results. The presence of the x402 `payment` parameter is covered in the schema, though the description never mentions that some calls may require payment.

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 three parameters (q, limit, payment) are already documented in the schema, establishing the baseline of 3. The description adds nothing about parameter behavior beyond the schema, though the price-format note usefully clarifies the return values rather than the inputs.

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 verb and resource ("Live prediction-market odds for a topic") and enumerates the returned fields (last price, Kalshi bid/ask, 24h volume, end date, link), making the scope unambiguous. It does not distinguish itself from the similarly-purposed sibling prediction_movers or market_search, so it stops short of 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 Guidelines3/5

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

Usage is only implied: an agent can infer it should call this to get current odds on a named topic. There is no explicit when-to-use/when-not guidance and no mention of the adjacent prediction_movers or market_search tools, leaving the agent to guess which to pick.

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.