Skip to main content
Glama
DanielTomaro13

sportsdata-mcp

theoddsapi_historical_odds

Read-onlyIdempotent

Retrieve odds as they stood at any past timestamp to analyze closing line value (CLV). Requires a paid The Odds API key.

Instructions

Odds as they stood at a past timestamp — the paid-tier time machine for CLV work.

Returns: {timestamp, previous_timestamp, next_timestamp, data:[…same shape as theoddsapi_odds…]} — WRAPPED in a snapshot envelope, unlike the live call. Historical access is a PAID add-on: the free tier returns 401/422 here.

NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.

Example: EPL odds at a past moment {"sport": "soccer_epl", "date": "2024-08-16T12:00:00Z", "regions": ["au"], "markets": ["h2h"]}

Auth: needs your own key in THE_ODDS_API_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesISO8601 timestamp to snapshot, e.g. 2024-08-16T12:00:00Z.
sportYessport_key. Required — part of the URL path.
marketsNoMarkets.
regionsNoBookmaker regions.
oddsFormatNoPrice format. One of: decimal, american.decimal
Behavior5/5

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

Beyond the readOnlyHint, openWorldHint, and idempotentHint annotations, the description adds critical behavioral details: the response is wrapped in a snapshot envelope with timestamp fields, the free tier returns 401/422, and the payload shape is unverified and approximate. This is transparent and manages expectations about reliability.

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?

The description is well-structured with a clear opening purpose, a return-shape section, an important caveat, a concrete example, and an auth note. Every sentence adds value, and it is front-loaded with the core concept. It is appropriately sized for a tool with this complexity.

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?

With no output schema, the description explains the return envelope and references the sibling odds shape. It also covers paid-tier restrictions, unverified data caveat, and authentication requirement. The example further anchors the parameter usage, making the tool fully understandable for an agent.

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?

The input schema already provides 100% coverage with descriptions for all parameters, so the baseline is 3. The description adds a concrete example showing how 'sport', 'date', 'regions', and 'markets' combine, which further clarifies usage. Since the schema fully documents semantics, the example is a modest but real enhancement.

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?

The description clearly states this tool returns 'Odds as they stood at a past timestamp' and positions it as the 'paid-tier time machine for CLV work.' It also distinguishes itself from the sibling live call by noting the 'snapshot envelope, unlike the live call,' so the purpose is specific and differentiated.

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 provides clear context for when to use it (past-timestamp queries, CLV work) and notes the paid-tier requirement with free-tier error codes. It implies the alternative is the live call (theoddsapi_odds) by contrasting the response shape, though it does not explicitly name other tools or state when NOT to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanielTomaro13/sportsdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server