Skip to main content
Glama

Photon OSM Geocoding MCP

Batch geocode up to 5 addresses or places

batch_geocode_places
Read-onlyIdempotent

Forward geocode 1 to 5 addresses or place names via Komoot Photon and return normalized coordinates, OSM IDs, and formatted addresses.

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": {
      "queries": "<queries>"
    },
    "name": "batch_geocode_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred Photon label language.
queriesYesList of 1 to 5 addresses or landmarks to geocode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, and non-destructive, so the safety profile is covered. The description adds useful context beyond that — the upstream provider and the return fields — but says nothing about what happens when some of the five queries fail to resolve, whether results are order-aligned with inputs, or any rate limits, which are the salient behaviors for a batch geocoder.

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 the verb, scope, provider, and return values in that order. Nothing is padded and nothing needs to be re-read.

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?

With no output schema, the description correctly compensates by enumerating the returned fields. It is nearly complete for a two-parameter read-only tool; the only shortfall is unstated partial-failure and result-ordering behavior across a batch.

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 both parameters are already documented, and the description only restates the queries cardinality without adding format guidance. The lang parameter and its enum values are not mentioned at all in the description, so it adds no meaning 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?

The description names a specific verb and resource ('Forward geocode 1 to 5 addresses or place names'), names the backend (Komoot Photon), and states what is returned (coordinates, OSM IDs, formatted addresses). The explicit 1-to-5 batch framing implicitly separates it from the single-address geocode_address sibling, but no sibling is named outright.

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 '1 to 5' phrasing implies this is the multi-query option, but the description never states when to prefer it over geocode_address, search_places_in_bbox, or reverse_geocode, and gives no exclusions. Usage is inferable rather than instructed.

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.