Skip to main content
Glama

OnchainCheck Prediction Markets

Prediction markets

prediction_markets
Read-onlyIdempotent

Prediction market odds for any topic from Polymarket: matching events with each market's outcomes and implied probabilities, 24-hour change, volume, liquidity and end date. For questions like 'odds of a Fed rate cut' or 'will bitcoin reach 150k'. Costs $0.005 USDC on Base via x402.

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_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesTopic to search (fed rate, bitcoin, election)
limitNoEvents to return, 1-10 (default 5)
closedNotrue includes resolved markets

Output Schema

NameRequiredDescriptionDefault
notesNostring, e.g. "probability is the last price of each outcome share (0-1).
queryNostring, e.g. "fed rate"
eventsNoarray
sourceNostring, e.g. "Polymarket"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds valuable context beyond that: the pricing model ($0.005 USDC on Base via x402) and the fields returned, including 24-hour change, volume, liquidity and end date. It does not mention rate limits or pagination, but with a rich output schema that is a minor gap.

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 compact and front-loads the core capability and returned fields. The pricing note at the end is useful but slightly tacked on. Every sentence earns its place.

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?

Given the rich annotations, an output schema, and fully documented parameters, the description is largely complete: it explains what data comes back and the payment requirement. The main missing piece is how this tool relates to its sibling search tool, which matters for correct selection.

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 are already documented in the input schema, including the limit default and the closed enum. The description does not add parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource: prediction market odds from Polymarket, including outcomes, implied probabilities, 24-hour change, volume, liquidity and end date. It is clear what the tool returns. However, it does not distinguish itself from the sibling prediction_markets_search tool, so an agent cannot tell the two apart from the description alone.

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?

Example questions like 'odds of a Fed rate cut' and 'will bitcoin reach 150k' imply the intended use case, which is useful context. But there is no explicit when-to-use guidance, no exclusions, and no mention of how this differs from prediction_markets_search.

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