Skip to main content
Glama

Cuelark Data

ZIP codes near a point

zips_near
Read-onlyIdempotent

Nearest US ZIP codes to a latitude/longitude, by distance from each ZIP's centre.

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>",
      "lon": "<lon>"
    },
    "name": "zips_near"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
limitNo
radius_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description's one real contribution is disclosing that distance is measured from each ZIP's centre rather than from a boundary or population centroid, which matters for result plausibility. It says nothing about ordering of returned results, default radius behaviour, pagination, or how many codes come back by default.

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?

One front-loaded sentence with no filler, and the key constraint (distance basis) comes last where it is still readable. Brevity here is partly under-specification rather than tightness, but nothing is redundant.

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

Completeness2/5

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

For a tool with four undocumented parameters, no output schema and no annotations explaining units, the description leaves too much open: units for radius_km versus lat/lon, whether limit defaults to a value, and how results are ordered or truncated. An agent can trigger the call but cannot reliably predict what it gets back or tune the filters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description carries the full burden. It clarifies lat/lon only indirectly ('latitude/longitude') and says nothing about 'limit' or 'radius_km', which are the two parameters an agent is most likely to mis-set. Both are undocumented in the schema and absent from the description.

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

Purpose4/5

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

The description names a specific verb-and-resource pair ('Nearest US ZIP codes') and states the input basis ('to a latitude/longitude') plus the ordering rule ('by distance from each ZIP's centre'). It is clearly distinct from zip_lookup/zip_search in spirit, but it never names those siblings to confirm the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'near a point' plus the required lat/lon tells an agent this is the reverse-geocoding direction rather than code lookup. There is no explicit statement of when to prefer this over zip_lookup or zip_search, and no exclusions or prerequisites.

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