Skip to main content
Glama

AgentDiet Polymarket Live Prediction Market Odds & Implied Probability Feed

get_polymarket_prediction_odds

Read-onlyIdempotent

Fetches live Polymarket prediction market orderbooks, implied Yes/No probabilities, volume, and whale sentiment for macro/crypto/AI events. WHEN TO USE: Call get_polymarket_prediction_odds when your task requires deterministic polymarket-odds analysis for topic; use get_agent_wallet_status to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target topic as a non-empty string; omit agent_id and tx_hash during your 5 free trial calls, or supply agent_id (agd_pass_...) / tx_hash for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.01 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: get_polymarket_prediction_odds(topic='example')

Input Schema

NameRequiredDescriptionDefault
topicYesPrediction market topic, event keyword, or question to query live Polymarket odds.
tx_hashNoOptional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id.
agent_idNoOptional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up.

Output Schema

NameRequiredDescriptionDefault
dataNoStructured tool output payload.
statusYesExecution status ('ok' or 'payment_required').
roi_proofNoToken compression and cost-savings verification metrics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description goes well beyond them: 1-hour caching with <5ms hits, $0.01 per call, 5 free calls per agent_id, failed calls never charged, and the non-fatal payment-required quote with a $2 top-up link and USDC addresses. This is the kind of operational context an agent needs to plan a call and handle the quota response correctly.

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?

Purpose is front-loaded and the WHEN TO USE / WHEN NOT TO USE / PARAMETER INTERACTIONS headers make it skimmable. It is dense and mildly repetitive on pricing (free-trial terms are restated across several sentences), which costs a point but not legibility.

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?

An output schema exists, so return values need not be explained. Given a metered, payment-gated tool, the description still covers the full lifecycle: trial, cache behavior, payment-required response, and retry path with agent_id or tx_hash. Nothing an agent needs to invoke or recover from this call is missing.

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 schema already defines each parameter; the baseline would be 3. The description adds value the schema cannot: the trial-vs-paid orchestration rule (omit agent_id/tx_hash for the free calls, pass agd_pass_ or tx_hash for paid execution), which governs how the parameters are combined rather than what each one means.

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?

States a specific verb (fetches) and resource (live Polymarket prediction market orderbooks, implied Yes/No probabilities, volume, whale sentiment) scoped to macro/crypto/AI events. It also names the only sibling, get_agent_wallet_status, and distinguishes its role, so an agent can tell the two apart without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit WHEN TO USE and WHEN NOT TO USE sections, plus a named alternative (get_agent_wallet_status for quota/balance) and the condition that selects it. The tool's own trigger condition (deterministic polymarket-odds analysis for `topic`) is spelled out rather than implied.

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.