Skip to main content
Glama

Strokes Gained by Shotto

Expected strokes to hole out

expected_strokes
Read-onlyIdempotent

How many strokes the average PGA Tour player takes to hole out from a given lie and distance, from Mark Broadie's tables. The building block of strokes gained.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lie": "<lie>",
      "distance": "<distance>"
    },
    "name": "expected_strokes"
  }
}

Input Schema

NameRequiredDescriptionDefault
lieYesWhere the ball lies. sand is a bunker; recovery is trees or trouble where the next shot is a punch-out.
unitNoUnit of the distance. Defaults to feet on the green and yards everywhere else.
distanceYesDistance to the hole.

Output Schema

NameRequiredDescriptionDefault
sourceYes
positionYes
expected_strokesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile needs no explanation. The description adds real context beyond them, saying the values are PGA Tour averages rather than amateur or per-player figures, which materially affects how a caller should interpret the result. It does not describe return shape, but an output schema exists.

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

Conciseness5/5

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

This definition is two short sentences with no wasted wording. It states what the tool computes first and then adds the provenance and conceptual role, so the most important information is front-loaded.

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

Completeness4/5

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

For a simple lookup tool with full schema coverage, complete annotations, and an output schema, the description covers the essentials: what it computes, whose data it uses, and that the baseline is the PGA Tour. It would be complete if it routed the agent explicitly to strokes_gained, but nothing needed to call the tool correctly is missing.

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 the enum values for lie and unit are already documented, including what 'sand' and 'recovery' mean and the unit defaults. The description only restates 'given lie and distance' and adds no extra detail, so the schema does the work and a baseline 3 applies.

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 gives a specific verb-and-resource framing: it returns the average number of strokes a PGA Tour player needs to hole out from a given lie and distance, and it cites the data source (Mark Broadie's tables). 'The building block of strokes gained' hints at how it differs from the strokes_gained sibling, but it never names that alternative explicitly.

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?

Saying the tool is 'the building block of strokes gained' implies that it is a raw benchmark lookup and that strokes_gained is the derived metric, so the usage context is implied rather than stated. There are no explicit when-to-use, when-not, or named-alternative instructions.

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.