Skip to main content
Glama
nominatim-osm-geocoding-mcp

nominatim-osm-geocoding-mcp

Geocode a structured global address

search_structured_address
Read-onlyIdempotent

Search OpenStreetMap Nominatim by separate street, city, county, state, country, and postal code fields to find addresses when partial or structured address data is available.

Instructions

Search OpenStreetMap Nominatim using separate street, city, county, state, country, and postalcode parameters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_structured_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity or town name (e.g. "New York").
limitNoMaximum matches to return (default 5).
stateNoState, province, or region.
countyNoCounty or district name.
streetNoHouse number and street name (e.g. "350 5th Ave").
countryNoCountry name (e.g. "United States", "Germany").
postalcodeNoPostal or ZIP code (e.g. "10118").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, and the description adds nothing behavioral beyond them. It omits practically relevant traits of this specific service, notably Nominatim's usage-rate/attribution expectations and how ambiguous or partial matches are handled. 'Mentions the provider and the parameter style' is the entire added value.

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?

A single front-loaded sentence with no filler and no hedging. It loses a point only because listing all seven parameter names is largely redundant with the schema and pushes the one distinctive idea, the provider and structured mode, into the middle of the sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, all-optional, read-only search tool with no output schema, the description covers the basic intent but leaves a real ambiguity: it never says what happens with zero parameters, or what the ranked results look like. Annotations carry the safety profile, but the calling behavior for the loose-optional schema is under-explained.

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%, so all seven parameters, including the limit range and defaults, are already documented in the schema. The description merely enumerates the same field names without adding format rules, expected fallbacks, or guidance on which components combine well, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and data source ('Search OpenStreetMap Nominatim') and indicates the structured-parameter mode of querying, which separates it in spirit from a free-text geocoder. However, it never names the sibling it differs from (geocode_place, reverse_geocode), so differentiation must be inferred from the parameter list.

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?

Usage is only implied: the phrase 'using separate street, city, county, state, country, and postalcode parameters' hints that this tool is the right choice when the caller already has address components. There is no explicit when-to-use, when-not-to-use, or named alternative such as geocode_place for a free-form query.

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