Analyze advanced player stats
analyze_player_statsAggregate advanced stats from MLB Stats API, Baseball Savant, and FanGraphs for any player, including league scoring categories to inform add/drop decisions.
Instructions
Fetch and aggregate advanced statistics for a single player from multiple authoritative sources: MLB Stats API (standard stats), Baseball Savant (Statcast exit velocity / barrel rate / expected stats), and FanGraphs (WAR, wRC+, K%, BB%, plate discipline). The response includes the league's scoring categories so advice can focus on stats that actually count. Use this before making roster add/drop decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season year, e.g. 2025. Defaults to the current season. | |
| playerName | Yes | Player's full name, e.g. 'Shohei Ohtani' or 'Freddie Freeman' |