Skip to main content
Glama

Photon OSM Geocoding MCP

Search OpenStreetMap places inside a bounding box

search_places_in_bbox
Read-onlyIdempotent

Search street addresses, districts, or landmarks strictly bounded within a geographic bounding box with optional OSM layer filter.

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>",
      "min_lon": "<min_lon>",
      "min_lat": "<min_lat>",
      "max_lon": "<max_lon>",
      "max_lat": "<max_lat>"
    },
    "name": "search_places_in_bbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerNoOptional Photon administrative or address layer filter.
limitNoMax results to return (default 10).
queryYesAddress, street, or place query.
max_latYesNorthern bounding box latitude.
max_lonYesEastern bounding box longitude.
min_latYesSouthern bounding box latitude.
min_lonYesWestern bounding box longitude.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered for free. The description contributes one real behavioral fact — results never fall outside the box — but says nothing about empty-result behavior, ordering, or whether network coverage gaps yield partial results.

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?

A single front-loaded sentence with no filler and no redundancy. The scoping constraint arrives before the optional-filter clause, which is the right order for an agent scanning for fit.

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 read-only, 7-parameter search tool with a fully documented schema and no output schema, the definition covers what the tool is and its central constraint. Missing only secondary details such as result format and coordinate-order conventions, which the schema already implies.

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?

Schema description coverage is 100% and every parameter carries bounds and meaning, so baseline is 3. The description does add a small amount of semantic framing by labeling the layer filter as an 'OSM layer filter', but it adds nothing about limit, coordinate ordering, or the minimum query length.

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 (Search) plus the resource types (street addresses, districts, landmarks) and a precise scope qualifier (strictly bounded within a bounding box). It is distinguishable from siblings by that bounding-box constraint, though it never names an alternative to contrast against.

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 phrase 'strictly bounded within a geographic bounding box' implies when to use it (viewport/rectangle searches) versus a point-radius or free-text geocode from siblings, but that is inference only. There is no explicit when-to-use, when-not-to-use, or named alternative.

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.