Skip to main content
Glama

Photon Search

photon_search
Read-onlyIdempotent

Forward geocode, place name -> coordinates. Strong on partial / autocomplete-style queries.

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": {
      "query": "Eiffel Tower Paris"
    },
    "name": "photon_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude bias center
lonNoLongitude bias center
bboxNoBounding box: "min_lon,min_lat,max_lon,max_lat"
langNoLanguage for the response (en, de, fr, ...)
zoomNoZoom level for bias (0-18)
layerNohouse | street | locality | city | district | county | state | country
limitNo1-50 (default 5)
queryYesFree-text place name / address
osm_tagNoOSM tag filter (e.g. "amenity:pharmacy")
location_bias_scaleNoStrength of lat/lon bias (default 0.2)

Output Schema

NameRequiredDescriptionDefault
featuresNoArray of geocoding results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, non-destructive, so safety is covered. The description adds one behavioral trait — strength on partial/autocomplete input — but says nothing about result ordering, how bias parameters affect output, or how many candidates typically come back (though an output schema exists).

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 short fragments with zero filler, and the operative definition is front-loaded before the qualifier about partial queries.

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?

Rich annotations, a full output schema, and 100% parameter coverage carry most of the burden, so the terse description is survivable. Still, for a 10-parameter geo tool it omits how lat/lon/bbox/zoom/layer interact with the query and whether filtering by osm_tag changes result semantics.

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% across all 10 parameters, so the schema does the semantic work. The description contributes no parameter-level meaning beyond the word 'partial' applying to query, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Forward geocode, place name -> coordinates') plus the direction of the lookup, which implicitly separates it from photon_reverse. An agent can tell what it returns without opening the schema.

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?

'Strong on partial / autocomplete-style queries' gives a usage hint for query style, which is genuinely useful. However, it never states when to prefer this over photon_reverse (e.g., 'use photon_reverse for coordinates -> place name') and gives no exclusions or prerequisites.

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.