match-report
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MATCH_REPORT_CACHE | No | Override the cache directory used by the server (default is ~/.cache/match-report). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Football (soccer) match analysis from StatsBomb Open Data: a free, curated sample of about 4,000 matches (World Cups, Euros, Copa America, much of Messi's La Liga career, single seasons of a few leagues, a lot of women's football). It is not a live feed and most recent club matches are absent; when a match is missing, say so rather than substituting another one.
Typical flow: find_matches -> match_report (image) or match_summary (numbers only). Quote figures from the tool output, not from memory. xG measures shot quality, not a deserved score; check np_xg before calling a side dominant, since each penalty is worth about 0.78 xG. Published graphics must credit StatsBomb.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_competitionsA | List the competition-seasons that have free event data, with match counts. Use this to answer "what can I look at?" or to explain why a match was not found. |
| find_matchesA | Search for matches and get their match_id, teams, score, date and competition. Matching ignores case and accents. Team names are StatsBomb's ("Bayern Munich", "Spain Women's"). If several matches fit and the user's wording does not pick one, show the candidates and ask instead of guessing. |
| match_summaryA | Headline numbers for one match: score, scorers with minutes, xG, shots, passing. Extra time is included; penalty shootouts are reported separately and excluded from
goals, shots and xG. |
| match_shotsA | Every shot in a match in order: player, minute, xG, outcome, type and location. Coordinates are StatsBomb's: x 0-120 towards the goal being attacked, y 0-80 across, so both teams' shots sit near x = 120. Shootout kicks are excluded. |
| match_reportA | Render a one-page match report image and return it with the numbers behind it. The image shows both passing networks, both shot maps, an xG race with goal markers and a stats comparison. The data has no kit colours, so pass each team's recognisable colour; the two must differ clearly and both must show on an off-white background (for a team in white, use its secondary colour). Each passing network covers one settled XI, from kick-off to that team's first substitution after half-time. Returns the PNG, the summary, and the path of a full-resolution copy on disk. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool occupies a distinct stage of a single workflow: discovery (list_competitions), search (find_matches), aggregate summary (match_summary), event detail (match_shots), and rendered output (match_report). The descriptions explicitly delineate scope, e.g. match_shots excludes shootout kicks and match_summary reports them separately, so boundaries are clear. An agent should have no trouble selecting the right tool.
Two discovery tools use verb_noun (list_competitions, find_matches) while the three data tools share a clean match_* noun_prefix family. It is two conventions rather than one, but both are internally consistent and highly predictable given the server name.
Five tools is tightly scoped to the match-report domain with no redundancy: discovery, lookup, summary, shot detail, and rendering. Every tool has an identifiable role in the pipeline and nothing appears vestigial.
The end-to-end workflow (find a match, inspect it, render a report) is fully covered, including competition discovery to explain misses. Minor gaps exist: passers/lineups and passing-network data are only available indirectly through match_report, with no standalone lineup or player-stat tool, and no competition- or season-level aggregation beyond the listing counts.