Skip to main content
Glama
LicitaPilot MCP

LicitaPilot MCP

by jmcodero

Estadísticas de baja de adjudicación

estadisticas_baja
Read-onlyIdempotent

Calculates average bid reductions needed to win by CPV sector, including mean, median, percentiles, and early-withdrawal rates from real awards, to help set tender prices.

Instructions

Cuánto se baja de media para ganar en cada sector: media, mediana, percentiles y % de bajas temerarias, calculado sobre adjudicaciones reales. Útil para fijar el precio de una oferta.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estadisticas_baja"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectorNoDivisión CPV de 2 dígitos; vacío = todos los sectores.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered structurally. The description does add useful provenance information—results are computed over real award data ("calculado sobre adjudicaciones reales")—but says nothing about behavior when a sector has sparse or no data, how the aggregate is scoped, or the meaning of openWorld exposure. Credit for provenance; gaps remain on edge-case behavior.

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?

Two sentences with the metric set front-loaded and the practical motivation placed last—no filler. It could be marginally tighter by tying the sector scoping into the first sentence, but nothing is redundant.

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 single-parameter read-only aggregate query, the definition is close to sufficient: it names the metrics that form the return value, which substitutes for the missing output schema. However, it leaves unanswered how many sectors are returned by default, whether percentiles are selectable, and what an empty result for an unknown sector looks like.

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 coverage is 100% and there is only one optional parameter whose schema text already documents the 2-digit CPV division and the empty-means-all behavior. The description's only contribution is "en cada sector," which is consistent with the schema but adds no meaning beyond it. Baseline 3 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?

Uses a specific verb-and-resource framing: computes how much bids are discounted (baja) to win, per sector, and enumerates the metrics returned (media, mediana, percentiles, % temerarias). It is distinguishable from data lookups, though it never explicitly separates itself from the close sibling calcular_baja_temeraria, which also deals with bajas temerarias.

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?

Provides one concrete use case ("Útil para fijar el precio de una oferta"), which implies when to call it, but gives no explicit alternatives, exclusions, or prerequisites. Given the presence of calcular_baja_temeraria and estimar_probabilidad_ganar in the sibling set, an agent could hesitate about which to pick.

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