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

nominatim-osm-geocoding-mcp

Get geographic bounding box for a place

get_place_bounding_box
Read-onlyIdempotent

Retrieve south, north, west, and east bounding box coordinates and center points for cities, states, countries, or landmarks by place name.

Instructions

Retrieve south, north, west, and east bounding box coordinates and center points for any global city, state, country, or landmark.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "get_place_bounding_box"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum bounding boxes to return (default 3).
queryYesPlace, city, or region name (e.g. "Manhattan, New York", "Greater London").
countrycodesNoOptional comma-separated 2-letter ISO country codes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds useful return-shape context ('south, north, west, and east ... and center points') and global place coverage, though it does not explain multi-result or limit behavior.

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?

Single sentence with no filler, front-loaded with the action and output. It stays appropriately sized for a simple retrieval tool.

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 simple read-only lookup with full schema coverage and rich annotations, the description supplies the essential return fields and scope. It is slightly incomplete on usage routing and how multiple boxes are handled, but those gaps are minor given the schema and annotations.

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 query, limit, and countrycodes are already documented. The description restates the place types accepted by query but adds no syntax, default, or filtering semantics beyond the schema.

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 ('Retrieve') and resource ('south, north, west, and east bounding box coordinates and center points') plus supported place types. It does not explicitly distinguish this from sibling geocoding tools, so it stops short of a 5.

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

Usage Guidelines2/5

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

No explicit when-to-use guidance, no when-not-to-use guidance, and no mention of alternative siblings such as geocode_place or reverse_geocode. The agent must infer that this is for bounding boxes rather than addresses or points.

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