Skip to main content
Glama

check es fianza preaviso

check_es_fianza_preaviso
Read-onlyIdempotent

Spain residential lease check (Ley de Arrendamientos Urbanos): fianza of 1 month's rent and extra guarantee of up to 2 months (art. 36), deposit return 1 month after keys are handed back, mandatory extension to 5 years (7 if the landlord is a company, art. 9), tenant exit after 6 months with 30 days' notice (art. 11), and the yearly update capped by the INE IRAV (2.54% for September 2026) or the 2% of RDL 29/2026. Regional fianza lodging, the interés legal rate and the exact RDL 29/2026 scope are not computed. Spain (BOE, INE), as of 2026-11-21. General information and estimates only: no legal advice, no representation, no filing; values that could not be verified are flagged in the result, not computed.

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": {
      "rent": "<rent>",
      "fianza": "<fianza>",
      "extraGuarantee": "<extraGuarantee>",
      "company": "<company>"
    },
    "name": "check_es_fianza_preaviso"
  }
}

Input Schema

NameRequiredDescriptionDefault
rentYesMonthly rent (EUR)
startNoLease start date
fianzaYesFianza (EUR)
companyYesLandlord is a company (7-year extension)
noticeDateNoDate the tenant gave notice
keysReturnedNoDate the keys were handed back
extraGuaranteeYesAdditional guarantee (EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the safety profile is covered; the description goes further by disclosing the output treatment ('values that could not be verified are flagged in the result, not computed'), the as-of date (2026-11-21) and the advisory-only framing with no filing or representation. That flagging behavior is the key thing an agent couldn't get from structured fields.

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?

Single dense paragraph but front-loaded with the subject and jurisdiction, and every clause maps to a parameter or an explicit exclusion. The article citations and the '2.54% / 2%' figures add bulk but carry real decision value for a legal-rule checker.

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?

Seven parameters, no output schema and rich annotations — the description is complete enough: it covers every rule the inputs feed, states the refusal/flagging behavior for unverifiable values, and pins the legal snapshot date. The remaining gap is that the result's shape is only described obliquely ('flagged in 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?

Schema coverage is 100%, so the baseline is 3, but the description adds binding meaning: the fianza is 1 month and the extraGuarantee capped at 2 months (art. 36), which lets the agent pre-validate inputs, and it ties keysReturned to the 1-month deposit-return clock and noticeDate to the 6-month/30-day exit rule. Only the company flag is redundant with the schema's own '(7-year extension)' note.

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?

Opens with a specific verb+resource+jurisdiction: 'Spain residential lease check (Ley de Arrendamientos Urbanos)', then enumerates exactly which rules it evaluates (fianza, extra guarantee, deposit return, extension, notice, IRV cap). The Spanish-law framing plus the 'es' prefix adequately separates it from the multi-country siblings like check_fr_deposit_notice_irl or check_cn_rental_contract_deposit, though no sibling is named explicitly.

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?

Negative scope is well stated — regional fianza lodging, the interés legal rate and the exact RDL 29/2026 scope are not computed — which tells the agent where the tool stops. However, there is no positive statement of when to call it versus a sibling, nor any prerequisite or typical caller scenario; usage must be inferred from the enumerated rule set.

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.