Backtest a draft target: player type vs a defense
invoke_backtest_draft_targetAdded after you connected: the first call asks you to approve it. BankrollSZN Targets. Spot a defensive weakness and turn it into a target. Backtests how one kind of player did against one defense: every player-game this season (or a past season) where a player with the chosen traits faced that team, each graded against the player's OWN season average. Returns player-games, per-stat delta (for example +3.9 PTS/game), percent vs baseline and hit rate (share of games above his own average), the players behind it, the game list (newest first), and the players who qualify against that defense on today's slate. NBA traits: play-type share (Isolation >= 12%, PnR ball handler, spot up and the rest, from stats.nba.com Synergy), shot-zone share, size group, position, pull-up share, drop killer. NFL: position, target share, air yards share, rush share, WOPR. NHL: position, TOI, PP TOI, shots per game. MLB: bats, position, ISO, K rate, HR rate (hitters vs that team's pitching). After showing the result, ask the user if they want to save it as a target (my_targets action save with the same arguments); saved targets surface qualifying players on every slate and on https://bankrollszn.com/targets. Example: sport nba, defense ORL, play_types [{type: Isolation, min: 12}].
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": {
"sport": "<sport>",
"defense": "<defense>"
},
"name": "invoke_backtest_draft_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum season trait values. Same keys as min. | |
| min | No | Minimum season trait values. NBA: pullup_share, catch_shoot_share, drop_killer, switch_killer, roll_threat, mins. NFL: target_share, air_yards_share, wopr, rush_share, targets_pg, carries_pg, pass_att_pg, ppr_pg. NHL: toi_pg, pp_toi_pg, shots_pg, points_pg, blocks_pg, dk_pg. MLB: iso, avg, slg, k_rate, bb_rate, hr_rate, sb_pg, dk_pg, pa. Shares as fraction or percent. | |
| bats | No | MLB only: L, R, S. | |
| limit | No | Max games in the game list. The plan limit applies. | |
| sport | Yes | Sport. | |
| zones | No | NBA only. Shot-zone share of the player's FGA: Restricted area, Paint (non-RA), Mid-range, Corner 3, Above the break 3. | |
| offset | No | Paid plans: next page offset from page.next_offset. | |
| season | No | Season. NBA and NHL 2025-26 style, NFL and MLB a year. Defaults: NBA 2025-26, NHL 2025-26, NFL 2025, MLB 2026 (the last full season). The current season works too. | |
| defense | Yes | The defense to test against: team abbreviation (NBA ORL, NY; NFL MIA, LA; NHL SJS; MLB COL means hitters vs that team's pitching). | |
| players | No | Limit to these player names. | |
| primary | No | Stat the game list is graded on. NBA pts (default), pts36, fga, reb, ast, tpm, pra, ts, dk, min. NFL ppr (default), tgt, rec, recyd, car, rushyd, scrim, td, passyd. NHL dk (default), sog, pts, blk, sb, toi. MLB dk (default), h, tb, hr, rrbi, k. | |
| min_games | No | Minimum games in the season for a player to count (baseline sample). Defaults NBA 5, NFL 3, NHL 5, MLB 10. | |
| positions | No | NBA G, F, C. NFL QB, RB, WR, TE. NHL C, L, R, D, or F for all forwards. MLB C, 1B, 2B, 3B, SS, LF, CF, RF, DH, OF, IF. | |
| play_types | No | NBA only. Play-type share of the player's possessions (stats.nba.com Synergy). type: PnR ball handler, PnR roll man, Isolation, Transition, Spot up, Handoff, Post up, Off screen, Cut, Putback, Misc (short names like iso or pnr work). min and max as a fraction (0.12) or percent (12). | |
| size_groups | No | NBA only: c7 (7-0 and up), big (6-9 to 6-10), wing, small (6-5 and under). | |
| min_threshold | No | Game inclusion threshold. NBA minutes (default games over 24 min), NHL TOI minutes (default 10), NFL opportunities (default 1), MLB plate appearances (default 3). |