Baseball Team Season
baseball_team_seasonOne MLB team's full-season record and stats for one year, from the SABR Lahman Baseball Database (1871-2025): wins/losses, division/league/World Series result, runs scored and allowed, team batting and pitching totals, home park and attendance. Pass team as a 3-letter-ish code ("NYA", "BOS") or a common name ("Yankees", "Red Sox", "Dodgers") -- codes changed for some relocated/renamed franchises over the years (e.g. the Athletics' code changed for 2025), so an unrecognized code for that year is refused with a clear error rather than an empty success; try the franchise's name instead, or call with a nearby year to see what code that franchise used.
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": {
"team": "NYA",
"year": 1927
},
"name": "baseball_team_season"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | Team code ("LAN") or common name ("Dodgers"). | |
| year | Yes | Season year, e.g. 1927. |