Skip to main content
Glama

Beggar Bot

geocode

Geocode / reverse-geocode: address or place → lat/lon, structured address, postcode, country, bbox; or lat+lon → full address. OpenStreetMap Nominatim, keyless. Paid: $0.02 USDC via x402.

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": "geocode"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoaddress or place
latNolatitude (reverse)
lonNolongitude (reverse)
limitNo1-10

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?

With no annotations, the description carries the disclosure burden and does well: it names the provider (OpenStreetMap Nominatim), states keyless access, and quotes the price ($0.02 USDC via x402) along with the returned fields. It omits rate-limit/throttling behavior and error semantics, which matter for a public Nominatim endpoint.

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?

Dense and front-loaded: forward mode, reverse mode, provider/pricing all in two sentences with no filler. The arrow notation and abbreviations are efficient but slightly telegraphic, costing a bit of immediate readability.

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?

No output schema exists, and the description compensates by enumerating returned fields (lat/lon, structured address, postcode, country, bbox), which is the key thing an agent needs. The remaining gap is the absent statement that callers must pass either q or lat+lon, plus limit defaults.

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 coverage is 100% and each parameter already carries a description, so the schema does the heavy lifting. The description adds the q-vs-(lat,lon) mode mapping, but does not clarify defaults, the meaning of limit bounds, or behavior when both modes are supplied — so it stays at baseline.

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 specific verbs (geocode / reverse-geocode) and the exact resources exchanged: address/place to lat-lon with structured address, postcode, country, bbox, or lat+lon to a full address. This is precise enough that an agent understands the tool's function 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?

Clearly sketches the two usage modes (forward with an address/place, reverse with lat+lon), which is the essential when-to-use context. It does not explicitly say that one of the two modes must be supplied, even though all four params are optional, and names no alternatives, so an agent must infer the required input combination.

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.