espn_team_stats
Retrieve ESPN team season statistics by sport, league, and team, including passing, rushing, defense, batting, pitching, and fielding categories with per-game values and league ranks.
Instructions
ESPN team season statistics. Returns one team's season statistics grouped into categories such as passing, rushing and defense or batting, pitching and fielding. Each statistic has its key, name, value, display value and, where ESPN gives them, per-game values and league ranks. Football responses add the opponents' totals against the team in opponent; baseball responses add splits such as home, away and by opponent in splits. The sport enum accepts football, basketball, baseball, and hockey; ESPN publishes no soccer team statistics. The league enum accepts nfl, college-football, nba, wnba, mens-college-basketball, womens-college-basketball, mlb, and nhl; it must be valid for the chosen sport. The seasontype enum accepts 1 (preseason), 2 (regular season), 3 (postseason), and 4 (offseason). A team and season without statistics returns not found.
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 | Team id (numeric) or abbreviation | |
| sport | Yes | Sport key | |
| league | Yes | League key (must be valid for the sport) | |
| season | No | Four-digit ESPN season year; defaults to the current season | |
| seasontype | No | Season type |