maxpreps_team_season_game_stats
Retrieve a MaxPreps team season's per-game stat rollup grouped by stat groups and subgroups, with one row per contest and values aligned to typed columns; use team and sport-season IDs.
Instructions
MaxPreps team season per-game stats rollup. Returns one team season's per-game stat rollup grouped as group (for example Offense) then subgroup (for example Passing), each with a table: column descriptors (name, header, display name, season overall value, sort flag and direction, column type) and one row per contest whose cells align by index with the columns; cells carry the value, an optional contest or opponent link and an optional school acronym. 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_game_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) |