player_stats
Tennis player career statistics: W/L totals, win percentage, titles, Grand Slam and Masters titles, plus per-surface and per-level breakdowns. Optional surface/year filters.
When to use:
"How many titles does Alcaraz have?"; career win%; Grand Slam title count; record on clay; a season-scoped record.
Prefer over: player_profile (identity + a summary block, no breakdowns); player_matches (individual rows, no aggregates).
Do not use when: the match log → player_matches; ranking over time → player_rankings_history.
Tennis-only. Filters are surface (Hard/Clay/Grass/Carpet) and yearFrom/yearTo. Upstream cost: 1.
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": {
"game": "<game>",
"playerId": "<playerId>"
},
"name": "player_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game title: lol | cs2 | dota2 | cod | ufc | tennis | valorant. Example: "cs2". | |
| yearTo | No | Inclusive end year, e.g. 2026. | |
| surface | No | Filter to one surface: Hard, Clay, Grass, or Carpet. | |
| playerId | Yes | Tennis player id, e.g. "atp_207989". | |
| yearFrom | No | Inclusive start year, e.g. 2020. |
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 |