mlb_attendance
Get MLB attendance figures for a team, league, or season, including per-game and aggregate home, away, and total gate numbers.
Instructions
Attendance figures for a team or league/season — per-game and aggregate home/away/total gate.
Returns: {records:[{openings, attendanceTotal, attendanceAverage, team, season}], aggregateTotals}
Auth: none needed.
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": "mlb_attendance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | As-of date (YYYY-MM-DD). | |
| season | No | Season year. | |
| teamId | No | Team id — takes precedence over leagueId when both are set. | |
| leagueId | No | League id(s): 103=AL, 104=NL. Defaulted so the tool works without a teamId. | 103,104 |