Skip to main content
Glama

dato402 - Spain & EU data

Spain official inflation

spain_cpi_rent_update
Read-onlyIdempotent

Spain official inflation (CPI, INE) and rent update calculator: annual CPI or IRAV rental index for a month, updated rent amount, and CPI change between any two months since 1961.

ES: IPC e IRAV oficiales del INE y actualización de alquileres: variación anual del mes, renta actualizada con IPC o IRAV (contratos de vivienda desde mayo de 2023) y variación del IPC entre dos meses cualesquiera desde 1961.

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_cpi_rent_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
mesNoMes de referencia AAAA-MM (por defecto el último publicado)
desdeNoMes inicial AAAA-MM para variación entre meses (opcional)
hastaNoMes final AAAA-MM (por defecto el último)
rentaNoRenta mensual a actualizar (opcional)
indiceNoipc (defecto) o irav

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: it is free, needs no API key or payment, and is sourced from official INE/EU open data — the kind of access and trust information annotations cannot convey. It does not describe response shape or defaults, which keeps it below 5.

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 capability list is front-loaded in the first clause, and the trailing lines about being free and official are short and useful. The full bilingual duplication roughly doubles the length for the same information, which is defensible for a Spanish user base but is still redundancy rather than economy.

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 five-parameter, all-optional tool with no output schema, the description does the important extra work of naming the three returnable results: the annual index, the updated rent figure, and the CPI change between months. The only remaining gap is what is returned when renta is omitted, which an agent must guess.

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%, so the baseline is 3, but the description adds real domain meaning: it explains the business rule that IRAV applies to housing contracts from May 2023 while IPC covers the general case, and that variation can span any two months since 1961. That rule is not present in the schema and materially guides the indice/desde/hasta choices.

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 states a specific resource and capability set: official Spanish CPI/IRAV from INE, plus a rent-update calculator covering annual index, updated rent, and month-to-month variation. It is unambiguous about what the tool does, but it never differentiates itself from potentially overlapping siblings such as spain_official_indicators or spain_mortgage_calculator, so it stops short of a 5.

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 rather than prescribed: 'rent update calculator' and the note that IRAV applies to housing contracts since May 2023 signal the intended scenario. However, there is no explicit when-to-use / when-not-to-use guidance and no named alternative for the general-indicator case, leaving routing to the agent's inference.

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