Skip to main content
Glama

Strokes Gained by Shotto

Compare to a handicap

compare_to_handicap
Read-onlyIdempotent

How many strokes per 18 holes a typical golfer of a given handicap loses to a scratch golfer, in the long game (tee shots and approaches), the short game, from sand and putting, and how much the average PGA Tour player gains on scratch. Optionally, give strokes gained against scratch for one part of the game (or all of it) to find the handicap it plays like. These are per-round figures: to grade particular shots or a hole against a handicap, use strokes_gained with baseline "handicap".

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": {
      "handicap": "<handicap>"
    },
    "name": "compare_to_handicap"
  }
}

Input Schema

NameRequiredDescriptionDefault
handicapYesHandicap index. Below 0 reads as scratch.
part_of_gameNoWhich part of the game strokes_vs_scratch covers. Defaults to all.
strokes_vs_scratchNoOptional: a golfer's strokes gained against a scratch golfer per 18 holes, to convert into the handicap it plays like.

Output Schema

NameRequiredDescriptionDefault
sourceYes
handicapYes
tour_vs_scratchYes
total_vs_scratchYes
plays_like_handicapNo
per_round_vs_scratchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context beyond that: the figures are per-round (per 18 holes), which prevents unit errors, and the inverse comparison mode is disclosed. It says nothing about output shape or edge behavior, but with a rich annotation set that is a minor gap.

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 sentences, front-loaded with the main purpose, then the optional inverse mode, then the sibling routing. No filler. The opening clause is dense and reads as a fragment, which costs a little clarity but nothing is wasted.

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?

An output schema exists, so return values need not be described, and the description covers both invocation modes and the required handicap. Only minor gaps remain, such as what happens when strokes_vs_scratch is supplied together with a narrow part_of_game.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns an increment by explaining why strokes_vs_scratch exists (to convert a strokes-gained figure into an equivalent handicap) and how part_of_game interacts with it, including the 'all of it' case. It reinforces rather than duplicates the schema wording.

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 names the exact quantity returned (strokes per 18 holes lost by a golfer of a given handicap to scratch) and breaks it down by long game, short game, sand and putting, plus the PGA Tour gain. It also explicitly separates this lookup role from strokes_gained, so an agent can distinguish it from its sibling. The only shortfall is that the opening is framed as a description of figures rather than a crisp action verb like 'Return' or 'Compute'.

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

Usage Guidelines5/5

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

Both usage directions are stated: leave strokes_vs_scratch out to get typical differences, or supply it to convert a figure into the handicap it plays like. It also states the exclusion — for grading particular shots or a hole, use strokes_gained with baseline 'handicap' — naming the alternative and the condition that selects it.

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.