Get Tennis Head-to-Head Rivalry
get_tennis_head_to_headRetrieve ATP or WTA head-to-head records between two tennis players, including overall W-L, surface splits, and past meeting scores for matchup analysis.
Instructions
Retrieve the complete ATP or WTA head-to-head rivalry record between two tennis players, including overall series tally, surface-by-surface split (Hard, Clay, Grass), and historical meeting scorelines.
When to use:
Pre-match matchup analysis (for example "Carlos Alcaraz vs Jannik Sinner head-to-head on hard court").
Do not use when:
Inspecting a single player's match history against all opponents; call get_tennis_player_matches instead.
Returns: Overall W-L record, surface breakdown, and chronological list of past meetings between playerA and playerB. API calls: 1-2.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"playerA": "<playerA>",
"playerB": "<playerB>"
},
"name": "get_tennis_head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum past meetings to return (default 20, max 50). | |
| playerA | Yes | First tennis player ID or full name (e.g. "atp_207989" or "Carlos Alcaraz"). | |
| playerB | Yes | Second tennis player ID or full name (e.g. "atp_206173" or "Jannik Sinner"). | |
| surface | No | Optional surface filter to restrict meetings to Hard, Clay, or Grass. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true if the tool succeeded | |
| data | No | Result payload when ok is true; null on error | |
| meta | Yes | ||
| error | No | ||
| partial | No | ||
| pagination | No |