Skip to main content
Glama
LicitaPilot MCP

LicitaPilot MCP

by jmcodero

Calcular baja temeraria (art. 85 RGLCAP)

calcular_baja_temeraria
Read-onlyIdempotent

Detect abnormally low bids under art. 85 RGLCAP by calculating the threshold from the base budget and submitted offer amounts.

Instructions

Determina qué ofertas incurren en presunción de anormalidad (baja temeraria) según el art. 85 RGLCAP y el umbral de baja a partir del cual una oferta sería anormal.

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": {
      "presupuesto_base": "<presupuesto_base>",
      "ofertas": "<ofertas>"
    },
    "name": "calcular_baja_temeraria"
  }
}

Input Schema

NameRequiredDescriptionDefault
ofertasYesImportes ofertados sin IVA.
presupuesto_baseYesPresupuesto base de licitación sin IVA, en euros.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behaviour, so the safety profile is covered. The description adds useful context beyond that: the legal rule applied (art. 85 RGLCAP) and that it yields two things — the set of abnormal offers and the threshold itself. It does not disclose how the multiple threshold bands in that article are selected or what the result looks like structurally.

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, front-loaded sentence that names the computation, the outputs and the legal basis with no filler. It is efficient, though the dual output (offers plus threshold) is slightly buried inside one clause rather than structured.

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 simple two-parameter, read-only calculation this is close to sufficient, and with no output schema the description does partially signal the return content (flagged offers and the threshold). What is missing is which RGLCAP threshold variant applies (it depends on the number of bids and on the classification of the offers), which materially affects how an agent interprets the result.

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 100%: 'presupuesto_base' (sin IVA, euros, >0) and 'ofertas' (importes sin IVA, 1–200 items) are fully documented in the schema. The description adds no extra meaning about them, which is acceptable at this coverage level but leaves the baseline rather than adding value.

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?

States a specific verb ('Determina') and a precise resource: which offers fall under presumption of abnormality (baja temeraria), plus the threshold below which an offer would be abnormal. The legal anchor (art. 85 RGLCAP) makes the computation unambiguous. It does not, however, distinguish itself from near-neighbours such as estadisticas_baja or comprobar_umbral_sara, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no prerequisites, and no mention of alternatives. The agent can infer the context (it needs a presupuesto base and a set of offers), but nothing tells it when this tool is preferable to the related threshold or statistics tools, nor when it should not be used.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.