Skip to main content
Glama

Club for distance

club_for_distance
Read-onlyIdempotent

Pick the club of the player's measured bag whose distance is closest to a target in metres, with the next shorter and longer club. Use it for a quick club choice; to read the whole bag use get_bag. With source, the number comes from the player's own table (said by them or measured on TrackMan, with its date). Read-only.

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": {
      "metres": "<metres>"
    },
    "name": "club_for_distance"
  }
}

Input Schema

NameRequiredDescriptionDefault
metresYesDistance the shot must carry, in metres.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / metres / description
      Added value: +"Distance the shot must carry, in metres."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint, idempotentHint and destructiveHint already declared, the safety profile is covered and the closing 'Read-only' adds nothing. The description does earn credit elsewhere: absent any output schema, it discloses the return shape (closest club plus adjacent shorter and longer clubs) and explains where the underlying distances come from (player-stated or TrackMan-measured, with a date). The clause beginning 'With source' references a field that is not a parameter (additionalProperties is false and only 'metres' is accepted), which introduces mild ambiguity about what 'source' toggles.

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 core behavior, then the usage routing, then provenance. Nothing is padded, but the trailing 'source' sentence is the least clear and the redundant 'Read-only' could be dropped without loss.

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 single-parameter tool with no output schema, the description supplies the missing return information (nearest plus neighbours) and the data provenance, so an agent can predict the response. The only residual gap is the unexplained 'source' concept, which leaves a small question about whether the result set varies in a way the caller should anticipate.

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 the single parameter already carries a description ('Distance the shot must carry, in metres') plus a 5–350 bound. The description adds only the framing of that value as a 'target' and the matching rule (nearest by distance), so it does not meaningfully exceed the schema — the baseline applies.

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?

The description gives a specific verb and resource — 'pick the club of the player's measured bag whose distance is closest to a target in metres' — and adds the exact return composition (closest, next shorter, next longer). It explicitly separates itself from get_bag ('to read the whole bag use get_bag'), so an agent can route correctly among the many golf-data siblings without opening either 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?

It states the positive case ('use it for a quick club choice') and names the alternative for the broader need ('to read the whole bag use get_bag'). That is an explicit when-to-use plus a named sibling, which is the top of this dimension.

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.