Skip to main content
Glama
Hyperodds MCP

Hyperodds MCP

by usehyperodds

Fair line

odds_fair
Read-onlyIdempotent

Fetch a market’s fair line, including probability, confidence, source weights, top-of-book prices, and fee-adjusted edge for each trade direction. Check confidence before acting on the line.

Instructions

Gives one market's fair line (probability and band, method, confidence, and each source with its weight and age) with the top of book and the edge after all fees for each way to trade. Check confidence and singleSource before acting on the line.

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": {
      "outcome": "<outcome>"
    },
    "name": "odds_fair"
  }
}

Input Schema

NameRequiredDescriptionDefault
outcomeYesOutcome id

Output Schema

NameRequiredDescriptionDefault
urlYes
bookYes
edgeYesEdge in points after all fees for each way to trade, at refUsd
fairYes
sidesYes
titleYes
statusYes
outcomeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedOutput schema / properties / fair / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ageS": {
      -        "description": "Seconds since then",
      -        "type": "number"
      -      },
      -      "confidence": {
      -        "description": "How far to trust the line, 0 to 1. Edge rankings and alerts need at least 0.5",
      -        "type": "number"
      -      },
      -      "flags": {
      -        "description": "Why confidence was lowered, if it was",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "hi": {
      -        "description": "High end of that band",
      -        "type": "number"
      -      },
      -      "lo": {
      -        "description": "Low end of the band the line could reasonably be in",
      -        "type": "number"
      -      },
      -      "method": {
      -        "description": "Option surface, realized vol, a blend of the two, or matched Polymarket and Kalshi quotes",
      -        "enum": [
      -          "options",
      -          "realized-vol",
      -          "blend",
      -          "consensus"
      -        ],
      -        "type": "string"
      -      },
      -      "p": {
      -        "description": "Probability of side 0",
      -        "type": "number"
      -      },
      -      "singleSource": {
      -        "description": "True when one input sets the line; such lines stay out of edge rankings",
      -        "type": "boolean"
      -      },
      -      "sources": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "ageS": {
      -              "description": "Seconds since its input was quoted",
      -              "type": "number"
      -            },
      -            "name": {
      -              "description": "deribit, bybit, cboe, hl-realized-vol, or pm:<id> and kx:<ticker> for a matched Polymarket or Kalshi market",
      -              "type": "string"
      -            },
      -            "p": {
      -              "description": "Probability of side 0 by this source alone",
      -              "type": "number"
      -            },
      -            "weight": {
      -              "description": "Its share of the line",
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "p",
      -            "weight",
      -            "ageS"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "updated": {
      -        "description": "When the line was computed, ISO 8601 UTC",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "p",
      -      "lo",
      -      "hi",
      -      "method",
      -      "confidence",
      -      "singleSource",
      -      "flags",
      -      "sources",
      -      "updated",
      -      "ageS"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ageS": {
      +        "description": "Seconds since then",
      +        "type": "number"
      +      },
      +      "confidence": {
      +        "description": "How far to trust the line, 0 to 1. Edge rankings and alerts need at least 0.5",
      +        "type": "number"
      +      },
      +      "flags": {
      +        "description": "Why confidence was lowered, if it was",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "hi": {
      +        "description": "High end of that band",
      +        "type": "number"
      +      },
      +      "lo": {
      +        "description": "Low end of the band the line could reasonably be in",
      +        "type": "number"
      +      },
      +      "method": {
      +        "description": "Option surface, realized vol, a blend of the two, or matched Polymarket and Kalshi quotes",
      +        "enum": [
      +          "options",
      +          "realized-vol",
      +          "blend",
      +          "consensus"
      +        ],
      +        "type": "string"
      +      },
      +      "p": {
      +        "description": "Probability of side 0",
      +        "type": "number"
      +      },
      +      "singleSource": {
      +        "description": "True when one quote sets the line; such lines stay out of edge rankings. A line read from an options surface is not single-source",
      +        "type": "boolean"
      +      },
      +      "sources": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "ageS": {
      +              "description": "Seconds since its input was quoted",
      +              "type": "number"
      +            },
      +            "name": {
      +              "description": "deribit, bybit, cboe, hl-realized-vol, or pm:<id> and kx:<ticker> for a matched Polymarket or Kalshi market",
      +              "type": "string"
      +            },
      +            "p": {
      +              "description": "Probability of side 0 by this source alone",
      +              "type": "number"
      +            },
      +            "weight": {
      +              "description": "Its share of the line",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "p",
      +            "weight",
      +            "ageS"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "updated": {
      +        "description": "When the line was computed, ISO 8601 UTC",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "p",
      +      "lo",
      +      "hi",
      +      "method",
      +      "confidence",
      +      "singleSource",
      +      "flags",
      +      "sources",
      +      "updated",
      +      "ageS"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds real behavioral value: it enumerates the derived outputs (band, method, source weights and ages, fee-adjusted edge) and flags that confidence and singleSource should gate any action on the result, which is a caveat not present in any structured field.

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?

Two sentences, front-loaded with the resource and its contents followed by the actionable caveat; nothing is padding. The first sentence is dense with parenthetical lists, but each item carries information an agent needs.

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-value documentation is not required, yet the description still summarizes the shape. With one required parameter, full schema coverage, and a clear read-only annotation set, an agent has everything needed to call this correctly.

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% ("Outcome id"), so the baseline is 3. The description adds no format, range, or discovery hint for the outcome id, and its use of "market" alongside an outcome parameter slightly muddies rather than clarifies the argument.

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 verb and resource ("Gives one market's fair line") and enumerates the payload: probability and band, method, confidence, per-source weight and age, top of book, and fee-adjusted edge. That is far more specific than the title. It never names or distinguishes itself from the siblings (odds_markets, odds_new, odds_cluster), and it says "market" while the sole parameter is an outcome id, a small terminological slip.

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 closing sentence gives a genuine decision rule — verify confidence and singleSource before acting on the line — which implies pre-trade validation usage. However, it offers no guidance on when to call this versus odds_markets, odds_new, or odds_cluster, and no prerequisites or conditions for exclusion.

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

Deploy Server

Other Tools