Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Nearest geographies

nearest_geographies
Read-only

Geographies at level whose internal point is closest to (lat, lon). This is a nearest-point approximation, not point-in-polygon. To find the geography containing a point, use locate_point.

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>",
      "level": "<level>"
    },
    "name": "nearest_geographies"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
levelYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds substantive behavioral context the annotations cannot: results are a nearest-internal-point approximation, so a returned geography may not actually contain the point. It stops short of describing result ordering or whether distances are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the operational definition front-loaded and the disambiguation second. Every clause carries information the agent needs.

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 read-only lookup with no output schema, the description covers what the tool does and how it differs from its nearest sibling. Remaining gaps are the undocumented `limit` parameter and the shape of the return (list of geographies vs. geographies with distances), which the agent must infer.

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 description coverage is 0% across 4 parameters, so the description must carry the load. It effectively defines lat, lon, and level through the sentence, but never mentions the `limit` parameter or its default of 5, and gives no indication of what values `level` accepts.

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 combination ('Geographies at `level` whose internal point is closest to (lat, lon)') and scopes it to a ranking approach. It is immediately distinguishable from sibling locate_point and from get_geography/list_geographies.

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?

Explicitly names when NOT to use it ('not point-in-polygon') and routes the agent to the correct alternative ('To find the geography containing a point, use locate_point'). That is the single most important routing decision for this family of tools and it is stated outright.

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