Skip to main content
Glama

Overfit — German tenders & procurement law

Angebote werten (UfAB)

wertungsmatrix_berechnen
Read-onlyIdempotent

Calculation aid for bid evaluation: computes the score and ranking of bids under the chosen UfAB scoring method — einfach (L/P ratio), erweitert (leading group) or gewichtet (weighted normalisation) — plus a sensitivity analysis showing how far the price of the top-ranked bid can rise before the ranking changes (§ 127 GWB, § 58 VgV; UfAB-Richtwertmethoden Stand 2016). Input: bid prices and existing quality scores; output: the arithmetic ranking. Evaluating quality and the award decision itself remain with the contracting authority. methode: percentage weights for price and quality (e.g. 'Preis 40 %, Leistung 60 %') correspond to gewichtet with gewichtLeistung=60; without weights, best quality per euro corresponds to einfach (Leistung/Preis ratio); close bids decided by a leading group plus a tie-break criterion correspond to erweitert. One method per call (default einfach). The tool scores bids; it does not assess quality, so quality scores have to exist already. Key output fields: result.ergebnis.sieger (top-ranked bid), result.ergebnis.zeilen[] (ranking with kennzahl and rang), result.sensitivitaet, legal_basis.

Example user questions: "Welches Angebot gewinnt nach Preis-Leistungs-Verhältnis?"; "Wertungsmatrix nach UfAB berechnen"; "Zuschlag auf das wirtschaftlichste Angebot ermitteln"; "Sensitivitätsanalyse der Angebotswertung"; "Führungsgruppe nach erweiterter Richtwertmethode"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodeNoHeadline scoring method: gewichtet = explicit % weights for price and quality (set gewichtLeistung); einfach = Leistung/Preis ratio without weights; erweitert = leading group (bandwidth %) decided by a tie-break criterion.einfach
angeboteYesSemicolon-separated list of bids in format 'Name:Price:Points'. Name may contain spaces. Price must be > 0; Points >= 0. Minimum 2 bids.
entscheidungNoTie-breaking criterion within the leading group for methode=erweitert.leistung
gewichtLeistungNoWeight of quality score in % for methode=gewichtet (0–100). Price weight = 100 minus this value.
schwankungsbreiteNoLeading-group bandwidth in % for methode=erweitert (1–50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / methode / description
      Previous value: -"Scoring method: einfach=simple ratio, erweitert=extended with leading group, gewichtet=weighted normalization."New value: +"Headline scoring method: gewichtet = explicit % weights for price and quality (set gewichtLeistung); einfach = Leistung/Preis ratio without weights; erweitert = leading group (bandwidth %) decided by a tie-break criterion."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds real behavioural context: one method per call, default einfach, the precondition on existing quality scores, the responsibility boundary with the contracting authority, and the legal framing (§ 127 GWB, § 58 VgV, UfAB 2016). It also names key output fields despite there being no output schema.

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

Conciseness3/5

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

Well front-loaded with purpose and methods first, but it is long and repeats the quality-scores precondition twice ('existing quality scores' / 'quality scores have to exist already' / 'Evaluating quality ... remain with the contracting authority'). The example-questions block adds bulk without new information.

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

Completeness5/5

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

For a 5-parameter analytical tool with no output schema, the description supplies everything needed: method selection, preconditions, defaults, legal basis, and the key output fields (sieger, zeilen[] with kennzahl and rang, sensitivitaet, legal_basis). Nothing an agent needs to invoke or interpret the tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes further: it explains the cross-parameter relationship ('percentage weights ... correspond to gewichtet with gewichtLeistung=60') and ties each enum value to a real-world scenario, which the schema alone does not do.

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

Purpose5/5

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

States a specific verb and resource ('computes the score and ranking of bids under the chosen UfAB scoring method') and immediately enumerates the three method variants, so an agent knows exactly what this tool produces. It is clearly distinct from siblings like vergabe_statistik or verfahrenswahl_ermitteln.

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

Usage Guidelines5/5

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

Maps typical user phrasing to concrete method choices ('Preis 40 %, Leistung 60 %' → gewichtet; 'best quality per euro' → einfach; 'leading group plus tie-break' → erweitert) and states the precondition that quality scores must already exist. It also draws the scope boundary that quality assessment and the award decision remain with the contracting authority.

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