batter_percentile_ranks
Analyze MLB hitter performance using Statcast percentile ranks for metrics like exit velocity and barrel rate. Compare players against league averages to evaluate their elite status in specific statistical categories.
Instructions
Statcast percentile ranks for hitters vs the league (exit velo, barrel%, xwOBA, etc.).
Each metric is 0–100 where higher is better for that stat. Use to answer "How elite is this hitter on Statcast?" or compare league-wide.
Args: year: Season year (e.g. 2024). player_name: Optional. If set, returns only that player's row (e.g. "Aaron Judge").
Qualifying batters: ~2.1 PA per team game (Statcast default).
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": {
"year": "<year>"
},
"name": "batter_percentile_ranks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| player_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |