Skip to main content
Glama

mlb-api-mcp

MIT License
18
  • Apple

get_mlb_boxscore

Retrieve detailed MLB game boxscore data using a specific game ID. Customize results with optional timecode for snapshots or field selection to focus on relevant statistics.

Instructions

Get boxscore for a specific game by game_id.

Args: game_id (int): The game ID. timecode (Optional[str]): Specific timecode for the boxscore snapshot. fields (Optional[str]): Comma-separated list of fields to include.

Returns: dict: Boxscore information.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
game_idYes
timecodeNo

Input Schema (JSON Schema)

{ "properties": { "fields": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Fields" }, "game_id": { "title": "Game Id", "type": "integer" }, "timecode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Timecode" } }, "required": [ "game_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guillochon/mlb-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server