Get Games
get_gamesGet NBA games for a season (e.g., 2023, 2024). Returns game date, status, matchup teams, and final or live scores. Requires a free BallDontLie API key.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"season": 2024
},
"name": "get_games"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default: 25, max: 100) | |
| season | Yes | Season start year (e.g., 2024 for the 2024-25 season) | |
| _apiKey | Yes | BallDontLie API key (free tier: https://www.balldontlie.io/) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| games | Yes | List of games | |
| total | Yes | Total games in season | |
| season | Yes | Season start year | |
| returned | Yes | Number of games returned in this response |