Skip to main content
Glama

dato402 - Spain & EU data

Official Spanish geocoder

spain_geocode_address
Read-onlyIdempotent

Official Spanish geocoder (CartoCiudad, IGN): address to coordinates, postal code, municipality and cadastral reference, or reverse geocoding from coordinates to the nearest address.

ES: Geocodificador oficial de España (CartoCiudad, IGN): convierte una dirección en coordenadas, código postal, municipio y referencia catastral, o unas coordenadas en la dirección más cercana.

Free tool (no API key, no payment). Official Spanish/EU open data.

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitud (para la búsqueda inversa)
lonNoLongitud (para la búsqueda inversa)
direccionNoDirección, mejor con el municipio tras una coma, p. ej. Gran Vía 28, Madrid

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is fully covered by structured data. The description adds genuinely new context beyond that: no API key, no payment, official open-data provenance. It does not mention rate limits, result caps, or error behavior for unparseable addresses.

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 English lead sentence is front-loaded and information-dense, with the cost/licensing note last. The full Spanish restatement is pure duplication from an information standpoint, though defensible for a Spain-specific tool; it roughly doubles the length without adding new constraints.

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 three-optional-parameter geocoder with no output schema, the description covers the modes, the returned field set, the provider and the access cost. The remaining gap is behavior with an empty or conflicting parameter set, which an agent could plausibly stumble into given required=[].

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%, so all three parameters are already documented with Spanish descriptions including the 'Gran Vía 28, Madrid' example. The description adds no syntax, format, or precedence rules beyond what the schema provides, so the baseline of 3 applies.

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 names a specific verb+resource (geocode a Spanish address) and enumerates both directions: address to coordinates/postal code/municipality/cadastral reference, and coordinates to nearest address. It also names the data source (CartoCiudad, IGN), which lets an agent place it precisely. It stops short of differentiating from overlapping siblings such as spain_postal_code or spain_cadastre_property, which also return some of the same fields.

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 clearly conveys the two operating modes, and the schema reinforces which inputs belong to which mode (lat/lon for reverse, direccion for forward). What is missing is any statement about the all-optional parameter set: nothing says what happens if both modes' inputs are supplied or if none are. No sibling routing guidance is offered either.

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