Skip to main content
Glama

Odds

get_odds
Read-onlyIdempotent

Use for match-winner prices by sportsbook (mid-2020 on, upcoming matches included): each book's opening and latest pregame decimal price, the American price and how many snapshots we hold. For one match, or a competition, season or date. Costs 5 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.

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

Input Schema

NameRequiredDescriptionDefault
dateNoA day of the match (YYYY-MM-DD).
limitNoMax matches (default 20).
leagueNoLeague. Defaults to cricket. One of: cricket, test, odi, t20i, ipl, bbl, psl, cpl, blast, hundred, sa20, ilt20, county, wbbl, wpl, hundred_women.
seasonNo
match_idNoMatch id from get_matches.
competitionNoCompetition key from list_competitions (ipl, bbl, test, odi, t20i, ...).

Output Schema

NameRequiredDescriptionDefault
countYes
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent read, yet the description still adds real behavioral context: the 5-credit cost, the historical coverage window, and the exact per-book fields returned. It also imposes an explicit usage boundary (no stake/payout/profit calculations, no bet recommendations, no directing users to a sportsbook), which is not derivable from any annotation or schema field.

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?

Three sentences, front-loaded with the 'Use for' trigger, then coverage scope, then cost and the market-information guardrail. Every clause carries information an agent needs to select and safely use the tool; nothing is repeated from the schema or annotations.

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 shape need not be spelled out, and the description still summarises the key returned fields. Cost, temporal coverage, filter granularity and the prohibition on derived betting advice together cover everything needed to invoke this tool 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 coverage is 83% and the enum, date format, limit default and match_id provenance are already documented in the schema. The description contributes only the loose scoping model ('for one match, or a competition, season or date') and says nothing about how filters combine or what limit governs, so this is baseline territory.

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 resource and content: match-winner prices by sportsbook, with each book's opening and latest pregame decimal price, American price, and snapshot count. It scopes coverage ('mid-2020 on, upcoming matches included'), which an agent can use to separate it from historical-only tools, but it never names a sibling such as get_line_movement or get_market_vs_model, so differentiation must be inferred.

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?

It gives clear usage context ('Use for match-winner prices', filterable to one match, a competition, a season, or a date) and discloses a 5-credit cost, which affects whether an agent calls it. It stops short of explicit exclusions — it does not say when to prefer get_line_movement or get_market_vs_model instead.

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