Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_golf_strategy

Read-onlyIdempotent

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

NameRequiredDescriptionDefault
endNo[Mode "sg"] Ending ball state after the shot (use lie="hole_out" or distance=0 when holed).
lieNo[Mode "ev" | "dispersion"] Current ball lie.fairway
modeNoCalculation 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
unitNo[Mode "ev" | "dispersion"] Distance unit ("yards", "meters", or "feet").yards
limitNo[Mode "course_search"] Maximum courses to return (1-20, default 10).
queryNo[Mode "course_search" | "hole_strategy"] Golf facility name, kana, or English substring (e.g. "ヒバリゴルフクラブ", "Hibari", "ゴールド札幌").
shapeNo[Mode "dispersion" | "strategy" | "hole_strategy"] Shot shape ("straight", "fade", or "draw").straight
stageNo[Mode "dispersion"] Shot stage ("tee" or "approach").approach
startNo[Mode "sg"] Starting ball state before the shot (distance, unit, and lie).
stateNo[Mode "course_search"] Nationwide prefecture filter across all 47 Japanese prefectures (e.g. "北海道", "東京都", "大阪府", "兵庫県", "沖縄県").
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through result sets deterministically.
regionNo[Mode "course_search"] Region filter (e.g. "関東", "近畿", "九州").
penaltyNo[Mode "sg"] Penalty strokes incurred on the shot (0 to 10, default 0).
queriesNoOptional batch of 1 to 10 shot/strategy queries in a single request.
courseIdNo[Mode "course_search" | "hole_strategy"] Exact course ID from ansr_course_profiles.
distanceNo[Mode "ev" | "dispersion"] Remaining distance to the pin (0 to 700, e.g. 150).
targetEVNo[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.
coreScoreNoPlayer benchmark score (64 to 125). Overrides skillLevel if specified.
isObReteeNo[Mode "sg"] True if the shot went Out-of-Bounds (OB) requiring a re-tee (SG = -2.0).
courseNameNo[Mode "course_search" | "hole_strategy"] Sub-course name filter (e.g. "Out", "In", "東", "西").
holeNumberNo[Mode "hole_strategy"] Specific hole number (1-18). Omit to compute the full GamePlan for all holes in the course.
skillLevelNoOptional 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).
facilityNameNo[Mode "course_search" | "hole_strategy"] Golf facility name filter (e.g. "ヒバリゴルフクラブ").
includeHolesNo[Mode "course_search"] Include hole-by-hole GPS coordinates and yardages.
drivingDistanceNoPlayer average driver distance in yards (rounded to nearest 10-yard band between 180 and 330).
currentDistanceYardsNo[Mode "strategy"] Optional current distance to the hole in yards (1 to 700) to compute required advance yardage.

Output Schema

NameRequiredDescriptionDefault
itemsYesDeterministic 157,480-point golf Expected Value, Strokes Gained, ShotCircle dispersion, and 2,005-course GPS GamePlan items ordered by query index.
statsYesExecution telemetry including itemCount, durationMs, and upstream breakdown.
offsetYesZero-based pagination offset applied to the matched record slice.
successYesTrue when the read-only query completed without upstream or validation failure.
streamIdYesUnderlying B2A data stream identifier that fulfilled the query.
toolNameYesExecuted MCP tool name for deterministic audit correlation.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.
generated_atYesISO-8601 UTC timestamp when this response payload was generated.
sha256DigestYesDeterministic 64-character hex SHA-256 provenance digest of the returned items.
partialResultNoTrue only if a live upstream sub-source returned partial coverage.
returnedCountYesNumber of structured records returned in items for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds non-obvious operational context the schema cannot: access via API key or x402 payment, a 24h data freshness/cache window, and result ordering by query index. It stops short of describing batch behavior for the `queries` array or how mode errors are reported, but on a well-annotated tool this is solid added value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences that front-load scale, then invocation, then the exception note—no filler despite the tool's breadth. Minor waste is the trailing POI/seismic-hazards sentence, which is topically irrelevant to a golf tool and slightly muddies the close.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values needn't be explained, and auth/scale/freshness are covered. However, for a six-mode, 26-parameter mega-tool with no required parameters, the description leaves mode selection and per-mode required inputs entirely to the schema, which is the largest gap an agent would hit when deciding how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and every parameter carries its own [Mode ...] tag, so the schema does the heavy lifting and a 3 baseline applies. The description adds only the default triplet (mode=ev, limit=10, offset=0) and a coarse pointer that distance/lie or courseId are the entry points, without explaining mode-keyed parameter compatibility or the strategy/targetEV relationship beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (query golf EV, Strokes Gained, dispersion, GPS strategy) and quantifies the corpus (157,480 points, 2,005 courses, 47 prefectures), so the agent knows the domain precisely. It does not meaningfully differentiate among its own six modes—that routing lives only in the schema's [Mode ...] tags—and the sibling reference it does make ("For POIs, use query_seismic_hazards") is disconnected from golf data, so it clarifies less than a true sibling comparison would.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives invocation framing—"Pass mode with distance/lie or courseId (default mode=ev, limit=10, offset=0)"—which is genuinely helpful for a 26-parameter, zero-required-parameter tool. But it never says which of the six modes to choose for a given question, nor when another tool is the right call; the seismic-hazards note is the only exclusion and reads as boilerplate rather than real routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.