Skip to main content
Glama
LicitaPilot MCP

LicitaPilot MCP

by jmcodero

Estimar probabilidad de ganar (PWin)

estimar_probabilidad_ganar
Read-onlyIdempotent

Estimates a company's probability of winning a Spanish public tender using an explainable PWin formula based on technical fit, past wins and losses, competition, and average bid discount.

Instructions

Probabilidad de ganar una licitación con la fórmula explicable de LicitaPilot (PWin).

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": "estimar_probabilidad_ganar"
  }
}

Input Schema

NameRequiredDescriptionDefault
encajeNoEncaje técnico-comercial de la empresa con el pliego.
ganadasNoLicitaciones similares ganadas por la empresa.
perdidasNoLicitaciones similares perdidas.
competenciaNoReparto de contratos en ese organismo/sector (usa probables_ganadores de ver_licitacion).desconocida
baja_media_pctNoBaja media del sector (de estadisticas_baja).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is known and the description doesn't need to repeat it. The phrase 'fórmula explicable' hints that the response includes a reasoning breakdown rather than a bare number, which is modest but genuine added context; nothing is said about determinism, sensitivity of defaults, or what the estimate should be compared against.

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 with no filler and no repetition. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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?

The tool is a pure read-only computation with a fully documented optional-parameter schema and no output schema, so not much is required. Still, the description never notes that all five parameters are optional and that calling it bare returns a default-based estimate (encaje=50, competencia='desconocida'), which is a real risk of misinterpretation.

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 every parameter carries a descriptive title, range and even cross-references ('usa probables_ganadores de ver_licitacion', 'de estadisticas_baja'), so the schema does the heavy lifting. The description adds no interpretation of encaje, competencia or baja_media_pct, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence 'Probabilidad de ganar una licitación con la fórmula explicable de LicitaPilot (PWin)' names the resource (a tender's win probability) and adds the qualifier that the result comes from an explainable formula. However, it largely restates the tool name and title and does not distinguish this estimator from neighbouring analytical tools such as estadisticas_baja or ranking_adjudicatarias.

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 when-to-use guidance, no preconditions, and no mention of alternatives or of where the inputs should come from. The agent is left to infer on its own that this is the scoring step to run after gathering tender and competitor data.

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