Skip to main content
Glama

Detalle de licitación

get_tender
Read-onlyIdempotent

Get the detailed summary of one tender: dates, procedure, CPV, lots; amounts (budget_eur = presupuesto base de licitación excluding IVA as the source publishes it, budget_with_vat_eur = the same with IVA when stated, estimated_total_eur = valor estimado del contrato excluding IVA); award criteria with weights (criteria), solvency requirements, guarantee and variants, the notices published (lifecycle_events) and contract modifications; award results (award_results: one row per result the source published, with the lot number and title, result_code and its label result — adjudicado, desierto, desistimiento, renuncia —, winner, amount, bids received, SME bids, lowest/highest bid, abnormally-low flag) and lots_without_result (the lots of a partly awarded tender with no result published: not awarded, or not published yet). An amount of 0 on a framework agreement or a placeholder amount is absent, with an amount_note. publication_date is absent when the source published none. Long lists are capped: lists_truncated gives the full count. Official text (title, description_official) and Licto AI text (title_ai, description_ai) come in separate fields; provenance names the source, licence and attribution to cite; synced_at is when Licto last saw the record in its source.

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": {
      "tender_id": "<tender_id>"
    },
    "name": "get_tender"
  }
}

Input Schema

NameRequiredDescriptionDefault
tender_idYesTender id (uuid) from search_tenders results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantial behavioral context that annotations cannot: zero/placeholder amounts are omitted behind an amount_note, publication_date is omitted when unpublished, long lists are capped and signalled by lists_truncated, and provenance/synced_at semantics are explained. It also clarifies the split between official and AI-generated text fields, which is exactly the kind of disclosure an agent needs to interpret results without a schema.

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?

Front-loaded with the tool's purpose and scope in the first clause, and nearly every subsequent clause carries a distinct field-level fact rather than filler. The drawback is that it is a single very dense run-on sentence with semicolon-stuffed parentheticals, which slows scanning, though the information is not padded.

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?

With no output schema, the description must carry the entire return-value burden, and it does: amounts and their VAT semantics, award-result row structure and codes, lots_without_result, truncation signaling, provenance and sync timestamps. Practically everything an agent needs to call this correctly and interpret the response is present.

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?

There is only one parameter and schema coverage is 100%, with the schema itself stating it is a uuid from search_tenders results. The description adds no further meaning about tender_id (format, sourcing, error behavior), so the baseline 3 applies.

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 (retrieve the detailed summary of a single tender) and immediately enumerates its scope: dates, procedure, CPV, lots, amounts, criteria, solvency, guarantees, notices, modifications and award results. An agent can distinguish this from search-style siblings purely from the text, and the schema reinforces that the id comes from search_tenders.

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?

Usage is only implied: a single-tender detail lookup keyed by an id the agent already has. There is no explicit statement of when to prefer this over siblings such as get_tender_documents or score_tender, and no exclusions or preconditions (e.g. that a search must precede it) are spelled out in the description itself.

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