Shot Quality & xFG (Pro)
shot_qualityUse this when the user asks about the quality of an NBA player's or team's shots, expected field-goal percentage (xFG%), who makes more or fewer shots than expected, or the quality of shots a defense allows. Returns, for a player_id, his season's attempts, FG% against xFG%, eFG% against xeFG%, three-point rate, shot making (points over expected per 100 shots) and his rank in it; for a team_id, the same for its offense and for the shots its defense allowed; with neither, the season's best and worst shot makers (200+ attempts). Requires Keel Stats Pro; the answer says so when the account has none. Not for box-score shooting splits: use player_profile.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "shot_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Regular season (default) or playoffs. | |
| league | No | League: "nba" (shot quality is modelled for the NBA). | nba |
| season | No | Optional season year. Defaults to the latest season with games played. | |
| team_id | No | Optional numeric team ID from search. | |
| player_id | No | Optional numeric player ID from search. |