Skip to main content
Glama

flatin.es — new builds and local data in Spain

Compare 2–4 places in Spain on local data

compare_places
Read-onlyIdempotent

Side-by-side latest figures for 2–4 municipalities (provinces of Alicante, Málaga, Valencia, Murcia) or buyer zones: housing prices (MIVAU), rent (SERPAVI), IBI, population, income, tourist lets, foreigners, air quality and more — at most 12 indicators per call. Each figure has its unit, period, level (municipality, or province when the place has none), source credit and date, and station or point of interest with distance. Only places whose flatin.es page is published get figures; every answer links the flatin.es pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoLanguage of names and page links; default en.
placesYes2 to 4 places: a municipality of the provinces of Alicante, Málaga, Valencia or Murcia (name, slug, 'province/municipality' or 5-digit INE code) or a buyer zone (costa-blanca, costa-del-sol); prefix 'municipio:' / 'zona:' to disambiguate.
indicatorsNoUp to 12 indicator keys; default: mivau_valor_tasado_total, rent_m2_median, ibi, padron29005, income_person, vt_viviendas, vt_pct, foreign_total, share_65plus, aq_no2_annual, aq_pm25_annual, tourist_occ_pct. Keys whose source terms do not allow export answer 'not_available' (the value is on the page).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real operational context beyond that: only places with a published flatin.es page return figures, keys whose source terms disallow export answer 'not_available', and province-level fallback appears when a municipality has no data. The only missing element is an explicit error/empty-result behavior.

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 core scope (2–4 places, side-by-side figures) is front-loaded in the opening clause, and the dense middle section enumerates the data domains efficiently. It is a single long sentence with some list-like padding around data sources, but nothing is redundant enough to be cut without losing coverage.

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 carries the return-value burden well: it states that each figure includes unit, period, level, source credit and date, plus station/POI distance, and that answers link the flatin.es pages. That is nearly everything an agent needs to interpret results; only explicit error/empty-result behavior is absent.

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%, so the schema already documents locale, place formats and indicator keys. The description largely restates structured constraints ('at most 12 indicators per call', province lists, buyer zone names) rather than adding new syntax or format meaning. Baseline 3 is the right call when the schema does the heavy lifting.

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 states a specific verb and resource — 'Side-by-side latest figures for 2–4 municipalities ... or buyer zones' — and enumerates the covered geography (Alicante, Málaga, Valencia, Murcia), which pins the tool's scope precisely. An agent can distinguish this multi-place comparison tool from single-figure siblings like ibi_rate or purchase_costs 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 Guidelines3/5

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

Usage is implied by the shape of the call: use it when comparing 2–4 places across many indicators. However, no sibling tool is named and there is no explicit 'use this instead of ibi_rate when...' routing, nor any when-not-to-use guidance, so an agent must infer the boundary itself.

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