Skip to main content
Glama

Geocode Address Or Place (Nominatim)

nominatim.geocode.search
Read-onlyIdempotent

Forward geocode a free-form address or place name (e.g. "Eiffel Tower", "1600 Amphitheatre Parkway, Mountain View") into coordinates and structured address data, using OpenStreetMap data via Nominatim. Optionally restrict to specific countries. No auth required; ODbL licensed, © OpenStreetMap contributors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of matches to return (1-50, default 5)
queryYesFree-form search text (e.g. "1600 Amphitheatre Parkway, Mountain View" or "Eiffel Tower")
languageNoPreferred response language as an Accept-Language value (e.g. "en", "de-DE")
country_codesNoComma-separated ISO 3166-1 alpha-2 country codes to restrict the search to (e.g. "us,ca")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds valuable context beyond those: data provenance (OpenStreetMap via Nominatim), no auth required, and ODbL licensing/attribution requirements. No contradiction with annotations.

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?

Two sentences with front-loaded purpose, immediate examples, and no filler. Every clause earns its place: operation, input examples, output type, optional restriction, and legal/auth notes.

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?

For a read-only geocoding tool with an output schema and annotations covering safety, the description is complete: it states the data source, license, auth requirements, optional country restriction, and expected output shape. Nothing an agent needs to invoke it correctly is missing.

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 all four parameters already described in the input schema. The description adds only illustrative query examples and a paraphrase of the country_codes restriction; it does not introduce new semantics for language, limit, or query formatting beyond what the schema provides.

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 ('Forward geocode') and resource (free-form address/place name → coordinates and structured address data), with concrete examples that make the operation unmistakable. It clearly distinguishes itself from reverse and lookup siblings by naming the forward direction and the data source (OpenStreetMap via Nominatim).

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?

The description makes the core use case clear: forward geocoding of free-form text. However, it does not explicitly name alternatives such as nominatim.geocode.reverse or nominatim.geocode.lookup, nor does it state when not to use this tool. Context is clear but exclusions are absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.