Skip to main content
Glama

reverse_geocode

Convert latitude and longitude coordinates into a human-readable address for any location.

Instructions

Reverse geocode a coordinate to a human-readable address.

Units: lat/lon in decimal degrees; returns a display-name string. Example: reverse_geocode(lat=3.15, lon=101.71) -> "Bukit Bintang, ..."

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude in decimal degrees [-90, 90].
lonYesLongitude in decimal degrees [-180, 180].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must carry the burden. It discloses units, the return type (display-name string), and demonstrates output with an example. However, it does not mention potential failure modes, coverage limitations, or any caveats about accuracy, which are relevant for a reverse geocoding operation.

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?

The description is compact and well-structured: a clear one-sentence purpose, a units note, and an illustrative example. Every sentence earns its place, with the example positioned at the end for clarity.

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?

The tool is simple with two fully documented parameters and an output schema available. The description adds units and an example, which is sufficient for an agent to call it correctly. It could be more complete by noting when to prefer it over forward geocoding, but for the tool's complexity it is nearly complete.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value by reiterating units and providing a worked example that shows exact parameter values and the resulting output pattern. This goes beyond the schema's range descriptions and helps an agent verify correct invocation.

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 states a specific verb and resource: 'Reverse geocode a coordinate to a human-readable address.' This clearly distinguishes it from siblings like geocode (forward geocoding), isochrone, and pois, and the example reinforces the behavior with actual coordinate-to-address mapping.

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?

The description implies the use case (given lat/lon, get an address) and provides an example, but it does not explicitly mention alternatives or conditions for when to choose this tool over geocode or other siblings. The guidance is implied rather than stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abangbroy/osm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server