Skip to main content
Glama

STRATA & TrashPan B2A Public Data, JP KYB, GLEIF LEI, OFAC Sanctions, TCG & Golf EV MCP

calculate_golf_putting_expected_strokes

Calculate deterministic expected putts to hole out from any green distance (1 to 300 feet) tailored to the player’s skill tier (World Ranker to 90s / coreScore 64-125). (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_putting_expected_strokes"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo[Mode "sg"] Ending state after the shot: { distance, unit, lie } (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 state before the shot: { distance, unit, lie }.
stateNo[Mode "course_search"] Prefecture filter (e.g. "兵庫県", "千葉県", "北海道").
regionNo[Mode "course_search"] Region filter (e.g. "関東", "近畿", "九州").
penaltyNo[Mode "sg"] Penalty strokes incurred on the shot (default 0).
queriesNoOptional batch of up to 10 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 (e.g. 150).
targetEVNo[Mode "strategy"] Target Expected Value (strokes to hole out, e.g. 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 to compute required advance yardage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does contribute two useful facts — the engine is deterministic and calls are billed at $0.005 USDC via x402 — but it never explains that behavior varies drastically by mode, that course_search performs a facility lookup against GPS data, or that batch queries are accepted. For a 25-parameter multi-mode tool, that is thin.

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

Conciseness3/5

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

The core sentence is front-loaded and economical. However, the trailing parenthetical is largely branding/promotional metadata (Apify URL) rather than operational information, and the whole description is too short for the surface area it must cover.

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

Completeness2/5

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

With 25 parameters, six enum modes, nested start/end objects, and no output schema or annotations, the definition needs substantially more prose than one sentence. The schema itself is thorough, which partially rescues usability, but an agent cannot learn from the description that mode selection changes the tool's entire behavior.

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 all 25 parameters are already documented in structured form; baseline 3 applies. The description adds a little meaning by stating the distance span (1-300 feet) and the coreScore band (64-125), but it says nothing about the mode parameter, which is the single most consequential input.

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

Purpose2/5

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

The description frames the tool narrowly as a putting expected-strokes calculator for green distances of 1-300 feet, but the schema exposes six modes (ev, sg, dispersion, strategy, course_search, hole_strategy) including Japanese course search and full hole gameplans. An agent reading only the prose would fundamentally misjudge what this tool can do, and no sibling (e.g. calculate_golf_shot_ev, search_jp_golf_courses) is named to clarify scope.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative-selection guidance. With sibling tools like calculate_golf_strokes_gained, calculate_golf_hole_gameplan, and search_jp_golf_courses apparently overlapping the extra modes, the absence of routing guidance is a real gap rather than a minor omission.

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.