Skip to main content
Glama

Yearly rent update of a lease

get_rent_update_proposal
Read-only

The legal maximum yearly rent update of a long-term lease (LAU art. 18) on its next anniversary or on date, with the INE's latest final IRAV / IPC / IGC: what the lease's clause gives, the caps that apply (IRAV or IPC by contract date; under RDL 29/2026 — in force since 8 Oct 2026 — the IRAV for every lease and, until 31 Dec 2027, at most 2 % without a new pact, or no increase above a stressed area's reference-price index), the % applied and the new rent. Uses the rental's rentUpdateClause unless clause is given; ask the user what the lease says when it is unknown, and save it with update_rental. provisional = the month needed is not published yet. It records nothing: once the user confirms and the tenant has been told in writing, add a variation (update_rental variations, type percent) from the month after. Always say it is an estimate.

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": {
      "rentalId": "<rentalId>"
    },
    "name": "get_rent_update_proposal"
  }
}

Input Schema

NameRequiredDescriptionDefault
pctNoThe % of a 'fixed' clause
dateNoAnniversary of the update, YYYY-MM-DD (default: the next one)
clauseNoWhat the lease says, if not saved on the rental
rentalIdYesThe rental ID (a long-term let)
newAgreementNoRDL 29/2026: the parties agreed a new update this year (lifts the 2 % limit, not the IRAV cap)
referenceMonthNoIndex month YYYY-MM instead of the last one published on the date
aboveReferencePriceNoRDL 29/2026: stressed area and the rent is above the reference-price index (no increase)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, and the description reinforces this with 'It records nothing' — fully consistent. Beyond that it discloses the regulatory regime (RDL 29/2026, 2 % cap until 31 Dec 2027), the meaning of `provisional` (index month not yet published), the defaulting to the rental's saved clause, and the instruction to always present the output as an estimate.

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 critical scope and default behavior are front-loaded in the first clause, and every following sentence carries operational information (clause resolution, provisional handling, recording workflow). The first sentence is very heavy with nested parentheticals about the legal caps, which costs some readability without being padding.

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?

No output schema exists, and the description compensates by describing the returned content (clause interpretation, applicable cap, percentage, new rent) and the provisional-index case. For a 7-parameter, legally intricate read tool, an agent has enough to call it correctly and to act on the result.

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?

With 100 % schema description coverage the baseline is 3, but the description adds real meaning: how `newAgreement` and `aboveReferencePrice` interact with the 2 % / IRAV caps, what `provisional` implies, and that `clause` is only consulted when the rental lacks a saved one. The `pct` parameter's role in a 'fixed' clause is implied rather than stated, keeping it short of a 5.

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?

Opens with a specific verb+resource+scope: 'The legal maximum yearly rent update of a long-term lease (LAU art. 18) on its next anniversary or on `date`'. It then enumerates exactly what the result contains (clause, applicable caps, % applied, new rent), which clearly separates it from get_rent_indices (raw index lookup) and get_lease_renewal.

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?

Gives explicit when/when-not: it is read-only ('records nothing'), and the follow-up path is spelled out — ask the user what the lease says if unknown, save it with update_rental, and add a `variations` entry only after the tenant is notified in writing. It does not name a sibling (e.g. get_rent_indices) as the lookup alternative when only an index value is wanted, so the routing guidance is clear but not exhaustive.

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.