Skip to main content
Glama

EDAKON · herramientas del ciclo inmobiliario

Revisión de precios de obra pública

revision_precios_obra
Read-onlyIdempotent

Revisión de precios de un contrato de obra pública en España: coeficiente Kt y revisión de cada certificación con las fórmulas tipo del RD 1359/2011 y los índices del INE, descontando el 20 % y el primer año (LCSP art. 103). 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": {
      "formula": "<formula>",
      "finOfertas": "<finOfertas>",
      "formalizacion": "<formalizacion>",
      "importeContrato": "<importeContrato>",
      "certificaciones": "<certificaciones>"
    },
    "name": "revision_precios_obra"
  }
}

Input Schema

NameRequiredDescriptionDefault
formulaYesNúmero de la fórmula tipo del RD 1359/2011, p. ej. 811
finOfertasYesFin del plazo de presentación de ofertas, AAAA-MM-DD
formalizacionYesFecha de formalización del contrato, AAAA-MM-DD
certificacionesYes
importeContratoYesPrecio del contrato en euros, sin IVA
certificadoAntesNoCertificado antes de la primera certificación de la lista, en euros

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered. The description adds non-obvious behavioral substance: it discloses the 20 % deduction and the exclusion of the first year under LCSP art. 103, and that formulas come from RD 1359/2011 with INE indices. It does not describe the returned structure or what happens with an invalid formula number, which keeps it below 5.

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 front-loads the operation, method and legal basis, followed by a short attribution ('Calculadora de EDAKON.') that usefully signals it is a pure computation. The branding sentence is borderline filler but costs little; nearly every clause carries domain content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, 5-required calculation tool with no output schema, the description explains the method but never says what comes back (Kt per period, revised amounts per certification, totals) nor what validation errors to expect for a bad formula number or an out-of-range date order. Method coverage is strong; result and failure coverage is missing.

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 83 %, so the schema already defines formula, finOfertas, formalizacion, certificaciones, importeContrato and certificadoAntes with date formats and units. The description only loosely maps its prose onto parameters (formula→'fórmulas tipo', certificaciones→'cada certificación') and says nothing about the role of finOfertas/formalizacion in the 20 %/first-year discount rule. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description opens with a near-restatement of the title ('Revisión de precios de un contrato de obra pública') but immediately earns specificity by naming the Kt coefficient, per-certificación revision, RD 1359/2011 formulas and INE indices. An agent can tell this computes Spanish public-works price revision, clearly distinct from the rental, glossary, guarantee and land-value siblings. It stops short of explicitly contrasting itself with any sibling, so a 4 rather than 5.

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?

The scope ('contrato de obra pública en España', RD 1359/2011, LCSP art. 103) implies when the tool applies, but there is no explicit when/when-not statement and no mention of what to do if the contract is not a Spanish public works contract or predates the regulation. Usage is inferable from legal context rather than stated.

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