Skip to main content
Glama

FootballOddsAPI

GET /value

get_value
Read-only

The API's /value endpoint, answered as the API answers: the feeds' prices over the fair price of their side, highest value first. "fair" is Pinnacle's and Betfair's price without their margin (the higher, where both price the side; "fair_pinnacle" and "fair_betfair" are each one's own, null where it has none), "value" the percent the feed's odds are over it, always over 0. "line" is the handicap (the home team's) or the total, null in 1x2. The highest values are often thin exchange markets or a wrong price: fixture_odds shows the price beside the other feeds'. A comparison of odds, not advice to bet. Prematch fixtures only: in play the feeds are seconds apart, and a price that is only late looks like value.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
leagueNoOnly these leagues (ids from get_leagues).
marketNoOnly these markets. Default: all.
fixtureNoOnly these fixtures (ids from get_fixtures or find_fixtures).
max_oddsNoThe highest odds. Default: no limit.
bookmakerNoOnly these feeds. Default: all.
min_valueNoThe least value, in percent. Default and least: 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds substantial behavioral context: result ordering, null semantics for fair_pinnacle/fair_betfair and line, the warning that top values may be thin exchange markets or wrong prices, and the fact that this is a comparison rather than betting advice. It does not discuss pagination or result-size limits.

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 front-loaded with the endpoint's result and then defines fair, value, and line. It is dense and somewhat run-on, but each clarification supports correct interpretation rather than repeating structured fields.

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, the description carries the burden of explaining returned fields and does so for fair, value, and line, while also warning about misleading top values. The six optional filters are covered by the schema and the prematch-only scope is clear, though pagination or volume behavior remains unstated.

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 parameters such as league, market, fixture, max_odds, bookmaker, and min_value are already well documented. The description adds meaning for output terms like fair and value but does not add parameter-specific syntax beyond the schema.

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 the specific resource (/value endpoint) and the computed metric: feed prices over the fair price of their side, sorted highest value first. It also names fixture_odds as the sibling for checking suspect prices, so the agent can distinguish it from related odds tools.

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

Usage Guidelines4/5

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

Explicitly limits use to prematch fixtures and explains that in-play feeds are too far apart to trust because a late-only price can look like value. It points to fixture_odds for validation, though it does not explicitly contrast with get_odds or get_arbs.

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