Skip to main content
Glama

get_mlb_sabermetrics

Fetch sabermetric statistics, including WAR, for multiple MLB players in a specific season. Specify player IDs, season year, stat name, and group (hitting or pitching) to retrieve advanced baseball performance metrics.

Instructions

Get sabermetric statistics (including WAR) for multiple players for a specific season.

Args: player_ids (str): Comma-separated list of player IDs. season (int): Season year. stat_name (Optional[str]): Specific sabermetric stat to extract (e.g., 'war', 'woba', 'wRc'). group (str): Stat group ('hitting' or 'pitching').

Returns: dict: Sabermetric statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNohitting
player_idsYes
seasonYes
stat_nameNo

Latest Blog Posts

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