nba_league_game_log
Retrieve an NBA season game log by team or player to analyze each game's date, matchup, result, minutes, points, and plus-minus, ordered chronologically or newest-first.
Instructions
NBA game log for a season, by team or by player. Returns every game in a season as the league's game log. With player_or_team=T each row is one team-game and carries GAME_ID, TEAM_ID, GAME_DATE, MATCHUP, WL, MIN, PTS, PLUS_MINUS and VIDEO_AVAILABLE; with player_or_team=P each row is one player-game (the same identity columns plus PLAYER_ID and PLAYER_NAME) and the payload grows to several hundred KB. direction orders the log newest-first (DESC) or chronologically (ASC).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nba_league_game_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season in YYYY-YY form; defaults to the current NBA season | |
| sorter | No | Sort key; only DATE is verified | |
| direction | No | Ordering; ASC or DESC | |
| league_id | No | League id; only 00 (NBA) is verified | |
| season_type | No | Season type | |
| player_or_team | No | T for one row per team, P for one row per player |