Team statistics
get_team_statsA team's numbers per stat over a window: average, median and range for the team ("for"), its opponents ("against") and the match total, plus how often the total and the team went over common lines (e.g. corners over 9.5). Also W/D/L, goals and both-teams-scored counts. Facts about past matches only.
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": {
"team": "<team>"
},
"name": "get_team_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | An extra line to count, e.g. 10.5. | |
| team | Yes | Team name, nickname or id, e.g. "Arsenal", "Spurs", "868". | |
| stats | No | Stats to include. Any of: goals, corners, corners_1h, corners_2h, yellow_cards, red_cards, total_cards, booking_cards, fouls, throw_ins, offsides, goal_kicks, shots_total, shots_on_target, shots_off_target, shots_blocked, xg, possession, saves, tackles, crosses. Default: goals, corners, total_cards. | |
| venue | No | Default all. | |
| league | No | Only matches in this competition. | |
| window | No | Default last_10. "season" = the current season of the team's domestic league. | |
| include_matches | No | List the matches with their stats. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | ||
| stats | Yes | ||
| record | Yes | ||
| window | Yes |