Skip to main content
Glama

Verithic · official data by municipality

Rent year by year · El alquiler, año a año («¿Y la tuya?»)

alquiler_ano_a_ano
Read-onlyIdempotent

Average rent of registered contracts per full year for one municipality (Generalitat de Catalunya, dataset qww9-bvhh): € per month and number of contracts each year, with a warning when a year has fewer than 100 contracts, and one sentence with the first and last reliable year. Without a municipality it lists the towns with a long enough series. Source, period and read date included; a year with no value is null with its reason. Not available for the Costa Blanca (zone "costa-blanca"): it answers "not available for this zone". — Alquiler medio de los contratos registrados por año completo para un municipio (Generalitat de Catalunya, conjunto qww9-bvhh): €/mes y número de contratos cada año, con aviso cuando un año tiene menos de 100 contratos, y una frase con el primer y el último año fiables. Sin municipio lista las poblaciones con serie suficiente. Con fuente, periodo y fecha de lectura; un año sin valor sale a null con su motivo. No disponible para la Costa Blanca (zona "costa-blanca"): contesta «no disponible para esta zona».

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

Input Schema

NameRequiredDescriptionDefault
languageNoResponse language: "es" (default) or "en". Idioma de la respuesta.es
municipioNoName or slug (optional). Nombre o slug (opcional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, but the description adds substantial behavior beyond them: the <100-contract reliability warning threshold, null-with-reason for missing years, the first/last reliable-year sentence, the inclusion of source, period and read date, and the explicit Costa Blanca rejection message. These are the edge cases an agent needs to interpret the response correctly, and they are all disclosed.

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 content is front-loaded with the core purpose and every individual claim is relevant, but the entire description is duplicated verbatim in Spanish and English, roughly doubling token cost with zero added information. The English half alone is also a single very long sentence, which makes the threshold and null-handling details harder to scan.

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?

There is no output schema, so the description has to carry the return contract itself, and it does: units, per-year values, contract counts, reliability warning, null semantics, provenance fields, and the out-of-scope zone response. For a two-parameter read-only tool this leaves no meaningful gap for an agent to guess at.

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

Parameters4/5

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

Schema coverage is 100% and both parameters are already documented, so the baseline is 3. The description goes beyond the schema by explaining that omitting municipio triggers a listing of towns with sufficient series, which gives the optional parameter real semantic weight; it says nothing extra about the language enum, but the schema covers that adequately.

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 names a specific verb and resource — average rent of registered contracts per full year for one municipality — plus the exact dataset (Generalitat de Catalunya, qww9-bvhh) and the units (€/month and contract count). It is clearly distinguishable from siblings like ficha_municipio or comparar_municipios because it is scoped to a year-by-year series for a single town.

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 states an explicit no-argument mode ("Without a municipality it lists the towns with a long enough series"), which tells the agent how to use the tool when the optional municipio is omitted. It also excludes one zone outright (Costa Blanca returns "not available for this zone"), but it does not name which sibling to call instead when a municipality lookup fails or when the user wants a comparison rather than a single series.

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