Skip to main content
Glama

Próceres · escritos judiciales de España: papeleta, demanda y recursos

Escritos del inquilino: desistimiento y requerimiento de reparación

escrito_alquiler
Read-only

Compone el escrito de la situación de alquiler que se elija. Hay dos que se resuelven con un papel del inquilino —la carta de desistimiento del art. 11 LAU y el requerimiento de reparación del art. 21.5 LAU— y se componen con el mismo motor que la web. Las demás situaciones de la guía (el desahucio, la oposición al monitorio, la fianza, el precio) NO tienen escrito aquí: si se piden, la herramienta devuelve su ficha —qué pasa, qué se puede pedir, con qué artículo y qué plazo corre— y dice con esas palabras que no hay papel, porque un modelo automático de un pleito que exige abogado se presenta y se pierde. Lée las situaciones con catalogo_situaciones_alquiler. No pide ni devuelve datos personales: el nombre, el DNI, el domicilio y el contacto NO están entre sus campos (el escrito los deja como huecos entre corchetes para que los rellene quien lo presenta). No le pidas esos datos y no los escribas en la llamada.

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": {
      "situacion": "<situacion>"
    },
    "name": "escrito_alquiler"
  }
}

Input Schema

NameRequiredDescriptionDefault
fechaNoLa fecha del escrito y desde la que se cuenta el aviso (AAAA-MM-DD); por defecto, hoy.
rentaNoLa renta mensual, tal cual se escribió («750»).
situacionYesLa situación del inquilino, por su identificador: desahucio-impago (No he pagado y me demandan el desahucio); desahucio-expira-plazo (Se cumple el contrato y quieren recuperar la vivienda); desahucio-precario (Me dicen que ocupo la vivienda de precario); resolucion-obras-danos (Me demandan por obras, daños o «actividades molestas»); monitorio-rentas (Me reclaman las rentas por monitorio, sin desahucio); gastos-indebidos (Me pasan gastos que no me pueden repercutir); devolucion-fianza (No me devuelven la fianza); subida-renta-ilegal (Me quieren subir la renta más de lo permitido); habitacion-directa (Alquilo una habitación al dueño de la casa); sobreprecio-habitacion (Me subarriendan una habitación y pago de más); quiero-subarrendar (Quiero subarrendar o ceder mi alquiler); me-acusan-subarrendar (Me acusan de haber subarrendado sin permiso); comprobar-titularidad-cargas (Quiero comprobar quién es el dueño y qué cargas tiene); desistimiento-inquilino (Quiero dejar la vivienda antes de que acabe); reparaciones-conservacion (El arrendador no arregla lo que le toca); obras-inhabitabilidad (La vivienda no es habitable por obras); prorroga-extraordinaria (No renuevan y estoy en situación vulnerable); venta-vivienda (Han vendido la vivienda en la que vivo); resolucion-derecho-arrendador (Quien me alquiló perdió su derecho sobre la casa); muerte-arrendatario (Ha fallecido la persona que tenía el contrato); divorcio-arrendatario (Me he separado y la casa está a nombre de mi pareja); vivienda-temporal-simulada (Me hicieron un contrato de vivienda temporal que no lo era).
fechaInicioNoLa fecha de inicio del contrato (AAAA-MM-DD), para comprobar los seis meses del art. 11 LAU.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: for unsupported situations it returns a ficha with what happens, what can be requested, the applicable article, and the deadline, and explicitly says there is no paper. It also discloses a strong privacy constraint—no personal data fields, placeholders in brackets, and an instruction not to ask for or write personal data. This is rich behavioral guidance that the read-only, non-destructive, closed-world annotations do not cover.

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 core purpose is front-loaded, and the conditional behavior is explained clearly. There is some repetition in the personal-data warning and an explanatory aside about losing a lawsuit, but these are minor and the length is appropriate for a complex legal tool.

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?

With no output schema, the description fully explains both possible outputs (a document with bracketed gaps, or a ficha with legal details), the privacy guardrails, and the conditions under which each occurs. An agent has everything needed to call it correctly and set user expectations.

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% with detailed enum descriptions, so the baseline is 3. The description adds meaningful semantics for the `situacion` parameter: only two enum values actually produce a writing, while the rest return a ficha. It also clarifies that personal data (name, DNI, address, contact) are not parameters and must not be supplied, which affects how to fill the call.

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?

States a specific verb and resource: 'Compone el escrito de la situación de alquiler que se elija.' It then narrows the scope precisely—two situations produce a tenant paper, the rest return a ficha—and directs the agent to `catalogo_situaciones_alquiler` for reading situations. An agent can distinguish this from siblings without opening the schema.

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?

Explicitly names the two situations that yield a writing (desistimiento art. 11 LAU and requerimiento art. 21.5 LAU) and states that all other situations do not, returning a ficha instead. It also tells the agent to use `catalogo_situaciones_alquiler` to read situations. However, it does not name alternative tools for the non-writing situations, so a small gap remains.

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