Analyze advanced player stats
analyze_player_statsFetch and combine advanced statistics from MLB Stats, Baseball Savant, and FanGraphs for a single player to evaluate fantasy baseball performance.
Instructions
Fetch and aggregate advanced statistics for a single player from MLB Stats, Baseball Savant, and FanGraphs. Use Yahoo's browser pages separately for league scoring, ownership, roster, and lineup context.
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": {
"playerName": "<playerName>"
},
"name": "analyze_player_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| season | No | Season year, e.g. 2026. Defaults to the current season. | |
| playerName | Yes | Player's full name, e.g. 'Shohei Ohtani' or 'Freddie Freeman' |