Skip to main content
Glama

Find a place on the map

geocode_place
Read-only

Resolve a free-text place (city, address or POI) to coordinate candidates via OrgLines' OWN self-hosted PostGIS geocoder over OSM data (no external geocoding service). Read-only. Returns {candidates: [{name, lat, lng, kind, country, ...}]} ranked by relevance; empty when nothing matches. Use to turn a place name into coordinates before create_trip.

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": {
      "query": "<query>"
    },
    "name": "geocode_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: the geocoder is self-hosted over OSM with no external service, results are ranked by relevance, and an empty list is returned when nothing matches. It does not discuss rate limits or ambiguity handling, keeping it below 5.

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?

The definition is dense but front-loaded: purpose first, then mechanism, then return shape, then usage. Every clause carries information. The single long opening sentence is slightly heavy but not padded.

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 compensates by sketching the return shape ({candidates: [{name, lat, lng, kind, country, ...}]}) and the empty-result case. Combined with the read-only annotations, an agent has enough to call it correctly; only the 'limit' parameter remains unexplained.

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 0%, so the description must carry parameter meaning. It clarifies that 'query' is free-text and gives examples of accepted place kinds (city, address, POI), which is useful. However, the 'limit' parameter (1-20) is never mentioned, leaving half the parameters undocumented.

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: 'Resolve a free-text place (city, address or POI) to coordinate candidates', and names the underlying mechanism (self-hosted PostGIS over OSM). It is clearly distinguishable from sibling tools like create_trip, which it explicitly references as a downstream consumer.

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 a concrete usage context: 'Use to turn a place name into coordinates before create_trip.' That tells the agent when to reach for it and what it feeds into. It does not name an alternative geocoder or state when not to use it, so it falls short of a 5.

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