maxpreps_team_season_stats
Retrieve a MaxPreps team's season stat rollup by team and sport-season ID, grouped by stat category with team, league, and national comparison values.
Instructions
MaxPreps team season stats rollup. Returns one team season's team-level stat rollup grouped as group (for example Offense, Defense, Special Teams, Scoring) then subgroup (for example Passing, Rushing) then stat. Each stat carries its name, header, display name, the team's overall value, the league value (null when the source has none) and the national comparison value, plus the sort flag and direction, and the rollup's last-updated stamp. Stat groups differ by sport. A team season without published stats returns not found. The teamId and sportSeasonId come from maxpreps-school-seasons, maxpreps-team or maxpreps-school-search; every upstream field is returned, and any field the typed data does not model is in the response extras object.
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": {
"teamId": "<teamId>",
"sportSeasonId": "<sportSeasonId>"
},
"name": "maxpreps_team_season_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team id from maxpreps-school-search or maxpreps-team example(7bdc339f-7cbf-4728-b0c8-ed898929cf68) | |
| sportSeasonId | Yes | Sport-season id for that exact team and level example(2286cd80-c46d-4739-8dd1-92a67ca8daa7) |