Skip to main content
Glama

golfdata.online — verified golf clubs

Find golf clubs near a point

find_nearby_clubs
Read-onlyIdempotent

Find the verified golf clubs closest to a point: lat/lng (WGS 84), optional radius_km (default 25, max 200), limit (default 10, max 50) and an ISO country filter. Use it when you have coordinates (a town, a hotel, the golfer's location); for names and places use search_clubs. Returns summary records like search_clubs plus distance_km (straight-line, nearest first), no sources[]; call get_club before citing. complete: false means the area held more clubs than one page and a closer club may be missing: use a smaller radius. Each result may carry links (tracked website/booking URLs) — give users links.* so the club sees demand for it.

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": {
      "lat": "<lat>",
      "lng": "<lng>"
    },
    "name": "find_nearby_clubs"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesLatitude in decimal degrees (WGS 84), -90..90.
lngYesLongitude in decimal degrees (WGS 84), -180..180.
limitNoMax results, 1..50 (default 10).
countryNoISO 3166-1 alpha-2 country code, e.g. ES (optional filter)
radius_kmNoSearch radius in km, 1..200 (default 25).

Output Schema

NameRequiredDescriptionDefault
noteNo
countYes
limitYes
detailYes
originYes
resultsYes
completeYes
radius_kmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent safety; the description adds real behavioral context: results are summary records with straight-line distance sorted nearest-first, sources[] is absent, and 'complete: false' signals truncation with a prescribed remedy (smaller radius). It also discloses that links are tracked URLs and how to surface them, which is non-obvious behavior an agent could not get from structured fields.

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 purpose, then usage, then return shape and the truncation caveat — a sensible priority order with little filler. The closing sentence about giving users links.* 'so the club sees demand' drifts toward product guidance, but it still conveys a concrete output-handling expectation.

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

Completeness5/5

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

Even though an output schema exists, the description still covers what matters for correct invocation: result ordering, distance semantics, the missing sources[] field, and the completeness flag with its remedy. For a five-parameter geo-search with clear annotations, nothing an agent needs 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 coverage is 100% and already documents every parameter, including defaults, maxes and the ISO alpha-2 format, so the description's restatement of radius_km (25/200) and limit (10/50) adds no new meaning. The only marginal addition is framing what the coordinates represent (a town, hotel, or golfer location), which is useful intent context but not schema-level detail.

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 specific verb and resource ('Find the verified golf clubs closest to a point') and immediately scopes it to coordinate-based lookup, explicitly naming search_clubs as the name/place alternative. An agent can distinguish it from every sibling without opening a 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 an explicit trigger ('use it when you have coordinates — a town, a hotel, the golfer's location'), an explicit exclusion with the alternative tool for name/place queries, and a follow-up rule ('call get_club before citing'). Nothing about when to select this tool is left to inference.

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