Skip to main content
Glama

geocode

Convert addresses or place names to geographic coordinates using free Nominatim geocoding. Returns latitude, longitude, display name, and type for up to 5 results.

Instructions

Forward geocode an address or place name to coordinates.

Uses Nominatim (free, no key). Returns lat, lon, display_name, type,
and importance for up to 5 results.

Parameters:
    query — Address or place name to geocode (required), e.g. "London" or "10 Downing Street".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full behavioral transparency burden. It discloses that the tool uses a free service without API key, returns up to 5 results with specific fields, and requires a query. However, it omits details like rate limits, error handling, or response format beyond the listed fields.

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 description is concise, using a few short sentences to convey purpose, service, output, and parameter. It is front-loaded with the main action. While efficient, it could eliminate the minor redundancy in listing return fields (already part of output schema).

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?

Given the tool has only one required parameter and an output schema (not shown but present), the description is fairly complete. It explains the purpose, input, and output informally. Missing aspects like error states or usage limits are minor, as the output schema likely covers structure.

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?

The single parameter 'query' is described as an address or place name with examples ('London', '10 Downing Street'). Since schema description coverage is 0%, the description adds essential meaning beyond the schema's minimal 'Query' title. It clarifies the parameter's purpose and typical usage.

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 the tool's purpose: forward geocoding an address or place name to coordinates. It specifies the service (Nominatim, free, no key) and output fields (lat, lon, display_name, type, importance) with a result limit. It distinguishes itself from sibling 'reverse_geocode' by focusing on forward geocoding.

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 mentions that it uses Nominatim (free, no key), implying suitability for non-commercial use, but it does not explicitly state when to use this tool versus alternatives or provide exclusions. There is no guidance on alternative geocoding tools or scenarios where this might not be appropriate.

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/scotia1973-bot/api-hub'

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