Skip to main content
Glama

Crypto & Web Data API for Agents

Search places by name or address via Nominatim

world_geocode
Read-only

Search places by name or address via Nominatim. Forward geocoding: returns up to 5 matches with coordinates, type, category, importance, address components and bounding box. Use for finding places before calling weather, sun or distance endpoints. Price $0.010 per call (x402: USDC on Base or Solana).

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": {
      "q": "<q>"
    },
    "name": "world_geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesAddress or place name to search
txNoAlternative to the X-Payment-Tx header
limitNoMaximum number of results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover read-only and open-world traits, but the description adds genuinely new operational context: result cardinality (up to 5), the returned fields (coordinates, type, category, importance, address, bbox), and a cost of $0.010 per call with x402 USDC payment on Base or Solana. It stops short of stating error behavior, rate limits, or etiquette requirements of Nominatim, which matters for a rate-limited public service.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three front-loaded sentences with little waste: purpose first, return shape second, routing and cost last. The only friction is "returns up to 5 matches" sitting next to a limit parameter whose default is 3, which could momentarily read as a mismatch.

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 usefully enumerates the returned fields and the cap, and it discloses the paid-call model that affects invocation decisions. Missing only failure modes and rate-limit/etiquette notes, which a public Nominatim wrapper would benefit from.

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 q, limit and tx are already documented, and the description adds little per-parameter meaning beyond echoing "up to 5 matches" (limit max 5). The pricing line hints that tx is a payment escape hatch but does not explain it further. 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?

Names a specific verb and resource ("Search places by name or address via Nominatim") and immediately disambiguates it as forward geocoding, which separates it from the sibling world_reverse. An agent can distinguish it from world_entity or world_postal without opening either 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 explicit downstream chaining guidance: "Use for finding places before calling weather, sun or distance endpoints." It does not explicitly name world_reverse as the inverse alternative or state when-not-to-use, but the forward-geocoding framing covers the main routing decision.

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.

Resources