Skip to main content
Glama

mlb-api-mcp

MIT License
25
  • Apple

get_mlb_standings

Retrieve MLB standings for a specified season, league, or date using customizable parameters like standings type, hydration, and fields. Ideal for accessing up-to-date baseball statistics and league rankings.

Instructions

Get current MLB standings for a given season (year).

Args: season (Optional[int]): The year for which to retrieve standings. Defaults to current year. standingsTypes (Optional[str]): The type of standings to retrieve (e.g., 'regularSeason', 'wildCard', etc.). date (Optional[str]): Date in 'YYYY-MM-DD' format. hydrate (Optional[str]): Additional data to hydrate in the response. fields (Optional[str]): Comma-separated list of fields to include in the response. league (str): Filter by league. Accepts 'AL', 'NL', or 'both' (default: 'both').

Returns: dict: Standings for the specified league(s) and season.

Input Schema

NameRequiredDescriptionDefault
dateNo
fieldsNo
hydrateNo
leagueNoboth
seasonNo
standingsTypesNo

Input Schema (JSON Schema)

{ "properties": { "date": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Date" }, "fields": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Fields" }, "hydrate": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Hydrate" }, "league": { "default": "both", "title": "League", "type": "string" }, "season": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Season" }, "standingsTypes": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Standingstypes" } }, "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