Skip to main content
Glama

Verithic · official data by municipality

Is the asking price normal? · ¿Lo que piden es normal aquí?

comparar_anuncio
Read-onlyIdempotent

Compares the price (or rent) of a specific listing with the published figure for its municipality: price per m² of homes sold (Generalitat registered sales or the Notariado) or rent (registered contracts in Catalonia, rent declared to the tax office in Madrid). Returns the listing's €/m² or rent, the town figure with its source, period, read date and licence, the difference in % and euros, and a band: below, in line (±5%) or above. It is the town average, not a valuation of the flat; the rent average mixes all sizes. Nothing is stored. Also answers for the Costa Blanca (zone "costa-blanca", published): price per m² (Notariado), rent declared to the tax office (SERPAVI), property tax (IBI) rate, residents from abroad (INE), holiday lets per 100 residents and minutes by car, with no real-time traffic, to Alicante (Luceros), Alicante-Elche Airport, the beach and the hospital; public transport minutes, where there is a service, on each town's page. — Compara el precio (o el alquiler) de un anuncio concreto con la cifra publicada de su municipio: precio €/m² de las compraventas (registradas de la Generalitat o ante notario) o alquiler (contratos registrados en Cataluña, renta declarada a Hacienda en Madrid). Devuelve el €/m² o la renta del anuncio, la cifra del municipio con fuente, periodo, fecha de lectura y licencia, la diferencia en % y en euros, y una banda: por debajo, en la media (±5 %) o por encima. Es la media del municipio, no una tasación del piso; la media del alquiler mezcla todos los tamaños. No se guarda nada. También responde para la Costa Blanca (zona "costa-blanca", publicada): precio €/m² (Notariado), alquiler declarado a Hacienda (SERPAVI), tipo del IBI, vecinos de otro país (INE), pisos turísticos por cada 100 vecinos y minutos en coche, sin tráfico en tiempo real, a Alicante (Luceros), al aeropuerto de Alicante-Elche, a la playa y al hospital; los minutos en transporte público, donde hay servicio, en la ficha de cada población.

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": {
      "municipio": "<municipio>",
      "modo": "<modo>",
      "precio_eur": "<precio_eur>"
    },
    "name": "comparar_anuncio"
  }
}

Input Schema

NameRequiredDescriptionDefault
m2NoBuilt area in m² (required to buy). Metros construidos (obligatorio al comprar).
modoYescomprar (buy, price and m²) or alquilar (rent, € a month). Comprar o alquilar.
zonaNoArea: bcn (default) or madrid or costa-blanca. Zona.bcn
languageNoResponse language: "es" (default) or "en". Idioma de la respuesta.es
municipioYesName or slug. Nombre o slug.
precio_eurYesListing price in euros (buy) or monthly rent in euros (rent). Precio del anuncio o renta al mes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / zona / description
      Previous value: -"Area: bcn (default) or madrid. Zona."New value: +"Area: bcn (default) or madrid or costa-blanca. Zona."
    • changedInput schema / properties / zona / enum
      Previous value: -[
      -  "bcn",
      -  "madrid"
      -]New value: +[
      +  "bcn",
      +  "costa-blanca",
      +  "madrid"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly, idempotent, closed-world) by disclosing data provenance and licences (Generalitat, Notariado, SERPAVI, INE, Hacienda), the reference period and read date, that nothing is stored, and that Costa Blanca driving times exclude real-time traffic. These are exactly the caveats an agent needs to present results honestly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, which is good, but the text is then fully duplicated in Spanish and English, doubling length without adding information for an agent. The extended Costa Blanca enumeration (IBI, INE, holiday lets, drive minutes) is relevant but bulky.

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?

With no output schema, the description carries the return-value burden and does so thoroughly: listing €/m² or rent, town figure with source/period/read date/licence, delta in % and euros, and the below/in-line/above band. Nothing needed to call or interpret the tool is missing.

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 100% and the enums are documented, so the schema already carries parameter meaning. The description reinforces buy-vs-rent framing and the 'costa-blanca' zone, but adds little beyond what the schema states.

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?

States a precise verb and resource: compares one listing's price or rent against the published municipal figure, and enumerates the returned values (€/m², town figure, difference, band). The scope ('a specific listing', 'town average, not a valuation') separates it conceptually from municipality-level siblings, but no sibling is named explicitly.

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?

Usage context is clear: it applies to a concrete asking price or rent, and the description explicitly warns it is the town average rather than a flat valuation and that the rent average mixes all sizes. It does not, however, say when to prefer comparar_municipios, precio_parada or ficha_municipio instead.

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