calculate_golf_hole_gameplan
Calculate a deterministic hole-by-hole GPS GamePlan for any real Japanese golf course (from 2,005 facilities / 4,647 courses / 41,812 valid holes from 41,825 raw CSV rows, 13 anomalous rows quarantined): tee-to-green bearing (deg), tee shot startEV, SG=0 pace-maintaining target remaining distance & target landing GPS coordinates, and 1st/2nd shot ShotCircleV2 dispersion ellipses tailored to player coreScore (64-125), drivingDistance (180-330y), and shot shape. (Backed by ansr-golf-ev-engine | x402: $0.005 USDC | Apify: https://apify.com/andque/ansr-golf-strokes-gained-ev-engine)
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": "calculate_golf_hole_gameplan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | [Mode "sg"] Ending state after the shot: { distance, unit, lie } (use lie="hole_out" or distance=0 when holed). | |
| lie | No | [Mode "ev" | "dispersion"] Current ball lie. | fairway |
| mode | No | Calculation mode: "ev" (Shot/Putt Expected Value & lie penalties), "sg" (Strokes Gained between start and end states), "dispersion" (ShotCircle landing dispersion ellipse & 8-level benchmarks), "strategy" (Target EV reverse distance lookup), "course_search" (Search 2,005 Japanese golf facilities / 4,647 courses / 41,812 valid holes [raw 41,825 rows; 13 anomalous rows quarantined] GPS data), or "hole_strategy" (Hole-by-hole GPS GamePlan, SG=0 landing coordinates & tee/approach dispersion for a real course). | ev |
| unit | No | [Mode "ev" | "dispersion"] Distance unit ("yards", "meters", or "feet"). | yards |
| limit | No | [Mode "course_search"] Maximum courses to return (1-20, default 10). | |
| query | No | [Mode "course_search" | "hole_strategy"] Golf facility name, kana, or English substring (e.g. "ヒバリゴルフクラブ", "Hibari", "ゴールド札幌"). | |
| shape | No | [Mode "dispersion" | "strategy" | "hole_strategy"] Shot shape ("straight", "fade", or "draw"). | straight |
| stage | No | [Mode "dispersion"] Shot stage ("tee" or "approach"). | approach |
| start | No | [Mode "sg"] Starting state before the shot: { distance, unit, lie }. | |
| state | No | [Mode "course_search"] Prefecture filter (e.g. "兵庫県", "千葉県", "北海道"). | |
| region | No | [Mode "course_search"] Region filter (e.g. "関東", "近畿", "九州"). | |
| penalty | No | [Mode "sg"] Penalty strokes incurred on the shot (default 0). | |
| queries | No | Optional batch of up to 10 queries in a single request. | |
| courseId | No | [Mode "course_search" | "hole_strategy"] Exact course ID from ansr_course_profiles. | |
| distance | No | [Mode "ev" | "dispersion"] Remaining distance to the pin (e.g. 150). | |
| targetEV | No | [Mode "strategy"] Target Expected Value (strokes to hole out, e.g. 3.0) to reverse-solve for required remaining fairway distance. | |
| coreScore | No | Player benchmark score (64 to 125). Overrides skillLevel if specified. | |
| isObRetee | No | [Mode "sg"] True if the shot went Out-of-Bounds (OB) requiring a re-tee (SG = -2.0). | |
| courseName | No | [Mode "course_search" | "hole_strategy"] Sub-course name filter (e.g. "Out", "In", "東", "西"). | |
| holeNumber | No | [Mode "hole_strategy"] Specific hole number (1-18). Omit to compute the full GamePlan for all holes in the course. | |
| skillLevel | No | Optional preset skill level name or code: "World Ranker" (W↑: 68/300y), "National Ranker" (G↑: 70/270y), "Professional" (N↑: 72/270y), "Scratch" (0-: 75/250y), "Under 5" (5↓: 78/250y), "Single" (S↓: 81/230y), "80s" (8↓: 89/200y), "90s" (9↓: 98/200y). | |
| facilityName | No | [Mode "course_search" | "hole_strategy"] Golf facility name filter (e.g. "ヒバリゴルフクラブ"). | |
| includeHoles | No | [Mode "course_search"] Include hole-by-hole GPS coordinates and yardages. | |
| drivingDistance | No | Player average driver distance in yards (rounded to nearest 10-yard band between 180 and 330). | |
| currentDistanceYards | No | [Mode "strategy"] Optional current distance to the hole in yards to compute required advance yardage. |