query_golf_strategy
Read-only, idempotent query of 157,480-point golf EV, Strokes Gained, dispersion, and GPS strategy across 2,005 courses in 47 prefectures (API key or x402; 24h). Pass mode with distance/lie or courseId (default mode="ev", limit=10, offset=0); returns shot metrics ordered by query index. Note: For POIs, use query_seismic_hazards instead.
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": "query_golf_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | [Mode "sg"] Ending ball state after the shot (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 ball state before the shot (distance, unit, and lie). | |
| state | No | [Mode "course_search"] Nationwide prefecture filter across all 47 Japanese prefectures (e.g. "北海道", "東京都", "大阪府", "兵庫県", "沖縄県"). | |
| offset | No | Zero-based pagination offset (0..10000, default 0). Combine with limit to page through result sets deterministically. | |
| region | No | [Mode "course_search"] Region filter (e.g. "関東", "近畿", "九州"). | |
| penalty | No | [Mode "sg"] Penalty strokes incurred on the shot (0 to 10, default 0). | |
| queries | No | Optional batch of 1 to 10 shot/strategy 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 (0 to 700, e.g. 150). | |
| targetEV | No | [Mode "strategy"] Target Expected Value (strokes to hole out, 1.0 to 10.0, default 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 (1 to 700) to compute required advance yardage. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Deterministic 157,480-point golf Expected Value, Strokes Gained, ShotCircle dispersion, and 2,005-course GPS GamePlan items ordered by query index. | |
| stats | Yes | Execution telemetry including itemCount, durationMs, and upstream breakdown. | |
| offset | Yes | Zero-based pagination offset applied to the matched record slice. | |
| success | Yes | True when the read-only query completed without upstream or validation failure. | |
| streamId | Yes | Underlying B2A data stream identifier that fulfilled the query. | |
| toolName | Yes | Executed MCP tool name for deterministic audit correlation. | |
| sealStatus | Yes | TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset. | |
| generated_at | Yes | ISO-8601 UTC timestamp when this response payload was generated. | |
| sha256Digest | Yes | Deterministic 64-character hex SHA-256 provenance digest of the returned items. | |
| partialResult | No | True only if a live upstream sub-source returned partial coverage. | |
| returnedCount | Yes | Number of structured records returned in items for this page. |