nhl_stats
Query NHL skater, goalie, and team stats tables by season, game type, team, player, or numeric filters, with sorting and paginated JSON results.
Instructions
Query NHL stats tables. Returns one page of an NHL.com stats table ({data, total}) for skaters, goalies or teams. The engine's filter expression is built only from validated parameters: season range, game type, player and team filters, game-row filters, numeric stat filters (field,operator,value) and sort columns, all checked against nhl-stats-config.
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": {
"entity": "<entity>",
"report": "<report>",
"season_from": "<season_from>"
},
"name": "nhl_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort property or property,direction (asc or desc, default desc), up to 5 | |
| limit | No | Page size 1-100 (default 50) | |
| start | No | Zero-based row offset | |
| active | No | Active players only (skater, goalie) | |
| entity | Yes | skater, goalie or team | |
| filter | No | Stat filter field,operator,value; operator eq, gt, gte, lt or lte | |
| report | Yes | Report name from nhl-stats-config | |
| rookie | No | Rookies only (skater, goalie) | |
| date_to | No | Last game date YYYY-MM-DD, inclusive (report_type=game) | |
| team_id | No | Team ID (nhl-teams id) | |
| decision | No | Goalie decision (goalie, report_type=game) | |
| position | No | Skater position; F = all forwards | |
| aggregate | No | Sum rows across the season range / games | |
| date_from | No | First game date YYYY-MM-DD (report_type=game) | |
| game_type | No | 2 regular season (default) or 3 playoffs | |
| home_road | No | Home or road games (report_type=game) | |
| player_id | No | 7-digit player ID | |
| season_to | No | Last 8-digit season ID; defaults to season_from | |
| nationality | No | Three-letter nationality code (nhl-countries) | |
| report_type | No | season (default) or game rows | |
| season_from | Yes | First 8-digit season ID | |
| franchise_id | No | Franchise ID (nhl-teams franchiseId) | |
| shoots_catches | No | Handedness | |
| opponent_franchise_id | No | Opponent franchise ID (report_type=game) |