Skip to main content
Glama
Tennis Analytics MCP

Tennis Analytics MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TML_DATA_DIRNoPath to an existing local clone of sorukumar/tml-data to skip HTTPS downloads completely.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use search_players or get_player_profile for career stats, get_head_to_head for rivalries, search_matches for filtering the 200k-match archive, get_charting_profile / get_match_charting_stats for point-by-point Match Charting Project shot/rally profiles, and story tools (GSDI, NBI, Race to Greatness, Young Guns, GS Breakthrough) for curated rankings.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_dataset_overviewA

Get live row counts, date coverage (1968-2026), charting coverage, and license attribution.

search_playersA

Search 7,622 Open Era ATP players by name fragment, 3-letter country code (e.g. ESP, ITA, IND), or Grand Slam status.

get_player_profileB

Get a player's full ATP career stats, surface splits, top-10 win rates, Match Charting Project profile (if charted), and recent matches.

get_head_to_headB

Get overall and surface-by-surface head-to-head record plus chronological match results between two ATP players.

search_matchesB

Search 200,105 ATP matches by player, opponent, tournament, surface (Hard/Clay/Grass/Carpet), round, year range, Grand Slam filter, or comeback score.

get_charting_profileC

Get Jeff Sackmann Match Charting Project shot/rally profiles (1st/2nd serve win%, return%, rally length, UF error rate, Serve+1, BP save delta) across 475 players.

get_match_charting_statsB

Inspect point-by-point charted match breakdowns (aces, winners, unforced errors, rally length distribution, TML link) from 7,663 MCP matches.

compare_playersA

Compare 2 to 6 ATP players side by side across career stats, charting styles, and optional age-for-age milestone trajectories.

get_gsdi_rankingsC

Rank the most mathematically dominant Grand Slam title campaigns using the Grand Slam Dominance Index (GSDI).

get_nail_bitersC

Find the highest-drama Grand Slam Finals & Semifinals using the Nail-Biter Index (NBI).

get_greatness_raceB

Compare Big 3, Alcaraz, Sinner, Borg, Sampras, McEnroe, Lendl, and Agassi on titles, Slams, and Masters at any age.

get_young_guns_raceC

Track ATP next-wave talents (Joao Fonseca, Jakub Mensik, Learner Tien, Rafael Jodar) against Alcaraz and Sinner age benchmarks.

get_gs_breakthroughB

Analyze how quickly Open Era Grand Slam champions broke through to their first major title.

get_country_profileB

Explore global Top 100 and Top 10 ATP representation trends (1975-2025) by IOC country code or snapshot year.

get_indian_tennis_statsB

Query India's Open Era ATP singles history and milestone achievements.

Prompts

Interactive templates invoked by user choice

NameDescription
scouting_reportGenerate a data-backed ATP scouting & tactical charting brief for a player.
rivalry_breakdownAnalyze a classic or upcoming ATP rivalry across surfaces, comebacks, and tactical charting matchups.
slam_campaign_auditAudit historical Grand Slam dominance campaigns using GSDI and NBI metrics.

Resources

Contextual data attached and managed by the client

NameDescription
overview_resourceDataset summary, update timestamp, row counts, and data licenses.
gsdi_top_resourceTop 20 Grand Slam Dominance Index runs.
nbi_top_resourceTop 20 Grand Slam Nail-Biter Index matches.
greatness_summary_resourceLatest Career Greatness Race stats across all tracked legends and active stars.
young_guns_resourceLatest Young Guns scouting leaderboard vs Alcaraz/Sinner benchmarks.
global_timeline_resourceGlobal ATP geographic diversity index timeline (1975-2025).
indian_notable_resourceNotable Indian ATP players across the Open Era.

TDQS

B3.4/5.0

Scored across 15 tools

Disambiguation4/5

Most tools have clearly distinct purposes: search vs. profile vs. head-to-head vs. match charting are well separated. Some overlap exists among analytical tools such as compare_players, get_greatness_race, and get_young_guns_race, and between get_indian_tennis_stats and get_country_profile, but descriptions make the boundaries reasonably clear.

Naming Consistency5/5

Tool names follow a consistent snake_case verb_noun pattern, primarily get_* or search_* with clear resource-oriented nouns. Minor abbreviations like gsdi and gs are readable and do not disrupt the convention.

Tool Count5/5

The server has 15 tools, which fits the upper end of a well-scoped analytics surface. Each tool maps to a distinct query type, ranking, or comparison rather than duplicating basic operations.

Completeness4/5

The surface covers core tennis analytics workflows: dataset overview, player search and profiles, match search, head-to-head, charting, country trends, and Grand Slam analyses. Minor gaps exist around tournament-centric queries, broader ranking timelines, and non-charting match detail retrieval, but agents can mostly work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues