Skip to main content
Glama
LicitaPilot MCP

LicitaPilot MCP

by jmcodero

Comprobar umbral SARA

comprobar_umbral_sara
Read-onlyIdempotent

Checks whether a Spanish public contract is subject to EU harmonized regulation using 2026–2027 thresholds. Enter contract type and estimated value to get a clear threshold determination.

Instructions

Indica si un contrato está sujeto a regulación armonizada (umbrales UE 2026-2027).

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": {
      "tipo_contrato": "<tipo_contrato>",
      "valor_estimado": "<valor_estimado>"
    },
    "name": "comprobar_umbral_sara"
  }
}

Input Schema

NameRequiredDescriptionDefault
entidadNo'age' = Administración General del Estado.otra
tipo_contratoYes
valor_estimadoYesValor estimado del contrato sin IVA (art. 101 LCSP).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false), so the description only needs to add supplementary behaviour. The 2026-2027 threshold vintage is genuinely useful context beyond the annotations, but there is no output schema and the description never says what comes back (a bare boolean, or the applicable threshold and article) or whether entity type changes the outcome.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler and nothing repeated from the title or schema. For a simple boolean check, no additional preamble is warranted.

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?

Given the low-complexity nature (three flat parameters, no nesting, no output schema) and rich annotations, the definition is nearly sufficient for correct invocation. The one visible gap is the undocumented return value, which the description could state in a few words.

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 67%, with entidad and valor_estimado documented (including the LCSP art. 101 reference) and tipo_contrato self-explanatory via enum. The description contributes nothing extra on parameters, so the baseline of 3 for a mostly-covered schema applies.

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 uses a specific verb ('Indica si') plus a clearly scoped legal condition: whether a contract falls under harmonised (SARA) regulation at 2026-2027 EU thresholds. It is unambiguously distinct from sibling tools like buscar_licitaciones or calcular_baja_temeraria. It loses a point only because it does not explicitly frame itself as a boolean eligibility check versus the numerical threshold calculation an agent might also expect.

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 usage context is only implied: an agent can infer you call this to test a contract against EU thresholds, but the description never states when it should be preferred over a plain threshold lookup nor when it is unnecessary (e.g., below-threshold contracts). There are no stated prerequisites, although the required valor_estimado hints at the need for an ex-IVA figure.

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