Skip to main content
Glama

FastballAPI

get_games

Read-only

Use to list games with runs, hits and errors by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoTo date, YYYY-MM-DD.
dateNoOne date, YYYY-MM-DD (US Eastern).
fromNoFrom date, YYYY-MM-DD.
teamNoTeam id or abbreviation.
limitNoMax games (default 50).
leagueNoLeague. Defaults to mlb. One of: mlb, ncaabase.
offsetNo
seasonNoSeason (a year, e.g. 2025; default: the latest).
statusNo
season_typeNoregular or postseason (default both).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
gamesYes
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.