Skip to main content
Glama

tennis-scores-api

Fetch live tennis scores, schedules, results, match statistics, rankings, and player data from ATP, WTA, Challenger, ITF, and UTR tours, delivered as one flat row per match for CSV or JSON export.

Instructions

Tennis Scraper & Scores API — ATP, WTA, Live, Stats. Tennis scraper on SofaScore data: live scores, schedules, results, match statistics, point by point, betting odds, ATP and WTA rankings, player profiles and draws for ATP, WTA, Challenger, ITF and UTR. One flat row per match. Export to CSV or JSON, run via API, schedule, or call from AI agents.

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": {
      "mode": "<mode>"
    },
    "name": "tennis-scores-api"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo➡️ Days ahead — How many days after the date to include (0 = that day only, up to 14). Use 6 for a whole tournament week.
modeYes🎾 What to get — Schedule: every match in a date window — upcoming, live and played — for the tours you pick. Live: only what is on court right now. Results: completed matches with scores and winners, newest first. Match: one named match with optional statistics, point-by-point and head-to-head. Plaschedule
queryNo🔍 Name to search (search mode) — Player name, e.g. Alcaraz. Returns the ids you can paste into the fields above.
toursNo🏆 Tours — Which circuits to keep. ATP and WTA are preselected because they are what most buyers want and they keep a run small; the Challenger and ITF levels add several hundred matches a day. Grand Slams appear under ATP and WTA. One request covers the whole day whatever you pick here, so narrowin
statusNo🎯 Keep only — Filter by state. Played keeps everything that produced a result, including retirements and walkovers — the row's own status column says which it was. Not played is the opposite: cancelled, postponed, interrupted.any
wtaYearNo📅 WTA season — Limit the official WTA match history to one season, e.g. 2025. Leave empty for the most recent matches.
dateFromNo📅 Date — Day to list matches for, YYYY-MM-DD in UTC. Leave empty for today. Only a rolling window of roughly two months around today is available from this source.
daysBackNo⬅️ Days back — How many days before the date to include (0–14). Use 1 in Results mode to get yesterday's finished matches as well as today's.
matchIdsNo🆔 Match ids or URLs (match mode) — FlashScore match ids such as pnSMQFtQ, or the match URLs they come from. Ids are in the matchId column of any schedule or results run. They can only be looked up while the match is inside the source's rolling week.
matchTypeNo👥 Singles or doubles — Doubles rows carry both partners in homePartners / awayPartners.all
playerIdsNo🧑 Player ids (player and WTA modes) — Player ids from the homePlayerId / awayPlayerId columns, or numeric WTA ids for the official WTA modes. Use Search mode to find them by name.
maxMatchesNo💯 Maximum rows per run — Safety cap across every mode, and the main control over what a run costs. Fifty rows of ATP and WTA is a normal day.
playerNameNo🔎 Only matches of a player — Keep only matches where a player's name contains this text, e.g. Sinner. Used by schedule, live, results and player modes. A surname is enough.
rankingTopNo🥇 Ranking rows per tour — How many players from the top of each list. One hundred per page, so 100 is one request per tour.
concurrencyNoParallel requests — How many requests to run at once. Three is gentle and enough for a day of matches; raise it only when the extras are on for a long list.
newestFirstNo🆕 Most recent first — In the official WTA match history, start from the latest matches instead of the start of the player's career.
playerNamesNo🔍 WTA player names — Players to look up in the official WTA modes, by name, e.g. Sabalenka. Each name is resolved against the tour's own player list.
rankingTourNo🥇 Rankings tour (rankings mode) — Which official ranking to read. Each list comes from that tour's own site, so one failing does not take the other down.both
wtaDisciplineNo🏆 WTA ranking table — Singles or doubles list, used by the WTA official — rankings mode.singles
includeHeadToHeadNo🤝 Add head-to-head to every match — Recent form of both players and their previous meetings, grouped by surface. This is the heaviest extra — well over a hundred kilobytes per match — so use it on a short list, not a whole day.
includeStatisticsNo📊 Add match statistics to every match — Aces, double faults, first and second serve, break points, winners, points and games won — for the whole match and per set, around 65 numbers. Available once a match is under way. One extra request and one extra billed row per match.
rankingDisciplineNo🥇 Rankings: singles or doubles — Doubles lists can share a rank between two players; such rows carry tied: true and the next rank is skipped, exactly as the tour publishes it.singles
proxyConfigurationNoProxy configuration — Off by default, on purpose. This source answers ordinary datacenter addresses, and one day of matches is well over a megabyte — pushing that through residential addresses would cost more in bandwidth than the rows themselves. If a run is ever refused, the Actor retries through
includePointByPointNo🎯 Add point-by-point to every match — Every game of every set with its point sequence, who served and who won the game. For modelling and trading; leave off if you only need scores.
maxMatchesPerPlayerNoMatches per player (player and WTA modes) — How many of a player's matches to return. In player mode the search walks back day by day, so a wider Days back finds more.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real value by naming the upstream source (SofaScore) and the output shape ('One flat row per match'), which tells an agent how to consume the results. It says nothing about cost, rate limits, failure behavior, or the rolling data window caveats that a caller would need — though those live in the schema descriptions rather than here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four compact sentences, front-loaded with the domain and the source. There is mild redundancy between 'ATP, WTA, Live, Stats' in the tag line and the following enumeration, and the closing sentence about export/scheduling is marketing filler rather than invocation help, but nothing bloats it badly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 25 parameters, 11 mutually exclusive modes, and no output schema, the description is thinner than ideal: it never gives the agent a mental model of how the modes relate or which one maps to a given request, leaving that entirely to the enum text. What it does say about data source and row shape is accurate and useful, but the mode-selection burden is largely unaddressed here.

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% and every one of the 25 parameters carries a detailed inline description, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond the general capability list, which is the expected baseline when coverage is complete.

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 names a specific resource (tennis match data) and enumerates concrete capabilities: live scores, schedules, results, match statistics, point-by-point, odds, rankings, player profiles and draws across ATP, WTA, Challenger, ITF and UTR. An agent can tell broadly what domain this covers, but the eleven operating modes are never separated from one another, and no sibling (e.g. sports-odds-api, which overlaps on betting odds) is explicitly distinguished.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. 'Export to CSV or JSON, run via API, schedule, or call from AI agents' describes delivery channels, not selection criteria. The only routing help lives in the mode enum descriptions inside the schema, so the description itself gives the agent nothing to choose between modes or competing tools.

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