Skip to main content
Glama

EDAKON · herramientas del ciclo inmobiliario

Actualizar la renta del alquiler (IRAV, IPC)

actualizar_renta_alquiler
Read-onlyIdempotent

Actualización anual de la renta de un alquiler de vivienda en España con los índices del INE (IPC, IRAV) y los topes legales vigentes (LAU art. 18 y RDL 29/2026: hasta el 31/12/2027, 2 % salvo nuevo pacto). Devuelve el porcentaje, la renta nueva y qué tope se aplica. Calculadora de EDAKON.

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": {
      "firma": "<firma>",
      "actualizacion": "<actualizacion>",
      "renta": "<renta>",
      "clausula": "<clausula>"
    },
    "name": "actualizar_renta_alquiler"
  }
}

Input Schema

NameRequiredDescriptionDefault
firmaYesFecha de firma del contrato, AAAA-MM-DD
rentaYesRenta mensual vigente en euros
pactadoNoCon clausula=fijo: el porcentaje pactado
clausulaYesQué dice el contrato: ipc, irav, fijo (un %), sinIndice o ninguna
actualizacionYesFecha en que toca actualizar (la anualidad), AAAA-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered structurally. The description adds real value beyond that: it discloses the applicable legal cap logic with its time window ("hasta el 31/12/2027, 2 % salvo nuevo pacto") and states what the tool returns, which matters because there is no output schema. It stops short of flagging edge cases such as unpublished indices or estimates versus binding figures.

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?

Three sentences, front-loaded with purpose and legal scope, then the return values. Every sentence carries information; only the trailing "Calculadora de EDAKON" branding is marginal filler.

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?

Despite having no output schema, the description states the three returned values (percentage, new rent, applicable cap), which is exactly what an agent needs to know before calling. Combined with 100% schema coverage and safe-read annotations, no material information is missing for a calculation tool of this complexity.

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 all five parameters are documented in the schema itself, including the enum semantics for clausula and the pactado/clausula=fijo relationship. The description reinforces the input concepts (IPC, IRAV indices) but adds no new per-parameter meaning such as date formats or how pactado interacts with caps, so the baseline 3 applies.

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 ("Actualización anual de la renta de un alquiler de vivienda en España") and pins down the data sources (INE: IPC, IRAV) and legal framework (LAU art. 18, RDL 29/2026). This is clearly a rent-review calculator, distinguishable at a glance from siblings like revision_precios_obra or calcular_baja_temeraria.

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 "Actualización anual" and the date-conditioned cap rule, so an agent can infer it is for the yearly rent revision. However, there is no explicit when-to-use/when-not guidance, no note about contracts lacking an index clause, and no routing to alternatives for related calculations.

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