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 query of 157,480-point golf EV, Strokes Gained, dispersion, and GPS across 2,005 courses. Pass mode with distance/lie or courseId (default mode="ev", limit=10, offset=0); returns items ordered by 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
lieNoBall lie surface.fairway
modeNoExecution mode.ev
unitNoDistance unit.yards
limitNoMax rows returned.
queryNoSearch query string.
offsetNoPagination offset.
courseIdNoGolf course ID.
distanceNoShot distance.
holeNumberNoGolf hole (1 to 18).
skillLevelNoGolfer skill tier.

Output Schema

NameRequiredDescriptionDefault
itemsNoGolf EV/SG & GPS items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • removedInput schema / properties / coreScore
      Removed value: -{
      -  "default": 81,
      -  "description": "Player benchmark score (64 to 125). Overrides skillLevel if specified.",
      -  "maximum": 125,
      -  "minimum": 64,
      -  "type": "integer"
      -}
    • changedInput schema / properties / courseId / description
      Previous value: -"[Mode \"course_search\" | \"hole_strategy\"] Exact course ID from ansr_course_profiles."New value: +"Golf course ID."
    • removedInput schema / properties / courseName
      Removed value: -{
      -  "description": "[Mode \"course_search\" | \"hole_strategy\"] Sub-course name filter (e.g. \"Out\", \"In\", \"東\", \"西\").",
      -  "maxLength": 120,
      -  "type": "string"
      -}
    • removedInput schema / properties / currentDistanceYards
      Removed value: -{
      -  "description": "[Mode \"strategy\"] Optional current distance to the hole in yards (1 to 700) to compute required advance yardage.",
      -  "maximum": 700,
      -  "minimum": 1,
      -  "type": "number"
      -}
    • changedInput schema / properties / distance / description
      Previous value: -"[Mode \"ev\" | \"dispersion\"] Remaining distance to the pin (0 to 700, e.g. 150)."New value: +"Shot distance."
    • removedInput schema / properties / drivingDistance
      Removed value: -{
      -  "default": 230,
      -  "description": "Player average driver distance in yards (rounded to nearest 10-yard band between 180 and 330).",
      -  "maximum": 330,
      -  "minimum": 180,
      -  "type": "number"
      -}
    • removedInput schema / properties / end
      Removed value: -{
      -  "description": "[Mode \"sg\"] Ending ball state after the shot (use lie=\"hole_out\" or distance=0 when holed).",
      -  "properties": {
      -    "distance": {
      -      "description": "Ending distance to the hole (0 to 700).",
      -      "maximum": 700,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "lie": {
      -      "description": "Ending ball lie after the shot (or \"hole_out\").",
      -      "enum": [
      -        "tee",
      -        "teeShot",
      -        "fairway",
      -        "rough",
      -        "bunker",
      -        "trouble",
      -        "green",
      -        "fringe",
      -        "hole_out"
      -      ],
      -      "type": "string"
      -    },
      -    "unit": {
      -      "description": "Distance unit (\"yards\", \"meters\", or \"feet\").",
      -      "enum": [
      -        "yards",
      -        "meters",
      -        "feet"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / facilityName
      Removed value: -{
      -  "description": "[Mode \"course_search\" | \"hole_strategy\"] Golf facility name filter (e.g. \"ヒバリゴルフクラブ\").",
      -  "maxLength": 120,
      -  "type": "string"
      -}
    • changedInput schema / properties / holeNumber / description
      Previous value: -"[Mode \"hole_strategy\"] Specific hole number (1-18). Omit to compute the full GamePlan for all holes in the course."New value: +"Golf hole (1 to 18)."
    • removedInput schema / properties / includeHoles
      Removed value: -{
      -  "default": true,
      -  "description": "[Mode \"course_search\"] Include hole-by-hole GPS coordinates and yardages.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / isObRetee
      Removed value: -{
      -  "default": false,
      -  "description": "[Mode \"sg\"] True if the shot went Out-of-Bounds (OB) requiring a re-tee (SG = -2.0).",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / lie / description
      Previous value: -"[Mode \"ev\" | \"dispersion\"] Current ball lie."New value: +"Ball lie surface."
    • changedInput schema / properties / limit / description
      Previous value: -"[Mode \"course_search\"] Maximum courses to return (1-20, default 10)."New value: +"Max rows returned."
    • changedInput schema / properties / mode / description
      Previous value: -"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)."New value: +"Execution mode."
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through result sets deterministically."New value: +"Pagination offset."
    • removedInput schema / properties / penalty
      Removed value: -{
      -  "default": 0,
      -  "description": "[Mode \"sg\"] Penalty strokes incurred on the shot (0 to 10, default 0).",
      -  "maximum": 10,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • removedInput schema / properties / queries
      Removed value: -{
      -  "description": "Optional batch of 1 to 10 shot/strategy queries in a single request.",
      -  "items": {
      -    "description": "Individual ANSR golf calculation query object.",
      -    "type": "object"
      -  },
      -  "maxItems": 10,
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / properties / query / description
      Previous value: -"[Mode \"course_search\" | \"hole_strategy\"] Golf facility name, kana, or English substring (e.g. \"ヒバリゴルフクラブ\", \"Hibari\", \"ゴールド札幌\")."New value: +"Search query string."
    • removedInput schema / properties / region
      Removed value: -{
      -  "description": "[Mode \"course_search\"] Region filter (e.g. \"関東\", \"近畿\", \"九州\").",
      -  "maxLength": 32,
      -  "type": "string"
      -}
    • removedInput schema / properties / shape
      Removed value: -{
      -  "default": "straight",
      -  "description": "[Mode \"dispersion\" | \"strategy\" | \"hole_strategy\"] Shot shape (\"straight\", \"fade\", or \"draw\").",
      -  "enum": [
      -    "straight",
      -    "fade",
      -    "draw"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / skillLevel / description
      Previous value: -"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)."New value: +"Golfer skill tier."
    • removedInput schema / properties / stage
      Removed value: -{
      -  "default": "approach",
      -  "description": "[Mode \"dispersion\"] Shot stage (\"tee\" or \"approach\").",
      -  "enum": [
      -    "tee",
      -    "approach"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / start
      Removed value: -{
      -  "description": "[Mode \"sg\"] Starting ball state before the shot (distance, unit, and lie).",
      -  "properties": {
      -    "distance": {
      -      "description": "Starting distance to the hole (0 to 700).",
      -      "maximum": 700,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "lie": {
      -      "description": "Starting ball lie before the shot.",
      -      "enum": [
      -        "tee",
      -        "teeShot",
      -        "fairway",
      -        "rough",
      -        "bunker",
      -        "trouble",
      -        "green",
      -        "fringe",
      -        "hole_out"
      -      ],
      -      "type": "string"
      -    },
      -    "unit": {
      -      "description": "Distance unit (\"yards\", \"meters\", or \"feet\").",
      -      "enum": [
      -        "yards",
      -        "meters",
      -        "feet"
      -      ],
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / state
      Removed value: -{
      -  "description": "[Mode \"course_search\"] Nationwide prefecture filter across all 47 Japanese prefectures (e.g. \"北海道\", \"東京都\", \"大阪府\", \"兵庫県\", \"沖縄県\").",
      -  "maxLength": 32,
      -  "type": "string"
      -}
    • removedInput schema / properties / targetEV
      Removed value: -{
      -  "default": 3,
      -  "description": "[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.",
      -  "maximum": 10,
      -  "minimum": 1,
      -  "type": "number"
      -}
    • changedInput schema / properties / unit / description
      Previous value: -"[Mode \"ev\" | \"dispersion\"] Distance unit (\"yards\", \"meters\", or \"feet\")."New value: +"Distance unit."
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Deterministic 157,480-point golf Expected Value, Strokes Gained, ShotCircle dispersion, and 2,005-course GPS GamePlan items ordered by query index."New value: +"Golf EV/SG & GPS items."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. Added

TDQS

B3.4/5.0
Behavior3/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 the safety profile is covered. The description adds genuinely useful behavior beyond that: results are 'items ordered by index' and pagination defaults are spelled out. It does not explain whether modes differ in cost, coverage, or result shape, which for a 6-mode switch would have been valuable.

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?

Two tight sentences, front-loaded with corpus scope then invocation essentials; nothing is padded. The closing 'Note' about POIs is the one weak element — it costs a sentence without contributing a usable routing rule.

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?

With an output schema present, return values need not be described, and the annotations carry the safety story, so the description only owes mode semantics and parameter interplay. It supplies defaults and ordering but leaves the mode→filter relationship and mode→result differences undefined, which is the main thing an agent must reason about for a 10-parameter, 6-mode query tool.

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%, so the baseline is 3 and the bar for the description is to add meaning beyond field-level docs. It highlights the key filter trio (mode, distance/lie, courseId) and repeats three defaults already present in the schema. The critical semantic gap — what each of the six mode enum values actually does and how it constrains the other nine parameters — is left unaddressed in both schema and description.

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?

The description opens with a specific verb+resource (read-only query of golf EV, Strokes Gained, dispersion, GPS data) and scopes it with concrete corpus sizes (157,480 points, 2,005 courses). It is distinguishable from siblings like query_seismic_hazards, though the six execution modes are named only indirectly and 'golf EV' is never expanded.

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?

It does give invocation guidance ('Pass mode with distance/lie or courseId') and states defaults for mode/limit/offset, which helps an agent call it. But it never says when to pick ev vs sg vs dispersion vs strategy vs course_search vs hole_strategy, and the one alternative it names ('For POIs, use query_seismic_hazards') is puzzling for a golf tool and offers no useful routing decision.

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.