Skip to main content
Glama

Geocode Search

geocode_search
Read-onlyIdempotent

"Geocode [address]" / "find [city] coordinates" / "search for places named [X]" / "where is [landmark]", geocode an address or place name to coordinates via Pelias (OpenStreetMap-backed). Returns ranked candidates with lat/lng, address components, layer (venue/street/locality/region). Use as a free alternative to Mapbox/Google geocoding, or when you want OpenStreetMap-curated data.

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": {
      "text": "Berlin"
    },
    "name": "geocode_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
textYes
layersNo
sourcesNo
focus_latNo
focus_lonNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "text": "Berlin"
      +  },
      +  {
      +    "focus_lat": 49.41461,
      +    "focus_lon": 8.681495,
      +    "size": 10,
      +    "text": "restaurant"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Geocoding search response from OpenRouteService (Pelias)",
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover read-only, open-world, idempotent, and non-destructive behavior. The description adds Pelias/OpenStreetMap provenance, ranked candidates, and return fields, though it does not mention auth, rate limits, or query constraints.

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?

The description is front-loaded, uses compact invocation examples, and avoids redundant explanation. Every clause contributes to purpose, usage, provenance, or output context.

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?

Annotations and the output schema cover safety and return shape, but the description is incomplete for a six-parameter tool because five optional parameters have no semantic explanation. It is sufficient for a basic text-only geocode but not for advanced filtering or location-biased searches.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters. The description clarifies only 'text' as an address or place name and describes some returned fields; it says nothing about size, layers, sources, focus_lat, or focus_lon.

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 states a specific action—geocoding an address or place name to coordinates via Pelias—and mentions the returned lat/lng and layer data. It does not explicitly differentiate this tool from sibling tools, so it is clear but stops short of full sibling differentiation.

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?

It gives concrete invocation patterns and says to use it as a free alternative to Mapbox/Google geocoding or when OSM-curated data is desired. It lacks explicit when-not-to-use guidance or named sibling alternatives.

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.