Skip to main content
Glama
Sports Hub MCP Server

Sports Hub MCP Server

by danmorris27

footballdata: Uk get matches

footballdata_uk_get_matches
Read-onlyIdempotent

Retrieve historical league and season match results with bookmaker odds, newest first; filter by team and set a limit to control returned data.

Instructions

Get historical matches (results + bookmaker odds) for a league and season from football-data.co.uk. Returns the most recent matches first; filter by team and cap with limit.

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": {
      "league": "<league>",
      "season": "<season>"
    },
    "name": "footballdata_uk_get_matches"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamNoFilter to matches involving this team (case-insensitive substring)
limitNoMax matches to return (default 30, most recent first)
fieldsNoKeys to keep (comma-separated).
leagueYesLeague code, e.g. "E0" (Premier League). Use footballdata_uk_list_leagues.
seasonYesSeason code, 4 digits, e.g. "2425" for 2024-25

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, so safety and repeatability are covered. The description adds the useful ordering behavior ('most recent matches first') and content scope (results plus odds), but says nothing about rate limits, auth, or pagination semantics.

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?

Two tight sentences with zero waste; the resource and its distinguishing content (results + odds) are front-loaded, followed by ordering and filtering. Nothing redundant.

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 usefully names the return content (results plus bookmaker odds) and ordering. It covers what an agent needs to call the tool correctly, though it could say more about response shape or pagination given the limit of 400.

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 the schema already documents league codes, season format, team substring matching, limit cap, and fields selection. The description's mention of team filtering and limit only restates schema content, so the baseline of 3 applies.

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 (Get) and resource (historical matches with results and bookmaker odds) for a league and season, and names the data source football-data.co.uk. It does not explicitly differentiate itself from similar siblings like openliga_get_matches_by_league_season or sportsrc_get_matches, but the odds mention and source give it a distinct identity.

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 description implies usage through 'filter by team and cap with limit,' which maps to the optional parameters, but gives no explicit when-to-use vs when-not guidance or alternatives. The schema points to footballdata_uk_list_leagues for the league param, but the description itself carries no routing advice.

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