Analyze advanced stats for entire roster
analyze_roster_statsFetch advanced stats (Statcast, expected stats, FanGraphs) for up to 10 rostered players per call, with league-specific scoring categories to focus advice on relevant stats.
Instructions
Fetch advanced stats (Statcast, expected stats, FanGraphs) for a batch of rostered players. Accepts at most 10 players per call via playerKeys — callers should first use get_roster to retrieve all player keys, split them into batches of up to 10, and call this tool once per batch (calls can run in parallel). The response includes the league's scoring categories so advice targets stats that actually matter in this league (e.g. SB if stolen bases count, HLD if holds count). Within each player, mlbStats.columns names the aligned values in mlbStats.standard and the optional mlbStats.recent14d / mlbStats.recent30d arrays. Combine with get_roster to see who is starting or benched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Roster date as YYYY-MM-DD. Defaults to today. | |
| season | No | Season year for stat lookup. Defaults to current season. | |
| teamKey | No | Team key, e.g. 431.l.12345.t.2. Defaults to configured team. | |
| playerKeys | No | Subset of roster to fetch, by Yahoo player key or full player name. Max 10. |