{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.livetennisapi.com",
    "site": "livetennisapi.com",
    "addresses": [
      {
        "address": "104.26.8.180",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.72.199",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.9.180",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:8b4",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:48c7",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "prefix": "2606:4700:20::/44",
          "country": "US",
          "name": "CLOUDFLARENET - Cloudflare, Inc."
        }
      },
      {
        "address": "2606:4700:20::681a:9b4",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "prefix": "2606:4700:20::/44",
          "country": "US",
          "name": "CLOUDFLARENET - Cloudflare, Inc."
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.8.180",
          "172.67.72.199",
          "104.26.9.180",
          "2606:4700:20::681a:8b4",
          "2606:4700:20::ac43:48c7",
          "2606:4700:20::681a:9b4"
        ],
        "first_seen": "2026-11-22T20:22:05.895Z",
        "last_seen": "2026-11-22T20:22:05.895Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.9.180",
          "104.26.8.180",
          "172.67.72.199",
          "2606:4700:20::681a:9b4",
          "2606:4700:20::ac43:48c7",
          "2606:4700:20::681a:8b4"
        ],
        "first_seen": "2026-11-21T16:12:01.129Z",
        "last_seen": "2026-11-21T16:12:01.129Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "livetennisapi",
      "version": "1.6.5",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=15552000",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.livetennisapi",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/livetennisapi/livetennisapi-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "31492",
    "server_name": "io.github.livetennisapi/livetennisapi-mcp",
    "url": "https://mcp.livetennisapi.com/mcp",
    "host": "mcp.livetennisapi.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T20:22:05.895Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "dabf66f6f1da6ee2d090e4e65db6e706dc6e5931e9d19364997b4e2d9db45c5d",
    "first_listed_at": "2026-11-21T16:12:01.129Z",
    "created_at": "2026-11-21T10:15:06.427Z",
    "resolved_addresses": [
      "104.26.8.180",
      "172.67.72.199",
      "104.26.9.180",
      "2606:4700:20::681a:8b4",
      "2606:4700:20::ac43:48c7",
      "2606:4700:20::681a:9b4"
    ]
  },
  "server": {
    "name": "io.github.livetennisapi/livetennisapi-mcp",
    "title": null,
    "description": "Live tennis scores, players, rankings, odds and win-probability. ATP, WTA, Challenger, ITF, juniors.",
    "version": "1.6.5",
    "registry_status": "active",
    "repository_url": "https://github.com/livetennisapi/livetennisapi-mcp",
    "website_url": "https://livetennisapi.com",
    "published_at": "2026-10-28T04:33:49.030Z",
    "updated_at": "2026-10-28T04:33:49.030Z",
    "first_seen": "2026-11-21T10:15:05.844Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:39:14.088Z"
  },
  "operator": {
    "key": "livetennisapi.com",
    "name": "livetennisapi.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 314,
    "first_check_in_window": "2026-11-21T16:12:01.129Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "dabf66f6f1da6ee2d090e4e65db6e706dc6e5931e9d19364997b4e2d9db45c5d",
    "tools": 25,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T16:12:01.438Z",
    "tool_names": [
      "get_live_matches",
      "get_upcoming_matches",
      "get_match",
      "get_match_score",
      "search_players",
      "get_player",
      "get_fixtures",
      "search_tournaments",
      "get_tournament",
      "get_recent_results",
      "search_archive_matches",
      "get_archive_match",
      "search_archive_players",
      "get_archive_career",
      "get_h2h",
      "get_match_events",
      "get_match_odds",
      "get_rankings",
      "player_stats",
      "get_match_analysis",
      "get_player_rankings",
      "get_match_statistics",
      "get_charting_player",
      "get_charting_match",
      "check_api_status"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_live_matches",
          "title": "Live matches",
          "description": "List tennis matches currently in progress, with live scores. Covers ATP, WTA, Challenger, ITF and juniors. Use this for \"what tennis is on right now\". Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "tour": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "Tour filter. Each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum matches to return (1-200)."
              },
              "player": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 50,
                "description": "Player ids (from search_players), max 50. Keeps matches where ANY listed player is either participant."
              },
              "country": {
                "type": "string",
                "maxLength": 3,
                "minLength": 3,
                "description": "Either participant's country: the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "matches": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "tour",
                    "tournament",
                    "tournament_id",
                    "round",
                    "round_code",
                    "player1",
                    "player2",
                    "score",
                    "status",
                    "scheduled_time",
                    "surface",
                    "indoor",
                    "serving",
                    "winner",
                    "event_status",
                    "event_status_updated_at",
                    "withdrew",
                    "has_analysis",
                    "has_market",
                    "win_probability_p1"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Match id. Pass to get_match, get_match_score, get_match_events or get_match_odds."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, challenger, itf or juniors. Null when no tour is recorded (exhibitions, team events)."
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round within the event, e.g. \"QF\"."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Formatted score line, e.g. \"6-4 3-6 2-1\"."
                    },
                    "indoor": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when played indoors."
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "One of live, upcoming, completed or cancelled."
                    },
                    "winner": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 once decided, otherwise null."
                    },
                    "player1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 1."
                    },
                    "player2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 2."
                    },
                    "serving": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 while a point is in play, otherwise null."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface, e.g. hard, clay, grass."
                    },
                    "withdrew": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Completed matches only: which player retired or conceded the walkover, 1 or 2. Null means \"not a withdrawal, or no evidence\", never a guess."
                    },
                    "has_market": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a match-winner market is mapped to this match (added 2026-09-02, every tier). Filter on this before calling get_match_odds, which reports the same absence. Null only when the server predates the field."
                    },
                    "round_code": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round in the normalized vocabulary (F, SF, QF, R16 ... Q). Null when the label is unrecognised, never guessed."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event name, e.g. \"Wimbledon\"."
                    },
                    "event_status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "How the match ended (or paused) when it did not run its course: Retired, Cancelled, Walk Over, Postponed or Interrupted. Null means completed normally OR never resolved. Branch settlement logic here."
                    },
                    "has_analysis": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a model thesis or profile exists for this match (added 2026-09-02, every tier). Filter on this before calling get_match_analysis, which reports the same absence. Null only when the server predates the field."
                    },
                    "tournament_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stable tournament id. Pass to get_tournament. Null where uncatalogued."
                    },
                    "scheduled_time": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Scheduled start, UTC ISO-8601. Null when no start time is set yet."
                    },
                    "win_probability_p1": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Model probability that player 1 wins, 0-1. Requires the ULTRA plan, null otherwise."
                    },
                    "event_status_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The instant the current event_status was recorded, UTC ISO-8601 (added 2026-08-19). Null while the status has never changed since the field was introduced. Never backfilled."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "The live matches, most relevant first."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_upcoming_matches",
          "title": "Upcoming matches",
          "description": "List tennis matches scheduled to start soon, with players, tournament and start time. Use this for \"who plays next\" or to find a match id before it starts. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "type": "string",
                "description": "Latest play date: YYYY-MM-DD or ISO-8601. Must not precede from."
              },
              "from": {
                "type": "string",
                "description": "Earliest play date: YYYY-MM-DD (a whole UTC day) or ISO-8601 datetime."
              },
              "tour": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "Tour filter. Each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum matches to return (1-200)."
              },
              "player": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 50,
                "description": "Player ids (from search_players), max 50. Keeps matches where ANY listed player is either participant."
              },
              "country": {
                "type": "string",
                "maxLength": 3,
                "minLength": 3,
                "description": "Either participant's country: the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "matches": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "tour",
                    "tournament",
                    "tournament_id",
                    "round",
                    "round_code",
                    "player1",
                    "player2",
                    "score",
                    "status",
                    "scheduled_time",
                    "surface",
                    "indoor",
                    "serving",
                    "winner",
                    "event_status",
                    "event_status_updated_at",
                    "withdrew",
                    "has_analysis",
                    "has_market",
                    "win_probability_p1"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Match id. Pass to get_match, get_match_score, get_match_events or get_match_odds."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, challenger, itf or juniors. Null when no tour is recorded (exhibitions, team events)."
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round within the event, e.g. \"QF\"."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Formatted score line, e.g. \"6-4 3-6 2-1\"."
                    },
                    "indoor": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when played indoors."
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "One of live, upcoming, completed or cancelled."
                    },
                    "winner": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 once decided, otherwise null."
                    },
                    "player1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 1."
                    },
                    "player2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 2."
                    },
                    "serving": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 while a point is in play, otherwise null."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface, e.g. hard, clay, grass."
                    },
                    "withdrew": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Completed matches only: which player retired or conceded the walkover, 1 or 2. Null means \"not a withdrawal, or no evidence\", never a guess."
                    },
                    "has_market": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a match-winner market is mapped to this match (added 2026-09-02, every tier). Filter on this before calling get_match_odds, which reports the same absence. Null only when the server predates the field."
                    },
                    "round_code": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round in the normalized vocabulary (F, SF, QF, R16 ... Q). Null when the label is unrecognised, never guessed."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event name, e.g. \"Wimbledon\"."
                    },
                    "event_status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "How the match ended (or paused) when it did not run its course: Retired, Cancelled, Walk Over, Postponed or Interrupted. Null means completed normally OR never resolved. Branch settlement logic here."
                    },
                    "has_analysis": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a model thesis or profile exists for this match (added 2026-09-02, every tier). Filter on this before calling get_match_analysis, which reports the same absence. Null only when the server predates the field."
                    },
                    "tournament_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stable tournament id. Pass to get_tournament. Null where uncatalogued."
                    },
                    "scheduled_time": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Scheduled start, UTC ISO-8601. Null when no start time is set yet."
                    },
                    "win_probability_p1": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Model probability that player 1 wins, 0-1. Requires the ULTRA plan, null otherwise."
                    },
                    "event_status_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The instant the current event_status was recorded, UTC ISO-8601 (added 2026-08-19). Null while the status has never changed since the field was introduced. Never backfilled."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Matches due to start, soonest first."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match",
          "title": "Match detail",
          "description": "Full detail for one match by id: players, score, surface, round and status. Includes market prices on PRO and model analysis on ULTRA. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "match": {
                "type": "object",
                "required": [
                  "id",
                  "tour",
                  "tournament",
                  "tournament_id",
                  "round",
                  "round_code",
                  "player1",
                  "player2",
                  "score",
                  "status",
                  "scheduled_time",
                  "surface",
                  "indoor",
                  "serving",
                  "winner",
                  "event_status",
                  "event_status_updated_at",
                  "withdrew",
                  "has_analysis",
                  "has_market",
                  "win_probability_p1"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Match id. Pass to get_match, get_match_score, get_match_events or get_match_odds."
                  },
                  "tour": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "atp, wta, challenger, itf or juniors. Null when no tour is recorded (exhibitions, team events)."
                  },
                  "round": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Round within the event, e.g. \"QF\"."
                  },
                  "score": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Formatted score line, e.g. \"6-4 3-6 2-1\"."
                  },
                  "indoor": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True when played indoors."
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "One of live, upcoming, completed or cancelled."
                  },
                  "winner": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "1 or 2 once decided, otherwise null."
                  },
                  "player1": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Name of player 1."
                  },
                  "player2": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Name of player 2."
                  },
                  "serving": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "1 or 2 while a point is in play, otherwise null."
                  },
                  "surface": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Court surface, e.g. hard, clay, grass."
                  },
                  "withdrew": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Completed matches only: which player retired or conceded the walkover, 1 or 2. Null means \"not a withdrawal, or no evidence\", never a guess."
                  },
                  "has_market": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Whether a match-winner market is mapped to this match (added 2026-09-02, every tier). Filter on this before calling get_match_odds, which reports the same absence. Null only when the server predates the field."
                  },
                  "round_code": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Round in the normalized vocabulary (F, SF, QF, R16 ... Q). Null when the label is unrecognised, never guessed."
                  },
                  "tournament": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Event name, e.g. \"Wimbledon\"."
                  },
                  "event_status": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "How the match ended (or paused) when it did not run its course: Retired, Cancelled, Walk Over, Postponed or Interrupted. Null means completed normally OR never resolved. Branch settlement logic here."
                  },
                  "has_analysis": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Whether a model thesis or profile exists for this match (added 2026-09-02, every tier). Filter on this before calling get_match_analysis, which reports the same absence. Null only when the server predates the field."
                  },
                  "tournament_id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Stable tournament id. Pass to get_tournament. Null where uncatalogued."
                  },
                  "scheduled_time": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Scheduled start, UTC ISO-8601. Null when no start time is set yet."
                  },
                  "win_probability_p1": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Model probability that player 1 wins, 0-1. Requires the ULTRA plan, null otherwise."
                  },
                  "event_status_updated_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The instant the current event_status was recorded, UTC ISO-8601 (added 2026-08-19). Null while the status has never changed since the field was introduced. Never backfilled."
                  }
                },
                "description": "The match.",
                "additionalProperties": false
              },
              "market": {
                "type": "object",
                "required": [
                  "question",
                  "prices"
                ],
                "properties": {
                  "prices": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "side",
                        "mid",
                        "bid",
                        "ask",
                        "timestamp"
                      ],
                      "properties": {
                        "ask": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Best ask."
                        },
                        "bid": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Best bid."
                        },
                        "mid": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Mid price, 0-1, readable as implied probability."
                        },
                        "side": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Which player this price is for, 1 or 2."
                        },
                        "timestamp": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When the price was observed."
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "Current prices per player."
                  },
                  "question": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The market being priced."
                  }
                },
                "description": "Match-winner market. Requires the PRO plan, absent otherwise.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "analysis": {
                "type": "object",
                "required": [
                  "win_probability_p1",
                  "key_factors"
                ],
                "properties": {
                  "key_factors": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Drivers behind the model view."
                  },
                  "win_probability_p1": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Model probability player 1 wins, 0-1."
                  }
                },
                "description": "Model analysis. Requires the ULTRA plan, absent otherwise.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match_score",
          "title": "Match score",
          "description": "Current score for one match. This is the fastest read, with the lowest latency. Use it when you only need the score and already know the match id. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "score": {
                "type": "object",
                "required": [
                  "formatted",
                  "sets",
                  "serving",
                  "is_tiebreak",
                  "win_probability_p1"
                ],
                "properties": {
                  "sets": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Sets won per player."
                  },
                  "serving": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Which player is serving, 1 or 2."
                  },
                  "formatted": {
                    "type": "string",
                    "description": "Formatted score line."
                  },
                  "is_tiebreak": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True during a tiebreak."
                  },
                  "win_probability_p1": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Model probability player 1 wins, 0-1. ULTRA only."
                  }
                },
                "description": "The current score.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_players",
          "title": "Search players",
          "description": "Search tennis players by name. Returns id, country, ranking and tour. Use the returned id with get_player. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum players to return (1-200)."
              },
              "query": {
                "type": "string",
                "minLength": 1,
                "description": "Full or partial player name, e.g. \"alcaraz\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "players": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "country",
                    "ranking",
                    "ranking_points",
                    "ranking_movement",
                    "hand",
                    "birthday",
                    "tour"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Player id. Pass to get_player."
                    },
                    "hand": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "\"R\" or \"L\"."
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Player name."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ATP, WTA, Challenger or ITF."
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Country code."
                    },
                    "ranking": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Current singles ranking."
                    },
                    "birthday": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Date of birth, ISO date."
                    },
                    "ranking_points": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Ranking points."
                    },
                    "ranking_movement": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Recent movement in the rankings."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Matching players, best match first."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_player",
          "title": "Player profile",
          "description": "One player's profile: ranking, country, handedness, date of birth and cached stats. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "player_id"
            ],
            "properties": {
              "player_id": {
                "type": "integer",
                "description": "Player id, as returned by search_players."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "player": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "country",
                  "ranking",
                  "ranking_points",
                  "ranking_movement",
                  "hand",
                  "birthday",
                  "tour"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Player id. Pass to get_player."
                  },
                  "hand": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "\"R\" or \"L\"."
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Player name."
                  },
                  "tour": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "ATP, WTA, Challenger or ITF."
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Country code."
                  },
                  "ranking": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Current singles ranking."
                  },
                  "birthday": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Date of birth, ISO date."
                  },
                  "ranking_points": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Ranking points."
                  },
                  "ranking_movement": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Recent movement in the rankings."
                  }
                },
                "description": "The player.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_fixtures",
          "title": "Fixture schedule",
          "description": "Upcoming scheduled tennis fixtures, earliest first. This is the forward schedule, filterable by tour. Use this for \"what is on this week\". Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "tour": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "Tour filter. Each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum fixtures to return (1-200)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "fixtures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "event_date",
                    "start_time",
                    "tournament",
                    "round",
                    "player1",
                    "player2"
                  ],
                  "properties": {
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round within the event."
                    },
                    "player1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 1."
                    },
                    "player2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 2."
                    },
                    "event_date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Scheduled date, YYYY-MM-DD."
                    },
                    "start_time": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Scheduled start, UTC ISO-8601. Null until the order of play assigns a time."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event name."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Scheduled fixtures, earliest first."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_tournaments",
          "title": "Tournament catalogue",
          "description": "Search the tournament catalogue. Its ids are the tournament_id that match objects carry. Returns surface, indoor, host city/country and category where curated. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "tour": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "Restrict to one tour."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum tournaments to return (1-200)."
              },
              "query": {
                "type": "string",
                "description": "Full or partial tournament name, e.g. \"wimbledon\". Omit to list all."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "tournaments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "tour",
                    "surface",
                    "indoor",
                    "city",
                    "country",
                    "category"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stable tournament id, the same id match objects carry as tournament_id."
                    },
                    "city": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Host city, from a curated table. Null where not curated."
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tournament name."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, challenger, itf or juniors."
                    },
                    "indoor": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when played indoors."
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Host country, ISO-3166 alpha-2. Null where not curated."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface: hard, clay or grass."
                    },
                    "category": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tournament category (grand_slam, masters_1000, tour_finals, atp_500, atp_250, wta_1000, wta_500, wta_250, wta_125, challenger, itf, juniors). Set only where the category is unambiguous. Null otherwise, never derived from the name."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Matching tournaments, name order."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_tournament",
          "title": "Tournament detail",
          "description": "One tournament by its stable id, the tournament_id carried on match objects. Name, tour, surface, indoor, plus host city/country and category where curated. Works on the FREE plan (no card needed).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "tournament_id"
            ],
            "properties": {
              "tournament_id": {
                "type": "string",
                "description": "Stable tournament id, as returned by search_tournaments or carried on a match as tournament_id."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "tournament": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "tour",
                  "surface",
                  "indoor",
                  "city",
                  "country",
                  "category"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Stable tournament id, the same id match objects carry as tournament_id."
                  },
                  "city": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Host city, from a curated table. Null where not curated."
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Tournament name."
                  },
                  "tour": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "atp, wta, challenger, itf or juniors."
                  },
                  "indoor": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True when played indoors."
                  },
                  "country": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Host country, ISO-3166 alpha-2. Null where not curated."
                  },
                  "surface": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Court surface: hard, clay or grass."
                  },
                  "category": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Tournament category (grand_slam, masters_1000, tour_finals, atp_500, atp_250, wta_1000, wta_500, wta_250, wta_125, challenger, itf, juniors). Set only where the category is unambiguous. Null otherwise, never derived from the name."
                  }
                },
                "description": "The tournament.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_recent_results",
          "title": "Recent results",
          "description": "Recently completed tennis matches with final scores and winners. Filterable by tour, player, nationality and play date. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "type": "string",
                "description": "Latest play date: YYYY-MM-DD or ISO-8601. Must not precede from."
              },
              "from": {
                "type": "string",
                "description": "Earliest play date: YYYY-MM-DD (a whole UTC day) or ISO-8601 datetime."
              },
              "tour": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "Tour filter. Each name covers its doubles variants. Exhibition/team events carry no tour and are excluded whenever the filter is used."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum matches to return (1-200)."
              },
              "player": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 50,
                "description": "Player ids (from search_players), max 50. Keeps matches where ANY listed player is either participant."
              },
              "country": {
                "type": "string",
                "maxLength": 3,
                "minLength": 3,
                "description": "Either participant's country: the lowercase 3-letter IOC-style code the Player object returns (e.g. ned, sui, gre), NOT ISO-3166. Players with no recorded country never match."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "matches": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "tour",
                    "tournament",
                    "tournament_id",
                    "round",
                    "round_code",
                    "player1",
                    "player2",
                    "score",
                    "status",
                    "scheduled_time",
                    "surface",
                    "indoor",
                    "serving",
                    "winner",
                    "event_status",
                    "event_status_updated_at",
                    "withdrew",
                    "has_analysis",
                    "has_market",
                    "win_probability_p1"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Match id. Pass to get_match, get_match_score, get_match_events or get_match_odds."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, challenger, itf or juniors. Null when no tour is recorded (exhibitions, team events)."
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round within the event, e.g. \"QF\"."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Formatted score line, e.g. \"6-4 3-6 2-1\"."
                    },
                    "indoor": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when played indoors."
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "One of live, upcoming, completed or cancelled."
                    },
                    "winner": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 once decided, otherwise null."
                    },
                    "player1": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 1."
                    },
                    "player2": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Name of player 2."
                    },
                    "serving": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 while a point is in play, otherwise null."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface, e.g. hard, clay, grass."
                    },
                    "withdrew": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Completed matches only: which player retired or conceded the walkover, 1 or 2. Null means \"not a withdrawal, or no evidence\", never a guess."
                    },
                    "has_market": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a match-winner market is mapped to this match (added 2026-09-02, every tier). Filter on this before calling get_match_odds, which reports the same absence. Null only when the server predates the field."
                    },
                    "round_code": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round in the normalized vocabulary (F, SF, QF, R16 ... Q). Null when the label is unrecognised, never guessed."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event name, e.g. \"Wimbledon\"."
                    },
                    "event_status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "How the match ended (or paused) when it did not run its course: Retired, Cancelled, Walk Over, Postponed or Interrupted. Null means completed normally OR never resolved. Branch settlement logic here."
                    },
                    "has_analysis": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Whether a model thesis or profile exists for this match (added 2026-09-02, every tier). Filter on this before calling get_match_analysis, which reports the same absence. Null only when the server predates the field."
                    },
                    "tournament_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stable tournament id. Pass to get_tournament. Null where uncatalogued."
                    },
                    "scheduled_time": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Scheduled start, UTC ISO-8601. Null when no start time is set yet."
                    },
                    "win_probability_p1": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Model probability that player 1 wins, 0-1. Requires the ULTRA plan, null otherwise."
                    },
                    "event_status_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The instant the current event_status was recorded, UTC ISO-8601 (added 2026-08-19). Null while the status has never changed since the field was introduced. Never backfilled."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Completed matches, most recent first."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_archive_matches",
          "title": "Results archive (1968–2022)",
          "description": "Search the results archive: completed-match RESULTS from 1968 through 2022. ATP and WTA, main draws, qualifying and the ITF/futures tiers. Each record has winner and loser, final score, and seeds and ranks AT THE TIME of the match. Use this for historical questions (\"Borg's Wimbledon finals\"). The archive ends 2022-12-31, where the current results (get_recent_results) begin. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "type": "string",
                "description": "Latest tournament START date, YYYY-MM-DD."
              },
              "from": {
                "type": "string",
                "description": "Earliest tournament START date, YYYY-MM-DD."
              },
              "tour": {
                "enum": [
                  "atp",
                  "wta"
                ],
                "type": "string",
                "description": "atp or wta."
              },
              "level": {
                "type": "string",
                "description": "Tier code: G=grand slam, M=masters, A=tour, F=finals, D=davis cup, C=challenger, O=olympics. Or a futures category code (e.g. 15)."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum results to return (1-200)."
              },
              "round": {
                "enum": [
                  "F",
                  "SF",
                  "QF",
                  "R16",
                  "R32",
                  "R64",
                  "R128",
                  "RR",
                  "BR",
                  "Q1",
                  "Q2",
                  "Q3",
                  "Q4",
                  "ER"
                ],
                "type": "string",
                "description": "Round code, e.g. F for finals."
              },
              "player_name": {
                "type": "string",
                "minLength": 3,
                "description": "Case-insensitive fragment of EITHER player's name, min 3 chars, e.g. \"borg\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "tour",
                    "tournament",
                    "event_date",
                    "round",
                    "level",
                    "surface",
                    "score",
                    "outcome",
                    "winner",
                    "loser"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Archive match id. Pass to get_archive_match for the detail read with stats."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp or wta. The results archive covers those two tours."
                    },
                    "level": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tier code: G, M, A, F, D, C, O, or a futures category code."
                    },
                    "loser": {
                      "type": "object",
                      "required": [
                        "name",
                        "country",
                        "rank",
                        "seed",
                        "player_id",
                        "hand",
                        "height_cm",
                        "age",
                        "entry"
                      ],
                      "properties": {
                        "age": {
                          "$ref": "#/properties/results/items/properties/winner/properties/age"
                        },
                        "hand": {
                          "$ref": "#/properties/results/items/properties/winner/properties/hand"
                        },
                        "name": {
                          "$ref": "#/properties/results/items/properties/winner/properties/name"
                        },
                        "rank": {
                          "$ref": "#/properties/results/items/properties/winner/properties/rank"
                        },
                        "seed": {
                          "$ref": "#/properties/results/items/properties/winner/properties/seed"
                        },
                        "entry": {
                          "$ref": "#/properties/results/items/properties/winner/properties/entry"
                        },
                        "country": {
                          "$ref": "#/properties/results/items/properties/winner/properties/country"
                        },
                        "height_cm": {
                          "$ref": "#/properties/results/items/properties/winner/properties/height_cm"
                        },
                        "player_id": {
                          "$ref": "#/properties/results/items/properties/winner/properties/player_id"
                        }
                      },
                      "description": "The loser.",
                      "additionalProperties": false
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round code: F, SF, QF, R16 … Q1-Q4."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The final score as published, e.g. \"6-4 7-6(5)\", \"6-3 RET\", \"W/O\"."
                    },
                    "winner": {
                      "type": "object",
                      "required": [
                        "name",
                        "country",
                        "rank",
                        "seed",
                        "player_id",
                        "hand",
                        "height_cm",
                        "age",
                        "entry"
                      ],
                      "properties": {
                        "age": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Age at the time of the match."
                        },
                        "hand": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "\"R\" or \"L\"."
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Player name as the corpus records it."
                        },
                        "rank": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Rank AT THE TIME of the match, as published."
                        },
                        "seed": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Seeding, where seeded."
                        },
                        "entry": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Draw entry where recorded (WC, Q, LL, ...). Null for direct acceptances."
                        },
                        "country": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "3-letter country code."
                        },
                        "height_cm": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Height in cm, where recorded."
                        },
                        "player_id": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Corpus person id. Join it to search_archive_players results for bios. NOT a roster player id."
                        }
                      },
                      "description": "The winner, a stored field in the corpus, never an inference.",
                      "additionalProperties": false
                    },
                    "outcome": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "completed, retired, walkover, default or abandoned. Parsed, null when unparseable."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface."
                    },
                    "event_date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The tournament START date. Per-match dates do not exist in this era's records."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tournament name."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Archive results, newest tournament first."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_archive_match",
          "title": "Archive result detail",
          "description": "One result from the results archive (1968 to 2022), with per-match serve statistics where the era recorded them. Stats are null for most rows before 1991, never synthesised. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "archive_match_id"
            ],
            "properties": {
              "archive_match_id": {
                "type": "integer",
                "description": "Archive match id, as returned by search_archive_matches."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "stats": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "winner",
                      "loser"
                    ],
                    "properties": {
                      "loser": {
                        "anyOf": [
                          {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Serve stats for the loser, where recorded."
                      },
                      "winner": {
                        "anyOf": [
                          {
                            "type": "object",
                            "additionalProperties": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Serve stats for the winner, where recorded."
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Per-match serve statistics (aces, double_faults, serve_points, first_in, first_won, second_won, serve_games, bp_saved, bp_faced). Null for most pre-1991 rows."
              },
              "result": {
                "type": "object",
                "required": [
                  "id",
                  "tour",
                  "tournament",
                  "event_date",
                  "round",
                  "level",
                  "surface",
                  "score",
                  "outcome",
                  "winner",
                  "loser"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Archive match id. Pass to get_archive_match for the detail read with stats."
                  },
                  "tour": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "atp or wta. The results archive covers those two tours."
                  },
                  "level": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Tier code: G, M, A, F, D, C, O, or a futures category code."
                  },
                  "loser": {
                    "type": "object",
                    "required": [
                      "name",
                      "country",
                      "rank",
                      "seed",
                      "player_id",
                      "hand",
                      "height_cm",
                      "age",
                      "entry"
                    ],
                    "properties": {
                      "age": {
                        "$ref": "#/properties/result/properties/winner/properties/age"
                      },
                      "hand": {
                        "$ref": "#/properties/result/properties/winner/properties/hand"
                      },
                      "name": {
                        "$ref": "#/properties/result/properties/winner/properties/name"
                      },
                      "rank": {
                        "$ref": "#/properties/result/properties/winner/properties/rank"
                      },
                      "seed": {
                        "$ref": "#/properties/result/properties/winner/properties/seed"
                      },
                      "entry": {
                        "$ref": "#/properties/result/properties/winner/properties/entry"
                      },
                      "country": {
                        "$ref": "#/properties/result/properties/winner/properties/country"
                      },
                      "height_cm": {
                        "$ref": "#/properties/result/properties/winner/properties/height_cm"
                      },
                      "player_id": {
                        "$ref": "#/properties/result/properties/winner/properties/player_id"
                      }
                    },
                    "description": "The loser.",
                    "additionalProperties": false
                  },
                  "round": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Round code: F, SF, QF, R16 … Q1-Q4."
                  },
                  "score": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The final score as published, e.g. \"6-4 7-6(5)\", \"6-3 RET\", \"W/O\"."
                  },
                  "winner": {
                    "type": "object",
                    "required": [
                      "name",
                      "country",
                      "rank",
                      "seed",
                      "player_id",
                      "hand",
                      "height_cm",
                      "age",
                      "entry"
                    ],
                    "properties": {
                      "age": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Age at the time of the match."
                      },
                      "hand": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "\"R\" or \"L\"."
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Player name as the corpus records it."
                      },
                      "rank": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Rank AT THE TIME of the match, as published."
                      },
                      "seed": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Seeding, where seeded."
                      },
                      "entry": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Draw entry where recorded (WC, Q, LL, ...). Null for direct acceptances."
                      },
                      "country": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "3-letter country code."
                      },
                      "height_cm": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Height in cm, where recorded."
                      },
                      "player_id": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Corpus person id. Join it to search_archive_players results for bios. NOT a roster player id."
                      }
                    },
                    "description": "The winner, a stored field in the corpus, never an inference.",
                    "additionalProperties": false
                  },
                  "outcome": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "completed, retired, walkover, default or abandoned. Parsed, null when unparseable."
                  },
                  "surface": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Court surface."
                  },
                  "event_date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The tournament START date. Per-match dates do not exist in this era's records."
                  },
                  "tournament": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Tournament name."
                  }
                },
                "description": "The archive result.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_archive_players",
          "title": "Archive player bios",
          "description": "The people of the results archive (1968 to 2022): hand, date of birth, country, height, and career-high rank with the week it was first reached. Their ids are corpus person ids (the winner/loser player_id on archive results), not roster ids. For current players use search_players. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query"
            ],
            "properties": {
              "tour": {
                "enum": [
                  "atp",
                  "wta"
                ],
                "type": "string",
                "description": "atp or wta."
              },
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum players to return (1-200)."
              },
              "query": {
                "type": "string",
                "minLength": 3,
                "description": "Full or partial player name, min 3 chars, e.g. \"navratilova\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "players": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "tour",
                    "name",
                    "hand",
                    "dob",
                    "country",
                    "height_cm",
                    "career_high_rank",
                    "career_high_date"
                  ],
                  "properties": {
                    "id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Corpus person id, the id archive match rows carry as winner/loser player_id. NOT a roster id."
                    },
                    "dob": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Date of birth, ISO date."
                    },
                    "hand": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "\"R\" or \"L\"."
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Player name."
                    },
                    "tour": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp or wta."
                    },
                    "country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "3-letter country code."
                    },
                    "height_cm": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Height in cm."
                    },
                    "career_high_date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The earliest week the career-high rank was reached."
                    },
                    "career_high_rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Career-high rank, from the archive's weekly ranking tables."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Matching archive people, ordered by name."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_archive_career",
          "title": "Archive career aggregates",
          "description": "One player's whole career over the results archive (1968 to 2022). W-L record in total and by surface/level/year, titles, and summed serve statistics. The corpus records serve stats from 1991 only, so matches_with_stats says how many matches the serve block covers. The name must resolve to one person. An ambiguous fragment returns the candidate list to choose from. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 3,
                "description": "Player name fragment, min 3 chars. Must resolve to exactly one person."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "span": {
                "type": "object",
                "required": [
                  "first",
                  "last"
                ],
                "properties": {
                  "last": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Last archive match date."
                  },
                  "first": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "First archive match date."
                  }
                },
                "description": "Career span inside the archive.",
                "additionalProperties": false
              },
              "serve": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Summed serve stats + derived ratios. matches_with_stats states the coverage. Ratios are null where the denominator is zero."
              },
              "record": {
                "type": "object",
                "required": [
                  "wins",
                  "losses",
                  "titles",
                  "by_surface",
                  "by_level"
                ],
                "properties": {
                  "wins": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Career wins."
                  },
                  "losses": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Career losses."
                  },
                  "titles": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Finals won (excluding abandoned finals)."
                  },
                  "by_level": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "required": [
                            "wins",
                            "losses"
                          ],
                          "properties": {
                            "wins": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "losses": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "W-L per tier code."
                  },
                  "by_surface": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "required": [
                            "wins",
                            "losses"
                          ],
                          "properties": {
                            "wins": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "losses": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "W-L per surface."
                  }
                },
                "description": "The W-L record.",
                "additionalProperties": false
              },
              "by_year": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "year",
                    "wins",
                    "losses"
                  ],
                  "properties": {
                    "wins": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "year": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "losses": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Per-season W-L."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "player_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The resolved player."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_h2h",
          "title": "Head-to-head",
          "description": "The all-time record between two players, across BOTH halves of the product. That is the results archive (1968 to 2022) plus the completed matches from 2023 onward. Names are the keys. An ambiguous fragment returns the candidate list to choose from, and nothing is guessed. Totals count only meetings with a known winner. Walkovers and retirements are part of the record, and each meeting carries its outcome. Requires the BASIC plan or any History plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "player1",
              "player2"
            ],
            "properties": {
              "player1": {
                "type": "string",
                "minLength": 3,
                "description": "First player name (fragment, min 3 chars), e.g. \"federer\"."
              },
              "player2": {
                "type": "string",
                "minLength": 3,
                "description": "Second player name (fragment, min 3 chars), e.g. \"nadal\"."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "totals": {
                "type": "object",
                "required": [
                  "p1_wins",
                  "p2_wins",
                  "meetings",
                  "undecided"
                ],
                "properties": {
                  "p1_wins": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Wins for player1 (of the request)."
                  },
                  "p2_wins": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Wins for player2 (of the request)."
                  },
                  "meetings": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Meetings with a known winner."
                  },
                  "undecided": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Meetings with no derivable winner. Never counted in wins."
                  }
                },
                "description": "The headline record.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "players": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "p1",
                      "p2"
                    ],
                    "properties": {
                      "p1": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Resolved name for player1."
                      },
                      "p2": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Resolved name for player2."
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The resolved names. Null when no player matches the fragments."
              },
              "meetings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "era",
                    "date",
                    "tournament",
                    "round",
                    "surface",
                    "score",
                    "outcome",
                    "winner",
                    "match_id"
                  ],
                  "properties": {
                    "era": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "\"archive\" (results archive, 1968-2022) or \"current\" (completed matches from 2023 onward)."
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Match date (current era) or tournament start date (archive era)."
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Final score (archive rows only. Read current rows from get_match)."
                    },
                    "winner": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "1 or 2 OF THE REQUEST (player1/player2 as you passed them), not of the underlying match row."
                    },
                    "outcome": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "completed, retired, walkover, ... Exclude non-completed yourself if needed."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface."
                    },
                    "match_id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Our match id (current era rows). Pass to get_match."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tournament name."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Individual meetings, newest first, capped at 200."
              },
              "by_surface": {
                "type": "object",
                "description": "Decided wins per surface. The keys are surface names plus \"unknown\".",
                "additionalProperties": {
                  "type": "object",
                  "required": [
                    "p1",
                    "p2"
                  ],
                  "properties": {
                    "p1": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "p2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match_events",
          "title": "Match timeline",
          "description": "Timeline of events for a match: breaks, games won, sets won, momentum runs. Requires the PRO plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 30,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum events to return (1-200)."
              },
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "timestamp",
                    "type",
                    "player"
                  ],
                  "properties": {
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event type, e.g. break, game, set."
                    },
                    "player": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Player the event belongs to, 1 or 2."
                    },
                    "timestamp": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When the event occurred."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "Events, newest first, as the API returns them."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match_odds",
          "title": "Match market prices",
          "description": "Match-winner market prices for a match: implied probability per player, with bid, ask and mid. Requires the PRO plan. Match rows carry has_market, so check it first. A match with no market mapped has no prices to return.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum price points to return (1-200)."
              },
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "market": {
                "type": "object",
                "required": [
                  "question",
                  "status",
                  "volume",
                  "liquidity",
                  "prices"
                ],
                "properties": {
                  "prices": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "side",
                        "mid",
                        "bid",
                        "ask",
                        "timestamp"
                      ],
                      "properties": {
                        "ask": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Best ask."
                        },
                        "bid": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Best bid."
                        },
                        "mid": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Mid price, 0-1, readable as implied probability."
                        },
                        "side": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Which player this price is for, 1 or 2."
                        },
                        "timestamp": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When the price was observed."
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "Recent prices, newest first."
                  },
                  "status": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Market status, e.g. open or resolved."
                  },
                  "volume": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "24h traded volume."
                  },
                  "question": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The market being priced."
                  },
                  "liquidity": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Resting liquidity."
                  }
                },
                "description": "The match-winner market.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_rankings",
          "title": "Rankings listing",
          "description": "The FULL published ranking table in rank order for one system, from the newest week at or before as_of. Rows carry player_name as published and a null player_id for players outside our roster, so the table has no silent holes. ATP/WTA history runs deep. The ITF circuits begin 2026-07-29. For point-in-time records of SPECIFIC players use get_player_rankings. Requires the PRO plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "system"
            ],
            "properties": {
              "as_of": {
                "type": "string",
                "description": "YYYY-MM-DD. Serves the newest published week at or before this date. Omit for latest."
              },
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum ranking rows to return (1-200)."
              },
              "system": {
                "enum": [
                  "atp",
                  "wta",
                  "itf_jt",
                  "itf_mt",
                  "itf_wt"
                ],
                "type": "string",
                "description": "Ranking system to list. utr has no listing, because it is a rating, not a ranking."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "rankings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "player_id",
                    "player_name",
                    "system",
                    "rank",
                    "points",
                    "previous_rank",
                    "rank_movement",
                    "rating",
                    "effective_date"
                  ],
                  "properties": {
                    "rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Null for UTR (a rating, not a ranking)."
                    },
                    "points": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Null for UTR."
                    },
                    "rating": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "UTR only, null elsewhere."
                    },
                    "system": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, itf_jt, itf_mt, itf_wt or utr. Systems are never comparable."
                    },
                    "player_id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Roster player id. Null on listing rows for players outside our roster."
                    },
                    "player_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Player name as it appears in the ranking (listing rows)."
                    },
                    "previous_rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Rank at the preceding snapshot week (ATP/WTA only, null elsewhere)."
                    },
                    "rank_movement": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Signed weekly rank movement (ITF systems only)."
                    },
                    "effective_date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The publication week this record took effect, YYYY-MM-DD."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "The table in rank order."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "player_stats",
          "title": "Player record and splits",
          "description": "One player's record over completed singles matches from 2023 onward, by default the last 365 days. It gives W/L overall, over the last 12 months and by surface, venue, level and season. It also gives tiebreaks, deciding sets, the record after winning or losing the first set, comebacks, withdrawals and the last N matches. Every count carries its sample size, and a percentage on an empty sample is null, never 0. On ULTRA it adds serve_return: measured serve and return statistics summed over the window. Singles only, so a doubles-team id is refused. For 1968 to 2022 use get_archive_career. Requires the PRO plan (serve_return requires ULTRA).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "player_id"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Window end: YYYY-MM-DD (the whole of that day) or a UTC ISO-8601 instant. Default now."
              },
              "from": {
                "type": "string",
                "description": "Window start: YYYY-MM-DD (start of that day) or a UTC ISO-8601 instant. Default to minus 365 days."
              },
              "last": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "How many recent matches to list, newest first (1-50, default 20)."
              },
              "level": {
                "enum": [
                  "atp",
                  "wta",
                  "challenger",
                  "itf",
                  "juniors"
                ],
                "type": "string",
                "description": "The match tour. A match with no stated tour matches no level."
              },
              "surface": {
                "enum": [
                  "hard",
                  "clay",
                  "grass",
                  "indoor"
                ],
                "type": "string",
                "description": "hard, clay or grass read the match surface; indoor keeps matches stated indoor, on any surface."
              },
              "player_id": {
                "type": "integer",
                "description": "Player id, as returned by search_players."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "sets": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Set-based record: sample, tiebreaks, deciding_sets, after_winning_first_set, after_losing_first_set, comebacks, sets."
              },
              "player": {
                "type": "object",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "description": "The player.",
                "additionalProperties": false
              },
              "recent": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "match_id",
                    "date",
                    "tournament",
                    "round",
                    "surface",
                    "opponent",
                    "opponent_id",
                    "won",
                    "outcome",
                    "score"
                  ],
                  "properties": {
                    "won": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when this player won."
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Match date."
                    },
                    "round": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Round."
                    },
                    "score": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Final score from this player's side, e.g. \"6-4 3-6 6-2\". A game count the API does not hold shows as ?."
                    },
                    "outcome": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "completed, retired, walkover or default."
                    },
                    "surface": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Court surface."
                    },
                    "match_id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Match id. Pass to get_match."
                    },
                    "opponent": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Opponent name."
                    },
                    "tournament": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Event name."
                    },
                    "opponent_id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Opponent player id."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "The last N matches, newest first."
              },
              "window": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "from": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "description": "The window applied, UTC.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "overall": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "matches",
                      "wins",
                      "losses",
                      "win_pct"
                    ],
                    "properties": {
                      "wins": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Wins."
                      },
                      "losses": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Losses."
                      },
                      "matches": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Matches in the sample."
                      },
                      "win_pct": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Win percentage, one decimal; null (never 0) on an empty sample."
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L over the window."
              },
              "by_level": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/properties/overall/anyOf/0"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L keyed by match tour, or unknown."
              },
              "by_venue": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/properties/overall/anyOf/0"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L keyed indoor, outdoor, unknown."
              },
              "by_season": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/properties/overall/anyOf/0"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L keyed by UTC calendar year."
              },
              "by_surface": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/properties/overall/anyOf/0"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L keyed hard, clay, grass, unknown."
              },
              "withdrawals": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Retired / walkover / default, each as given (this player) and received (the opponent)."
              },
              "serve_return": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ULTRA only, null below: summed serve and return statistics, each ratio as numerator/denominator/pct with its match count."
              },
              "last_12_months": {
                "anyOf": [
                  {
                    "$ref": "#/properties/overall/anyOf/0"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "W/L over the 12 months ending at the window end."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match_analysis",
          "title": "Model analysis",
          "description": "Model analysis for a match: predicted win probability, the model's thesis and the main factors behind it. Requires the ULTRA plan. Match rows carry has_analysis, so check it first. A match with no thesis or profile has nothing to return.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "thesis": {
                "type": "object",
                "required": [
                  "pick_side",
                  "confidence",
                  "state",
                  "reasoning"
                ],
                "properties": {
                  "state": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Current state of the thesis."
                  },
                  "pick_side": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Player the model favours, 1 or 2."
                  },
                  "reasoning": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Narrative reasoning."
                  },
                  "confidence": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Model confidence, 0-1."
                  }
                },
                "description": "Narrative view.",
                "additionalProperties": false
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "profile": {
                "type": "object",
                "required": [
                  "win_probability_p1",
                  "expected_closeness",
                  "volatility_rating",
                  "key_factors"
                ],
                "properties": {
                  "key_factors": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Drivers behind the model view."
                  },
                  "volatility_rating": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Expected swing in the match state."
                  },
                  "expected_closeness": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "How close the model expects the match to be."
                  },
                  "win_probability_p1": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Model probability player 1 wins, 0-1."
                  }
                },
                "description": "Quantitative view.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_player_rankings",
          "title": "Player rankings as of a date",
          "description": "Point-in-time ranking records for SPECIFIC players. Per system, the newest record in force ON OR BEFORE as_of, never one dated after it. Every other ranking field in this API is the CURRENT value joined at read time. This one is the historical answer. Systems are never collapsed: ATP/WTA and the ITF circuits carry rank+points, UTR a rating. ITF and UTR history begins 2026-07-29. Requires the ULTRA plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "player_ids"
            ],
            "properties": {
              "as_of": {
                "type": "string",
                "description": "YYYY-MM-DD. The record in force on this date. Omit for the latest known."
              },
              "system": {
                "enum": [
                  "atp",
                  "wta",
                  "itf_jt",
                  "itf_mt",
                  "itf_wt",
                  "utr"
                ],
                "type": "string",
                "description": "Restrict to one system. Omit for every system held for the player."
              },
              "player_ids": {
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "Roster player ids, as returned by search_players. Max 50."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "coverage": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "What resolved against what was asked (players_resolved, systems_resolved, oldest_available per system). Read before trusting an empty result."
              },
              "rankings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "player_id",
                    "player_name",
                    "system",
                    "rank",
                    "points",
                    "previous_rank",
                    "rank_movement",
                    "rating",
                    "effective_date"
                  ],
                  "properties": {
                    "rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Null for UTR (a rating, not a ranking)."
                    },
                    "points": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Null for UTR."
                    },
                    "rating": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "UTR only, null elsewhere."
                    },
                    "system": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "atp, wta, itf_jt, itf_mt, itf_wt or utr. Systems are never comparable."
                    },
                    "player_id": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Roster player id. Null on listing rows for players outside our roster."
                    },
                    "player_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Player name as it appears in the ranking (listing rows)."
                    },
                    "previous_rank": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Rank at the preceding snapshot week (ATP/WTA only, null elsewhere)."
                    },
                    "rank_movement": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Signed weekly rank movement (ITF systems only)."
                    },
                    "effective_date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The publication week this record took effect, YYYY-MM-DD."
                    }
                  },
                  "additionalProperties": false
                },
                "description": "One record per player × system held."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_match_statistics",
          "title": "Match statistics",
          "description": "In-play (or final) statistics for one match, in TWO families kept separate on purpose. DERIVED is rebuilt from the point-by-point record (holds/breaks, break points, service/return points). MEASURED is counted per match. It includes what no point record can yield: aces, double faults, the serve split, winners/unforced errors. Measured coverage varies by tour. Absent fields are omitted, never zero-filled. Requires the ULTRA plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "match_id"
            ],
            "properties": {
              "match_id": {
                "type": "integer",
                "description": "Match id, as returned by get_live_matches, get_upcoming_matches or get_recent_results."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "statistics": {
                "type": "object",
                "required": [
                  "coverage",
                  "as_of",
                  "games_counted",
                  "players",
                  "freshness"
                ],
                "properties": {
                  "as_of": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When the underlying record was last updated (UTC)."
                  },
                  "players": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "p1",
                          "p2"
                        ],
                        "properties": {
                          "p1": {
                            "anyOf": [
                              {
                                "type": "object",
                                "required": [
                                  "derived",
                                  "measured"
                                ],
                                "properties": {
                                  "derived": {
                                    "type": "object",
                                    "description": "Rebuilt from the point-by-point record: service/return games and points, hold_pct, break_pct, break points faced/saved/converted. Null percentages mean a zero denominator, never 0.",
                                    "additionalProperties": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  },
                                  "measured": {
                                    "anyOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": {
                                          "type": [
                                            "number",
                                            "null"
                                          ]
                                        }
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ],
                                    "description": "Counted per match: aces, double_faults, the serve split, winners/unforced errors where covered. Absent fields are omitted, never zero-filled. Quantities named in both families are computed two different ways: a cross-check, not a duplication."
                                  }
                                },
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "p2": {
                            "anyOf": [
                              {
                                "$ref": "#/properties/statistics/properties/players/anyOf/0/properties/p1/anyOf/0"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Null when coverage is none. The match exists, and holding nothing is the honest answer."
                  },
                  "coverage": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "live | final | stale | none | diverged. Summarises the response."
                  },
                  "freshness": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Per-family coverage/as_of/age. The two ages use DIFFERENT clocks (derived: against the newest score row, measured: wall clock) and must not be compared. On diverged the measured values are withheld and measured_divergence says why."
                  },
                  "games_counted": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Games the derived family covers (tiebreaks excluded, counted separately)."
                  }
                },
                "description": "The statistics.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_charting_player",
          "title": "Charting: player career profile",
          "description": "Career profile from shot-level charting data, summed over the player's charted matches. Serve placement (deuce/ad x wide/body/T), return depth and outcomes, net play, and clutch break/game/set-point serving. Also winners and errors by wing, and rally-length tendencies. COVERAGE IS CURATED, not full-slate: 11,646 charted matches back to the 1960s, concentrated on the majors. An ambiguous name returns the candidates to choose from. Requires the ULTRA plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 3,
                "description": "Player name fragment, min 3 chars. Must resolve to one charted person."
              },
              "gender": {
                "enum": [
                  "men",
                  "women"
                ],
                "type": "string",
                "description": "Disambiguates a name charted on both tours."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "player": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The resolved charted player."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "coverage": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "A reminder that charting coverage is curated, not full-slate."
              },
              "families": {
                "type": "object",
                "description": "Per-family summed numeric columns: raw sums over the player's charted Total rows.",
                "additionalProperties": {}
              },
              "matches_charted": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The sample every summed field covers."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_charting_match",
          "title": "Charting: one match, every stat family",
          "description": "Every charting stat family for ONE charted match, both players, with the per-set split (set 1, set 2, ..., Total) exactly as charted. Charting ids are their own id space (1960 to 2026). Most of these matches have no counterpart in the live tables. Requires the ULTRA plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "charting_match_id"
            ],
            "properties": {
              "charting_match_id": {
                "type": "integer",
                "description": "Charting match id, in its own id space. Not a match_id."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "gender": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mcp_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The charting dataset's own row identifier."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "players": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Both players as charted."
              },
              "families": {
                "type": "object",
                "description": "Every stat family, per player, with the per-set split.",
                "additionalProperties": {}
              },
              "charting_match_id": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The charted match."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_api_status",
          "title": "API status and plan",
          "description": "Check whether the Live Tennis API is reachable and which plan the configured key is on. Use it to find out why other tools are refusing data. Works with no key.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ok",
              "message"
            ],
            "properties": {
              "ok": {
                "type": "boolean",
                "description": "True when the request succeeded, including when the answer is an empty list. False for a missing or rejected key, a plan that does not include this data, an unknown id, a rate limit or a network error. The message then says what to do. check_api_status is the exception: it is true whenever the API answered, and reports API key problems in the message."
              },
              "tier": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Detected plan: FREE, BASIC, PRO or ULTRA. Null when no key is configured."
              },
              "has_key": {
                "type": "boolean",
                "description": "Whether a key was configured for this tool set."
              },
              "message": {
                "type": "string",
                "description": "Human-readable summary of the result, safe to relay to the user verbatim."
              },
              "reachable": {
                "type": "boolean",
                "description": "True when the API answered its health check."
              },
              "api_version": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "API version reported by the health check."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}