Skip to main content
Glama

describe_location

Read-onlyIdempotent

Converts lat/lon coordinates into nearest address, settlement, district, admin area and motorway junction with distances. Use when you have coordinates and need to state where that point is.

Instructions

Turns a coordinate into words: the nearest address, settlement, Kreis, administrative area and motorway junction, each with its own distance. Use when you already HAVE a lat/lon and need to say where that is. Do NOT use to look up a place or address BY NAME — that is find_place, find_poi or find_address; this only goes coordinate to words. The gazetteer facts are the NEAREST point, not a boundary lookup — near a border it can differ, and the admin point can be a Regierungsbezirk, not a Land. OpenStreetMap ODbL 1.0 for the address; show the attribution line.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude of the point to describe (WGS84).
lonYesLongitude of the point to describe (WGS84).
languageNoSet this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.de

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.8

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds genuinely new behavioral context: gazetteer facts are nearest-point not boundary lookups, results can differ near borders, the admin point may be a Regierungsbezirk rather than a Land, and OpenStreetMap ODbL 1.0 attribution must be shown. These are obligations and caveats the structured fields cannot convey.

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-loads the core definition and the exclusion before the caveats, so the most decision-relevant content comes first. It is dense and somewhat run-on in the middle clauses, but no sentence is filler.

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?

No output schema exists, so the description must characterize the return, and it does so explicitly by listing the five fact types and their per-fact distances. Combined with the attribution requirement and boundary caveats, an agent has everything needed to call it and present results correctly.

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 100%, and the language parameter already carries a very detailed schema description, so the baseline of 3 applies. The prose adds no syntax or format guidance for lat/lon or language beyond what the schema states.

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 'Turns a coordinate into words' states a precise verb+resource, and the description enumerates what comes back (address, settlement, Kreis, administrative area, motorway junction with distances). It explicitly distinguishes itself from find_place, find_poi and find_address, so an agent can route correctly without opening any 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?

Both the trigger ('Use when you already HAVE a lat/lon') and the anti-trigger ('Do NOT use to look up a place or address BY NAME') are stated, and the three alternative siblings are named by name. This is the textbook when/when-not/alternatives pattern.

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