Skip to main content
Glama

Reverse geocode a point

reverse_geocode
Read-onlyIdempotent

Point -> nearest address (street/number/postcode) and its containing division chain.

Instructions

Point -> nearest address (street/number/postcode) and its containing division chain.

Degrades to a divisions-only result (source: "divisions_only", plus a
note) if the addresses theme is unreachable, missing, or has no nearby
coverage — addresses is Overture's newest, least complete theme, so
this is the expected degraded path. Returns a structured {"error": ...}
instead of raising if the remote scan fails outright.

The answer also carries top-level "country" (ISO 3166-1 alpha-2) and
"region" (ISO 3166-2) beside admin_context, from the same nearest
division the chain is built from — omitted, not null-filled, when the
dataset or division lacks a value.

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description still adds substantial behavior beyond them: a documented degraded result (source: "divisions_only" plus a note) when the addresses theme is unreachable or lacks coverage, a structured {"error": ...} return instead of a raise, and the omission-instead-of-null rule for country/region. This is exactly the extra context annotations can't carry.

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?

The input→output contract is front-loaded in the first sentence, followed by degradation and error semantics. Slightly wordy phrasing ("so this is the expected degraded path") costs a little, but nearly every sentence carries load-bearing information.

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 two-parameter tool with an output schema, the description is more than sufficiently detailed: it explains degraded output, error shape, and field-omission rules. The only real gap is sibling differentiation (batch vs single vs address_at), which the usage dimension already penalizes.

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% for the two parameters, so the description would need to compensate — but it only implies a point via "Point ->", adding no coordinate-system, precision, or ordering detail. lat/lon are near-universally understood, so the gap is minor, but the description contributes little here.

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 opening line states a precise input→output transformation: a point in, the nearest street/number/postcode plus its containing division chain out. This is a specific verb+resource that an agent can tell apart from forward geocoding siblings like geocode or geocode_address 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 Guidelines3/5

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

Usage is implied by the description (point-based reverse lookup), but it never says when to prefer this over siblings such as address_at, reverse_geocode_batch, or admin_lookup, nor any exclusions or prerequisites. The conditions described (degraded path, error path) are behavioral, not selection guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.