Skip to main content
Glama

Agent Einstein — Crypto & Market Intelligence

Prediction Market Yield Surface

get_prediction_market_yields
Read-onlyIdempotent

Near-certain Polymarket outcomes ranked by annualized return to resolution — the "cash-like yield" view of prediction markets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-25).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRow cap applied to every list in this payload.
staleNoTrue when the snapshot is past its refresh interval.
reasonNoWhy the payload is absent, when `available` is false.
totalsNoTotals across the surface.
tradesNoRedemption-arb tickets — near-certain outcomes still trading below $1.
walletsNoWallets taking those tickets.
availableNoFalse when this call has no data — a snapshot that is not warm yet, a domain switched off, or an argument that was rejected. NOT an error, and NOT a statement about the market.
fetchedAtNoWhen the underlying snapshot was refreshed (epoch ms or ISO-8601). Age matters: these are cached reads, not live queries.
truncatedNoPresent only when a list was cut to `limit`.
priceFloorNoEntry price a ticket had to clear, 0-1.
lookbackHoursNoWindow scanned.
minCollateralUsdNoUSD size a ticket had to clear.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / fetchedAt / description
      Previous value: -"When the underlying snapshot was refreshed (epoch ms, or ISO-8601 for the Bitcoin cycle feed). Age matters: these are cached reads, not live queries."New value: +"When the underlying snapshot was refreshed (epoch ms or ISO-8601). Age matters: these are cached reads, not live queries."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "available": {
      +      "description": "False when this call has no data — a snapshot that is not warm yet, a domain switched off, or an argument that was rejected. NOT an error, and NOT a statement about the market.",
      +      "type": "boolean"
      +    },
      +    "fetchedAt": {
      +      "description": "When the underlying snapshot was refreshed (epoch ms, or ISO-8601 for the Bitcoin cycle feed). Age matters: these are cached reads, not live queries."
      +    },
      +    "limit": {
      +      "description": "Row cap applied to every list in this payload.",
      +      "type": "number"
      +    },
      +    "lookbackHours": {
      +      "description": "Window scanned."
      +    },
      +    "minCollateralUsd": {
      +      "description": "USD size a ticket had to clear."
      +    },
      +    "priceFloor": {
      +      "description": "Entry price a ticket had to clear, 0-1."
      +    },
      +    "reason": {
      +      "description": "Why the payload is absent, when `available` is false.",
      +      "type": "string"
      +    },
      +    "stale": {
      +      "description": "True when the snapshot is past its refresh interval."
      +    },
      +    "totals": {
      +      "additionalProperties": true,
      +      "description": "Totals across the surface.",
      +      "properties": {
      +        "collateralUsd": {
      +          "description": "USD collateral behind them."
      +        },
      +        "spreadUsd": {
      +          "description": "USD spread to resolution."
      +        },
      +        "trades": {
      +          "description": "Tickets counted."
      +        }
      +      }
      +    },
      +    "trades": {
      +      "description": "Redemption-arb tickets — near-certain outcomes still trading below $1.",
      +      "items": {},
      +      "type": "array"
      +    },
      +    "truncated": {
      +      "additionalProperties": true,
      +      "description": "Present only when a list was cut to `limit`.",
      +      "properties": {
      +        "limit": {
      +          "description": "The cap that was applied.",
      +          "type": "number"
      +        },
      +        "originalLengths": {
      +          "additionalProperties": true,
      +          "description": "Field name → its full length before the cut."
      +        }
      +      }
      +    },
      +    "wallets": {
      +      "description": "Wallets taking those tickets.",
      +      "items": {},
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real context by disclosing the ranking (annualized return to resolution) and the filter (near-certain outcomes), but says nothing about data freshness or how 'near-certain' is thresholded.

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?

A single dense sentence that front-loads the core concept and uses a clarifying metaphor without any wasted words.

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, annotations carry the safety profile, and there is only one optional parameter, so the description needn't explain returns or params. It could still be slightly more complete about scope (Polymarket-only) and freshness, but it is basically sufficient for correct invocation.

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 coverage is 100% and the single limit parameter is fully documented in the schema (default 10, range 1-25). The description adds no parameter detail, so the baseline 3 is appropriate.

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 resource (Polymarket prediction market yields) and what the output is: near-certain outcomes ranked by annualized return to resolution. This distinguishes it from generic siblings like find_yield and from get_prediction_market_catalysts, though it never names those alternatives explicitly.

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?

The framing 'cash-like yield view of prediction markets' implies the use case (finding low-risk yield), but there is no explicit when-to-use statement, no exclusions, and no reference to the closely related find_yield or analyze_prediction_markets siblings.

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.