Head To Head
head_to_headHead-to-head record between two teams, two UFC fighters, or two tennis players. Tennis reads the tennis head-to-head route; other games filter match history server-side.
When to use:
Rivalry / series record questions
Supporting context for previews
Prefer over: agent-side double match-list filtering.
Do not use when: single-side form only → team_profile or player_profile.
Caveat: Dota filters are weaker; expect meta.warnings when data is sparse.
Tennis: pass entityType "player" with sideA and sideB (ids like atp_207989, or names). This tool has no players param; for three or more players use h2h_matrix, which does. limit pages the meetings list only (max 50); every tally covers all meetings. In the payload current_rank is null when a player is not on the tour's latest list: read last_rank. The tiebreak and level_breakdown keys are in data.h2h.
CS2: bestOf narrows the meetings AND the record to one series length ("3" = their BO3s; limit 1 = their last BO3).
Parallel-safe: yes. API calls: 2–4. Example: { "game": "cs2", "sideA": "faze", "sideB": "navi", "limit": 20 }
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>",
"sideA": "<sideA>",
"sideB": "<sideB>"
},
"name": "head_to_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 upper bound on meeting startTime (client filter). | |
| from | No | ISO-8601 lower bound on meeting startTime (client filter). | |
| game | Yes | Game title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2". | |
| limit | No | Max meetings returned. | |
| sideA | Yes | Id or slug for side A (tennis: atp_207989 or a player name). | |
| sideB | Yes | Id or slug for side B (tennis: atp_206173 or a player name). | |
| bestOf | No | CS2 only: series length, 1, 3 or 5, or a comma list ("3,5"). "3" returns BO3 matches only (filtered by the API, so paging stays right). | |
| entityType | No | team (default), fighter (UFC), or player (tennis). | team |
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 |