Skip to main content
Glama

Consultar inmueble del Catastro espanol por direccion

consultar_inmueble_por_direccion
Read-only

Resuelve y devuelve los datos catastrales no protegidos de un inmueble urbano espanol a partir de su DIRECCION (provincia, municipio, via y numero). Util para resolver el inmueble desde el texto de un anuncio cuando no se tiene la referencia catastral. Provincia y municipio van por NOMBRE (no codigo); streetType es la sigla de la via (CL, AV, PZ...) y se recomienda para acertar. Devuelve el MISMO JSON normalizado que la consulta por referencia (clase urbano/rustico, uso, superficie construida, anio, direccion); si el numero corresponde a varios inmuebles (propiedad horizontal), devuelve la lista de candidatos para desambiguar (afina con bloque/escalera/planta/puerta). Solo direcciones urbanas; cobertura: territorio comun (excluye Pais Vasco y Navarra).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doorNoPuerta, si aplica. Opcional: afina a un inmueble concreto.
blockNoBloque, si aplica (propiedad horizontal). Opcional: afina a un inmueble concreto.
floorNoPlanta, si aplica. Opcional: afina a un inmueble concreto.
provinceYesProvincia por NOMBRE (no codigo), p. ej. 'CIUDAD REAL', 'MADRID'. Obligatorio. Territorio comun (excluye Pais Vasco y Navarra).
stairwayNoEscalera, si aplica. Opcional: afina a un inmueble concreto.
streetNameYesNombre de la via SIN la sigla, p. ej. 'GLORIA', 'ALCALA'. Obligatorio.
streetTypeNoTipo/sigla de via del Catastro: CL (calle), AV (avenida), PZ (plaza), CR (carretera), CM (camino)... Opcional pero recomendado para acertar la via.
municipalityYesMunicipio por NOMBRE, p. ej. 'SANTA CRUZ DE MUDELA', 'MADRID'. Obligatorio.
streetNumberYesNumero de policia, p. ej. '51'. Obligatorio.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYes
statusYes
messageYes
propertyYes
candidatesYes

TDQS

A5/5.0
Behavior5/5

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

Annotations provide readOnly and openWorld hints. The description adds meaningfully: it returns only non-protected data, returns a candidate list for multiple properties, refines with block/stairway/floor/door, and describes the normalized output. No contradictions.

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?

A dense, front-loaded paragraph with zero fluff. Each clause adds actionable information, from the primary use case to the disambiguation behavior and territorial coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 9 parameters and an output schema, the description fully covers the decision context: when to choose it, how to refine the address, what to expect in the response, and what's out of scope. The output schema handles return structure, so no additional detail is needed.

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

Parameters5/5

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

Schema coverage is 100%, but the description elevates the semantics: it explains province/municipality must be by name, streetType is the via abbreviation (CL, AV, PZ), and optional fields serve the disambiguation of horizontal property units. This is exactly the kind of clarification an agent needs to pass correct parameters.

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?

The description opens with a specific verb+resource: 'Resuelve y devuelve los datos catastrales no protegidos de un inmueble urbano español a partir de su DIRECCION'. It clearly distinguishes from siblings by noting it is for when the cadastral reference is unavailable, and references the normalized JSON shared with the reference-based query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use: 'cuando no se tiene la referencia catastral' and specifies limitations: 'Solo direcciones urbanas' and coverage excludes País Vasco and Navarra. The mention of the reference-based query's JSON implicitly provides an alternative pathway.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool is uniquely identified by its input method: cadastral reference, coordinates, or address. There is no overlap in purpose; they all return the same normalized data but from different lookup keys, making selection unambiguous.

Naming Consistency4/5

All tools start with 'consultar_inmueble', but the first uses 'catastro' while the others use 'por_coordenadas' and 'por_direccion'. The pattern is almost consistent, with a minor deviation in the first tool.

Tool Count4/5

With 3 tools, the set is slightly lean but appropriate for a focused cadastral lookup service. Each tool covers a distinct and essential query method, so the count feels justified rather than sparse.

Completeness4/5

The tools cover the three primary ways to look up a property (reference, coordinates, address) and return comprehensive property data. Minor gaps exist, such as lack of batch queries or cartographic data, but the core domain is well-covered for typical use cases.

Resources