get_golf_shot_data
Retrieve golf shot data from Garmin scorecards, optionally filtered to specific holes for detailed full-round or hole-by-hole analysis.
Instructions
Shot data for a scorecard, optionally for some holes only (e.g. "1,2,3"). GETs /gcs-golfcommunity/api/v2/shot/scorecard/{scorecardId}/hole; holeNumbers accepts commas or hyphens as separators (spaces stripped), re-joined with - before sending as the hyphenated hole-numbers param; if any requested hole number is >9, the filter is silently dropped and all 18 holes are requested instead (Garmin's endpoint drops double-digit hole numbers from a filtered query); omitting holeNumbers also fetches all 18.
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": {
"scorecardId": "<scorecardId>"
},
"name": "get_golf_shot_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holeNumbers | No | ||
| scorecardId | Yes | Numeric id |