espn_team_stats
Returns one ESPN team's season statistics grouped into categories such as passing, rushing and defense or batting, pitching and fielding, with values, per-game values and league ranks where ESPN gives them; football adds opponent totals and baseball adds splits such as home, away and by opponent. Requires sport (football, basketball, baseball or hockey; no soccer), league and a team id or abbreviation from espn_teams; optional season and seasontype. Use espn_standings for the league table.
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": {
"sport": "<sport>",
"league": "<league>",
"team": "<team>"
},
"name": "espn_team_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Required. Team id (numeric) or abbreviation, e.g. 12 or KC. Discover teams with espn_teams. | |
| sport | Yes | Required. ESPN sport key. One of football, basketball, baseball, hockey. ESPN publishes no soccer team statistics. | |
| league | Yes | Required. League key within the sport, e.g. nfl, nba, mlb, nhl. | |
| season | No | Optional. Four-digit ESPN season year, e.g. 2025. Defaults to the current season. | |
| seasontype | No | Optional. Season type: 1 preseason, 2 regular season, 3 postseason, 4 offseason. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |