{"sport":"tennis","brand":"AcesAPI","base_url":"https://mcp.acesapi.com","mcp_url":"https://mcp.acesapi.com/mcp","tools":[{"name":"list_tournaments","description":"Use to find tournaments. Lists a season's tournaments in calendar order with dates, city, surface, whether it is a Grand Slam, status, main-draw match count and the champion. Filter by surface (hard, clay, grass, carpet) and status. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 1 credit.","credits":1,"category":"Static reference","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"season":{"description":"Year, e.g. 2025 (default this year).","type":["string","number"]},"surface":{"description":"Only tournaments on this surface.","type":"string","enum":["hard","clay","grass","carpet"]},"status":{"description":"Only upcoming, in-progress or completed tournaments.","type":"string","enum":["scheduled","live","final"]},"limit":{"description":"Max tournaments (default 100).","type":"integer","minimum":1,"maximum":200},"offset":{"description":"Page offset; use next_offset.","type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}},{"name":"get_tournament","description":"Use for a tournament's draw and results: every singles match of one edition grouped by round in draw order (qualifying, then the main draw to the final), each with the score by set and tiebreak points, seeds, and the champion and runner-up. draw: main (default), qualifying or all. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tournament_id":{"type":"string","description":"Tournament edition id from list_tournaments, e.g. \"188-2025\"."},"draw":{"description":"Which draw (default main).","type":"string","enum":["main","qualifying","all"]},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["tournament_id"],"additionalProperties":false}},{"name":"get_matches","description":"Use for match results by day, tournament or season: each match with both players, seeds, round, status, score and sets (games and tiebreak points). Pass a date (YYYY-MM-DD, UTC), a tournament_id or a season; filter by round (e.g. \"Final\") and status. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"date":{"description":"UTC date, YYYY-MM-DD.","type":"string"},"tournament_id":{"description":"Tournament edition id, e.g. \"188-2025\".","type":"string"},"season":{"description":"Year.","type":["string","number"]},"round":{"description":"Round name as listed, e.g. \"Final\", \"Semifinal\", \"Round 1\".","type":"string"},"status":{"type":"string","enum":["scheduled","live","final"]},"limit":{"description":"Max matches (default 100).","type":"integer","minimum":1,"maximum":500},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}},{"name":"get_schedule","description":"Use for upcoming matches: every scheduled or in-progress singles match in the next N days (default 7, max 30) with players, seeds, round and start time where ESPN has set one. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"days":{"description":"Days ahead (default 7).","type":"integer","minimum":1,"maximum":30},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}},{"name":"get_match","description":"Use for everything about one match: the score by set with tiebreak points, seeds, each player's sets, games and tiebreaks won, both players' ratings before and after (overall and on the surface), and what the score says (total games, tiebreaks, whether it went the distance, comebacks). No serve statistics: ESPN does not publish them. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"match_id":{"type":"string","description":"Match id from get_tournament, get_matches or get_player_matches."},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["match_id"],"additionalProperties":false}},{"name":"search_players","description":"Use to find a player's id. Search by name (accents optional) and/or country code (e.g. ITA); most-played first, with matches, last match and rank on the current list (null outside ESPN's top 100 to 150). Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 1 credit.","credits":1,"category":"Static reference","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"description":"Part of the player's name, e.g. \"sinner\".","type":"string"},"country":{"description":"Three-letter country code, e.g. ESP.","type":"string"},"limit":{"description":"Max players (default 20).","type":"integer","minimum":1,"maximum":100},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}},{"name":"get_player","description":"Use for a player profile: date of birth, country, height, playing hand; latest ranking; our rating overall and per surface with peak; career record (wins, losses, sets, games, tiebreaks, deciding sets), titles, finals and Grand Slam titles; record by surface; and the last 10 matches. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"string","description":"Player id from search_players."},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_player_matches","description":"Use for a player's matches, newest first: tournament, surface, round, opponent, result, score by set and the player's rating before and after. Filter by season, surface, opponent_id, tournament_id or draw. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 5 credits.","credits":5,"category":"Stats + aggregation","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"string","description":"Player id from search_players."},"season":{"description":"Year.","type":["string","number"]},"surface":{"type":"string","enum":["hard","clay","grass","carpet"]},"opponent_id":{"description":"Only matches against this player.","type":"string"},"tournament_id":{"description":"Only this tournament edition, e.g. \"188-2025\".","type":"string"},"draw":{"type":"string","enum":["main","qualifying"]},"limit":{"description":"Max matches (default 50).","type":"integer","minimum":1,"maximum":500},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_head_to_head","description":"Use for two players' head to head: wins each, sets won, wins by surface and in finals, and every meeting with its score. Walkovers are listed but not counted as wins; incomplete records are not counted. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 3 credits.","credits":3,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"string","description":"First player id."},"opponent_id":{"type":"string","description":"Second player id."},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["player_id","opponent_id"],"additionalProperties":false}},{"name":"get_surface_splits","description":"Use for a player's record by surface (hard, clay, grass, carpet): wins, losses, win rate, sets, share of games won, tiebreaks, deciding sets and 6-0 sets, plus the current surface ratings. For one season or the whole career; by_season splits each surface by year. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 3 credits.","credits":3,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"string","description":"Player id from search_players."},"season":{"description":"Year (default the whole career).","type":["string","number"]},"by_season":{"description":"Split each surface by season.","type":"boolean"},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_player_stats","description":"Use for a player's match statistics by season: wins, losses, sets and games won, tiebreaks won and lost, deciding sets, 6-0 sets and retirements, all counted from scores; plus the record by round and by the opponent's ranking (top 10, 11-50, 51-100). No serve statistics: ESPN does not publish them. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 3 credits.","credits":3,"category":"Multi-table","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"player_id":{"type":"string","description":"Player id from search_players."},"season":{"description":"Year (default every season).","type":["string","number"]},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"required":["player_id"],"additionalProperties":false}},{"name":"get_rankings","description":"Use for the ranking list: the latest (default), or a season and week, or the list in force on a date, with rank, previous rank, points and player. Pass player_id instead for one player's ranking history. ESPN keeps the top 100 to 150 for most weeks since 2007. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"season":{"description":"Year.","type":["string","number"]},"week":{"description":"Week number of the season.","type":"integer","minimum":1,"maximum":53},"date":{"description":"The list in force on this date, YYYY-MM-DD.","type":"string"},"player_id":{"description":"One player's ranking history instead of a list.","type":"string"},"limit":{"description":"Max rows of a list (default 100).","type":"integer","minimum":1,"maximum":200},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}},{"name":"get_ratings","description":"Use for our Elo ratings, highest first: overall, or on one surface (hard, clay, grass). Players with a rated match since active_since (default a year ago) and at least 10 rated matches. Tour: atp (default) or wta; on the shared endpoint pass league: \"wta\" for the WTA. Costs 2 credits.","credits":2,"category":"Basic lookup","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"surface":{"description":"Rank by the surface rating instead of overall.","type":"string","enum":["hard","clay","grass","carpet"]},"active_since":{"description":"Only players with a rated match since this date, YYYY-MM-DD (default one year ago).","type":"string"},"limit":{"description":"Max players (default 50).","type":"integer","minimum":1,"maximum":500},"league":{"description":"League. Defaults to tennis. One of: tennis, wta.","type":"string","enum":["tennis","wta"]}},"additionalProperties":false}}]}