Skip to main content
Glama

Coordinates to address

reverse_geocode

Convert latitude/longitude coordinates into a street address with structured components. Returns null instead of guessing for unmapped or ocean points.

Instructions

Reverse geocoding: turn latitude/longitude into a street address with structured components. Returns null with a reason rather than a guess when the point is ocean or unmapped. Data from OpenStreetMap Nominatim. Costs $0.003 USDC per call on Base mainnet (eip155:8453), paid automatically from the wallet in EVM_PRIVATE_KEY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude, -90..90.
lonYesLongitude, -180..180.
Behavior5/5

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

With no annotations, the description carries the full burden. It discloses the null-and-reason behavior for ocean/unmapped points, the OpenStreetMap Nominatim data source, and the cost/payment mechanism, which are important runtime behaviors.

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 three sentences, front-loaded with the core purpose, followed by behavioral and cost information. No filler or repetition of schema fields.

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 2 params, but there is no output schema, so the description should explain the return value more fully. It mentions 'structured components' but doesn't enumerate them, and it doesn't mention potential errors aside from the null case. Still, cost and data source add context beyond the minimum.

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 coverage is 100%, with both lat and lon already described. The description adds no parameter-specific details beyond the schema, so the baseline 3 applies.

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 clearly states 'turn latitude/longitude into a street address with structured components', using a specific verb and resource. By calling it 'Reverse geocoding', it distinguishes itself from the sibling 'geocode' tool.

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

Usage Guidelines4/5

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

It explicitly frames the tool as reverse geocoding, indicating its use case, but does not name alternatives or state when not to use it. The sibling tool 'geocode' implies the forward direction, but no explicit exclusion is provided.

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/donnywin85/agent-utils-mcp'

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