Skip to main content
Glama

Photon OSM Geocoding MCP

Search OpenStreetMap POIs near a coordinate

search_pois_near_location
Read-onlyIdempotent

Search points of interest (hospitals, stations, museums, pharmacies, cafes) biased around a coordinate with optional OSM key:value tag 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>",
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "search_pois_near_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYesCenter latitude in decimal degrees.
lonYesCenter longitude in decimal degrees.
limitNoMax POIs to return (default 10).
queryYesPOI name or category keyword (e.g. "museum", "central station", "hospital").
osm_tagNoOptional Photon osm_tag filter (e.g. "tourism:museum", "amenity:hospital", "railway:station").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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. The description adds one genuinely useful behavioral signal — results are 'biased' around the coordinate rather than strictly radius-bounded (and there is no radius parameter) — but says nothing about ranking, radius defaults, or what is returned for unmatched tags.

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 sentence, front-loaded with the verb and resource, that packs in category examples and the tag-filter option without redundant wording.

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?

Inputs are fully covered between the schema and description, and annotations carry the safety profile. However, with no output schema there is no indication of what a POI result contains (name, address, coordinates, distance) or how 'biased' ranking behaves, leaving gaps for a geospatial discovery tool.

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 the schema already documents lat, lon, limit, query and osm_tag with examples. The description only restates the osm_tag filter concept and category examples, adding little meaning beyond the schema; 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 ('Search points of interest') plus concrete examples (hospitals, stations, museums) and the scoping condition ('biased around a coordinate'). The coordinate-centric scope implicitly separates it from the bbox-based sibling, but no sibling is named, so an agent must infer the distinction.

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 implied by the description (find POIs near a point), but there is no explicit when-to-use/when-not-to-use guidance and no mention of when search_places_in_bbox or the geocoding siblings would be preferable.

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.