Skip to main content
Glama

EDAKON · herramientas del ciclo inmobiliario

Plazos de garantía de la LOE

plazos_garantia_loe
Read-onlyIdempotent

Plazos de garantía de un edificio en España (Ley de Ordenación de la Edificación, art. 17): hasta qué fecha dura la garantía de acabados (1 año), habitabilidad (3) y estructura (10) desde la recepción de la obra y, con la fecha de un daño, qué garantías lo cubren y hasta cuándo se puede reclamar (2 años, art. 18). 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": {
      "recepcion": "<recepcion>"
    },
    "name": "plazos_garantia_loe"
  }
}

Input Schema

NameRequiredDescriptionDefault
danoNoFecha en que apareció el daño, AAAA-MM-DD (opcional)
recepcionYesFecha de recepción de la obra, AAAA-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile needs no restating; the description instead adds substantive context: the legal basis (LOE arts. 17-18), the fixed 1/3/10-year periods, and the fact that supplying a damage date changes the answer to coverage plus claim deadline.

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?

A single dense sentence plus a two-word attribution, front-loaded with the domain and then the two output modes. Every clause carries information (periods, trigger condition, article references); it is long but not padded.

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?

There is no output schema, so the description carries the return-value burden and does so: it states the three warranty periods, the coverage determination, and the 2-year claim deadline. An agent has everything needed to call it with a recepción date, optionally with a damage date.

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 baseline is 3, but the description goes further by clarifying that 'recepcion' is the date of acceptance of the works and that 'dano' is the date the damage appeared and, when present, triggers the coverage and claim-window analysis. Format details (AAAA-MM-DD) remain in the schema only, which is fine.

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?

Names a specific resource (garantías de un edificio en España bajo LOE art. 17) and enumerates exactly what it returns: 1/3/10-year deadlines from recepción, plus coverage and 2-year claim window (art. 18) when a damage date is supplied. Clearly distinct from siblings like buscar_glosario or revision_precios_obra.

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 stated: the reader infers it should be called when a user asks about warranty durations or wants to know which guarantee covers a defect and until when. No explicit when-not conditions and no alternative tools are named, though the conditional behavior around the damage date is spelled out.

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