Games
get_gamesUse when querying past or future games with filters. Returns scores, teams, venue, and game metadata. For upcoming-only games, prefer get_schedule (2 cr) instead. Costs 5 credits.
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": "get_games"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team abbreviation to filter (home or away) | |
| limit | No | Max results (default 100) | |
| league | No | League. Defaults to nhl. One of: nhl, pwhl, ohl, whl, qmjhl, echl, ahl, ushl. | |
| season | No | Season ID, 8-digit (e.g. 20242025 for 2024-25). 2024-25 and 2024-2025 also accepted. | |
| date_to | No | End date (YYYY-MM-DD) | |
| date_from | No | Start date (YYYY-MM-DD) | |
| game_type | No | Filter by game type | |
| game_state | No | Filter by game state. FINAL and OFF both mean finished and return the same games; FUT is scheduled, LIVE in progress. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | ||
| games | Yes |