get_mlb_sabermetrics
Retrieve sabermetric statistics like WAR, wOBA, and wRC+ for MLB players by season to analyze advanced baseball performance metrics for hitting or pitching groups.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"player_ids": "<player_ids>",
"season": "<season>"
},
"name": "get_mlb_sabermetrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player_ids | Yes | ||
| season | Yes | ||
| stat_name | No | ||
| group | No | hitting |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||