Skip to main content
Glama

Nominatim Lookup

nominatim_lookup
Read-onlyIdempotent

Get details for OpenStreetMap locations by ID (e.g., "N123456" for node, "W654321" for way, "R111" for relation). Returns coordinates, names, and metadata.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "N123456,W654321"
    },
    "name": "nominatim_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesComma-separated list of OSM IDs with type prefix (e.g. "N123456,W654321"). N=node, W=way, R=relation.

Output Schema

NameRequiredDescriptionDefault
resultsYesArray of looked-up OSM objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive, so the safety profile is covered. The description adds that coordinates, names, and metadata come back, but since an output schema exists that return-value sentence is largely redundant, and it omits operationally relevant context such as Nominatim's rate-limit or public-instance policy.

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, front-loaded with the core action and ID format, with no filler. The example IDs in parentheses earn their place by clarifying the prefix convention.

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?

For a single-parameter read tool with full schema coverage, rich annotations, and an output schema, the description is close to sufficient. The remaining gap is the absence of any sibling routing or bulk-request caveat, which matters for an open-world public geocoder.

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%, and the schema already documents the comma-separated format and N/W/R prefixes. The description only restates that syntax, adding no new semantics such as ordering, duplicate handling, or maximum ID count, so the baseline 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?

States a specific verb and resource ('Get details for OpenStreetMap locations') and scopes it to lookup by OSM ID, with concrete prefix examples (N=node, W=way, R=relation). This implicitly separates it from the coordinate-based sibling nominatim_reverse_geocode, though that sibling is never named.

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: an agent can infer 'use this when you already have an OSM ID'. There is no explicit when-to-use framing, no guidance on when to prefer nominatim_reverse_geocode instead, and no notes on batching limits for the comma-separated list.

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.