Skip to main content
Glama

x402_photon_get_v1_search

Geocode place names into latitude/longitude and address parts using OpenStreetMap, avoiding Nominatim rate limits for agent location lookups.

Instructions

photon — Photon geocoder (Komoot): free OpenStreetMap forward geocoding — place name to lat/lon plus address parts. Use when an agent needs quick geocoding without Nominatim rate limits. [GET /v1/search] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/search?q=Taj%20Mahal&limit=3

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_photon_get_v1_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose useful traits: paid access at $0.005 USDC across four eip155 chains, free OSM upstream data, and absence of Nominatim-style rate limits. However, it does not explain how payment/authorization is handled, what happens when a paid call fails or is re-run, or the shape of the response beyond 'lat/lon plus address parts' — significant omissions for a metered mutation-like call.

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?

Front-loaded identification, then usage condition, then endpoint, pricing and a worked example — every sentence adds a distinct fact with no filler. Density is high without becoming unreadable.

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 search endpoint with no output schema and only generic query parameters, the description supplies purpose, provider, return contents, price, chains and an example URL. It is close to complete, with only payment/retry mechanics left implicit for the agent to infer.

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 coverage is 100%, so the baseline is 3, but the description adds real value by showing a concrete query string (?q=Taj%20Mahal&limit=3), which reveals the actual query keys (q, limit) that the schema only documents generically as free-form additionalProperties. The restart/operationId dedupe parameters are left to the schema.

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: OpenStreetMap forward geocoding that turns a place name into lat/lon plus address parts. It also pins down the concrete provider (Komoot Photon) and endpoint (GET /v1/search), so an agent can distinguish it from other search siblings 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 Guidelines4/5

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

Gives an explicit trigger: 'Use when an agent needs quick geocoding without Nominatim rate limits,' which tells the agent the condition that selects this tool over the common alternative. It stops short of stating when NOT to use it or naming a specific sibling alternative for heavier geocoding needs.

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

Deploy Server

Other Tools