Strokes Gained by Shotto
Golf strokes gained: expected strokes from any lie, shot-by-shot strokes gained, handicap levels.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"strokes-gained": {
"url": "https://shottogolf.com/mcp"
}
}
}Remote endpoints
https://shottogolf.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
🟢expected_strokes(lie, distance, unit)
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.
Input Schema
{
"type": "object",
"properties": {
"lie": {
"type": "string",
"enum": [
"tee",
"fairway",
"rough",
"sand",
"recovery",
"green"
],
"description": "Where the ball lies. sand is a bunker; recovery is trees or trouble where the next shot is a punch-out."
},
"distance": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"description": "Distance to the hole."
},
"unit": {
"description": "Unit of the distance. Defaults to feet on the green and yards everywhere else.",
"type": "string",
"enum": [
"yards",
"feet",
"meters"
]
}
},
"required": [
"lie",
"distance"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"position": {
"type": "object",
"properties": {
"lie": {
"type": "string"
}
},
"required": [
"lie"
],
"additionalProperties": {}
},
"expected_strokes": {
"type": "number"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"name",
"url",
"code"
],
"additionalProperties": false
}
},
"required": [
"position",
"expected_strokes",
"source"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢strokes_gained(holes, baseline, handicap)
Strokes gained for every shot of one or more holes, and the totals by category: off the tee, approach, around the green (30 yards and in) and putting. Measured against a scratch golfer by default, with the PGA Tour figure alongside; set baseline to "tour", or to "handicap" with the index, to grade the same shots against the Tour or a golfer of that handicap ("compared with a 15 handicap"). Give one entry per stroke, the position it was played from; the last entry of each hole is the shot that went in, so the number of entries is the score (plus any penalty strokes). Where the golfer's app shows this tool's card, the card already lists every shot, what it did, the totals and the four categories: then reply in a sentence or two on what stands out (or answer the question), with no table or list of the shots.
Input Schema
{
"type": "object",
"properties": {
"holes": {
"minItems": 1,
"maxItems": 36,
"type": "array",
"items": {
"type": "object",
"properties": {
"par": {
"description": "The hole's par. Defaults to 4. A par-3 tee shot counts as an approach.",
"type": "integer",
"minimum": 3,
"maximum": 6
},
"shots": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"lie": {
"type": "string",
"enum": [
"tee",
"fairway",
"rough",
"sand",
"recovery",
"green"
],
"description": "Where the ball lies. sand is a bunker; recovery is trees or trouble where the next shot is a punch-out."
},
"distance": {
"type": "number",
"minimum": 0,
"maximum": 1000,
"description": "Distance to the hole."
},
"unit": {
"description": "Unit of the distance. Defaults to feet on the green and yards everywhere else.",
"type": "string",
"enum": [
"yards",
"feet",
"meters"
]
},
"penalty_strokes": {
"description": "Penalty strokes taken on the shot that ended here (1 for water or a lost ball); this position is then where the next shot was played from.",
"type": "integer",
"minimum": 0,
"maximum": 2
}
},
"required": [
"lie",
"distance"
]
},
"description": "One entry per stroke: where each shot was played from, in order, starting from the tee. The last entry is the shot that went in (usually the final putt). Do not add an entry for the ball in the hole: a two-putt from 20 feet is two green entries, 20 feet and the length of the second putt."
}
},
"required": [
"shots"
]
}
},
"baseline": {
"description": "Who to measure against: \"scratch\" (the default), \"tour\" (the average PGA Tour player), or \"handicap\" with handicap set.",
"type": "string",
"enum": [
"scratch",
"tour",
"handicap"
]
},
"handicap": {
"description": "The handicap index to measure against, when baseline is \"handicap\" (e.g. 15).",
"type": "number",
"minimum": -10,
"maximum": 54
}
},
"required": [
"holes"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"holes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"par": {
"type": "number"
},
"strokes": {
"type": "number"
},
"total": {
"type": "number"
},
"number": {
"type": "number"
},
"length": {
"type": [
"string",
"null"
]
},
"result": {
"type": "string"
},
"story": {
"type": "string"
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"category": {
"type": "string"
},
"strokes_gained": {
"type": "number"
},
"strokes_gained_tour": {
"type": "number"
},
"penalty_strokes": {
"type": "number"
},
"shot": {
"type": "string"
},
"from_text": {
"type": "string"
},
"result": {
"type": "string"
},
"left": {
"type": "string"
},
"holed": {
"type": "boolean"
}
},
"required": [
"from",
"category",
"strokes_gained",
"strokes_gained_tour",
"penalty_strokes",
"shot",
"from_text",
"result",
"left",
"holed"
],
"additionalProperties": false
}
}
},
"required": [
"par",
"strokes",
"total",
"number",
"length",
"result",
"story",
"shots"
],
"additionalProperties": false
}
},
"baseline": {
"type": "string"
},
"baseline_key": {
"type": "string",
"enum": [
"scratch",
"tour",
"handicap"
]
},
"handicap": {
"type": [
"number",
"null"
]
},
"highlights": {
"type": "object",
"properties": {
"best": {
"anyOf": [
{
"type": "object",
"properties": {
"hole": {
"type": "number"
},
"text": {
"type": "string"
},
"strokes_gained": {
"type": "number"
}
},
"required": [
"hole",
"text",
"strokes_gained"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"costliest": {
"anyOf": [
{
"type": "object",
"properties": {
"hole": {
"type": "number"
},
"text": {
"type": "string"
},
"strokes_gained": {
"type": "number"
}
},
"required": [
"hole",
"text",
"strokes_gained"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"best",
"costliest"
],
"additionalProperties": false
},
"by_category": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"total": {
"type": "number"
},
"total_tour": {
"type": "number"
},
"strokes": {
"type": "number"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"name",
"url",
"code"
],
"additionalProperties": false
}
},
"required": [
"holes",
"baseline",
"baseline_key",
"handicap",
"highlights",
"by_category",
"total",
"total_tour",
"strokes",
"source"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢compare_to_handicap(handicap, strokes_vs_scratch, part_of_game)
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".
Input Schema
{
"type": "object",
"properties": {
"handicap": {
"type": "number",
"minimum": -10,
"maximum": 54,
"description": "Handicap index. Below 0 reads as scratch."
},
"strokes_vs_scratch": {
"description": "Optional: a golfer's strokes gained against a scratch golfer per 18 holes, to convert into the handicap it plays like.",
"type": "number",
"minimum": -60,
"maximum": 20
},
"part_of_game": {
"description": "Which part of the game strokes_vs_scratch covers. Defaults to all.",
"type": "string",
"enum": [
"longGame",
"shortGame",
"sand",
"putting",
"all"
]
}
},
"required": [
"handicap"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"handicap": {
"type": "number"
},
"per_round_vs_scratch": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"total_vs_scratch": {
"type": "number"
},
"tour_vs_scratch": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"plays_like_handicap": {
"type": "number"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"code": {
"type": "string"
}
},
"required": [
"name",
"url",
"code"
],
"additionalProperties": false
}
},
"required": [
"handicap",
"per_round_vs_scratch",
"total_vs_scratch",
"tour_vs_scratch",
"source"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Community
Evidence