Skip to main content
Glama

Build Golf Trip

build_golf_trip
Read-onlyIdempotent

AFTER find_nearby_courses, pass its center latitude/longitude, access and holes preferences, and number_of_courses to make a 1-4 course shortlist. You can also start directly with a plain-language location (place, station, address, or US ZIP). Optional tee yardage and slope ranges rank matching tees by fit plus straight-line distance; without tee preferences, courses are nearest-first and missing scorecards are retained. Returns ranked course picks with canonical Stymie URLs, reusable slugs, selection reasons, distance, access, holes, and published tee data when available. Public access excludes unknown/private courses; private picks require the golfer to confirm access. No booking, tee-time availability, transit routing, or drive times are provided. Use returned URLs as citations without inventing slugs.

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": "build_golf_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
holesNo
stateNo
accessNopublic
countryNoCountry code to disambiguate a place; GB means UK
latitudeNo
locationNoPlace name, station, address, or US ZIP; omit when reusing the nearby result coordinates
longitudeNo
slope_maxNo
slope_minNo
tee_yards_maxNo
tee_yards_minNo
distance_milesNoSearch radius in miles: one of 5, 10, 20, 25, 5025
number_of_coursesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "US",
      -  "CA",
      -  "GB",
      -  "IE",
      -  "AU",
      -  "NZ"
      -]New value: +[
      +  "US",
      +  "CA",
      +  "GB",
      +  "IE",
      +  "AU",
      +  "NZ",
      +  "PT",
      +  "MX",
      +  "DO"
      +]
  2. Changed14 schema fields changed
    • addedInput schema / properties / access
      Added value: +{
      +  "default": "public",
      +  "enum": [
      +    "all",
      +    "public",
      +    "private",
      +    "semi_private",
      +    "municipal",
      +    "resort"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Country code to disambiguate a place; GB means UK",
      +  "enum": [
      +    "US",
      +    "CA",
      +    "GB",
      +    "IE",
      +    "AU",
      +    "NZ"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / distance_miles / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "10",
      -      "20",
      -      "25",
      -      "50"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "const": 10,
      -    "type": "number"
      -  },
      -  {
      -    "const": 20,
      -    "type": "number"
      -  },
      -  {
      -    "const": 25,
      -    "type": "number"
      -  },
      -  {
      -    "const": 50,
      -    "type": "number"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "5",
      +      "10",
      +      "20",
      +      "25",
      +      "50"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "const": 5,
      +    "type": "number"
      +  },
      +  {
      +    "const": 10,
      +    "type": "number"
      +  },
      +  {
      +    "const": 20,
      +    "type": "number"
      +  },
      +  {
      +    "const": 25,
      +    "type": "number"
      +  },
      +  {
      +    "const": 50,
      +    "type": "number"
      +  }
      +]
    • changedInput schema / properties / distance_miles / description
      Previous value: -"Search radius in miles: one of 10, 20, 25, 50"New value: +"Search radius in miles: one of 5, 10, 20, 25, 50"
    • addedInput schema / properties / holes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "9",
      +        "18",
      +        "27",
      +        "36"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "const": 9,
      +      "type": "number"
      +    },
      +    {
      +      "const": 18,
      +      "type": "number"
      +    },
      +    {
      +      "const": 27,
      +      "type": "number"
      +    },
      +    {
      +      "const": 36,
      +      "type": "number"
      +    }
      +  ]
      +}
    • addedInput schema / properties / location / description
      Added value: +"Place name, station, address, or US ZIP; omit when reusing the nearby result coordinates"
    • changedInput schema / properties / location / maxLength
      Previous value: -100New value: +200
    • removedInput schema / properties / slope_max / default
      Removed value: -155
    • removedInput schema / properties / slope_min / default
      Removed value: -115
    • changedInput schema / properties / state / maxLength
      Previous value: -2New value: +3
    • removedInput schema / properties / tee_yards_max / default
      Removed value: -6200
    • changedInput schema / properties / tee_yards_max / minimum
      Previous value: -4000New value: +500
    • removedInput schema / properties / tee_yards_min / default
      Removed value: -5900
    • changedInput schema / properties / tee_yards_min / minimum
      Previous value: -4000New value: +500
  3. Changed4 schema fields changed
    • addedInput schema / properties / distance_miles / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "10",
      +      "20",
      +      "25",
      +      "50"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "const": 10,
      +    "type": "number"
      +  },
      +  {
      +    "const": 20,
      +    "type": "number"
      +  },
      +  {
      +    "const": 25,
      +    "type": "number"
      +  },
      +  {
      +    "const": 50,
      +    "type": "number"
      +  }
      +]
    • addedInput schema / properties / distance_miles / description
      Added value: +"Search radius in miles: one of 10, 20, 25, 50"
    • removedInput schema / properties / distance_miles / enum
      Removed value: -[
      -  "10",
      -  "20",
      -  "25",
      -  "50"
      -]
    • removedInput schema / properties / distance_miles / type
      Removed value: -"string"
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real behavior beyond them: ranking logic (tee fit plus straight-line distance), fallback ordering ('nearest-first') and retention rules ('missing scorecards are retained'), and access semantics ('Public access excludes unknown/private courses; private picks require the golfer to confirm access'). It also enumerates the return payload, so the agent knows what it will get back despite there being no output schema.

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?

Front-loaded with the chaining instruction and otherwise dense, with each sentence carrying distinct information (inputs, ranking, returns, exclusions). The long enumeration of return fields is the only passage that could be trimmed.

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 13-parameter, no-output-schema tool, the definition covers entry paths, ranking behavior, access caveats, returned fields, and explicit exclusions. Minor gaps remain around empty-result behavior and whether location and lat/long are mutually exclusive (only implied by the schema note 'omit when reusing').

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 description coverage is only 23% across 13 parameters, so the description must carry weight; it does explain the interaction between inputs — lat/long reused from a nearby result versus a free-form location, access/holes/number_of_courses as shortlist controls, and optional tee yardage/slope ranges as ranking modifiers with a defined no-preference fallback. It leaves state, country, and distance_miles (search radius) unexplained, and 'straight-line distance' could be confused with the distance_miles radius parameter.

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

Purpose5/5

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

States a concrete verb and resource — 'make a 1-4 course shortlist' from coordinates or a plain-language location — and explicitly positions itself relative to the find_nearby_courses sibling ('AFTER find_nearby_courses, pass its center latitude/longitude'). An agent can distinguish this from search_courses or get_course without opening any schema.

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?

Gives two explicit entry paths (chain after find_nearby_courses, or start directly with a place/station/address/ZIP) and names out-of-scope capabilities: 'No booking, tee-time availability, transit routing, or drive times are provided.' That covers both when-to-use and when-not-to-use, which is rare.

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.

Resources