pitcher_percentile_ranks
Compare pitcher performance metrics like spin rate, whiff percentage, and xERA against league averages using percentile rankings from 0-100.
Instructions
Statcast percentile ranks for pitchers vs the league (spin, whiff%, xERA, etc.).
Each metric is 0–100. Use for "How does this pitcher's stuff compare?"
Args: year: Season year (e.g. 2024). player_name: Optional. Filter to one pitcher (e.g. "Gerrit Cole").
Qualifying pitchers: Statcast minimum innings/appearance thresholds.
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": "pitcher_percentile_ranks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| player_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |