Skip to main content
Glama

dato402 – Spain & EU data

Spain public procurement tenders

spain_public_tenders
Read-onlyIdempotent

Spain public procurement tenders (official Public Sector Contracting Platform) by keywords, province or NUTS code, CPV code, contract type and amount. Open tenders sorted by deadline, with buyer, budget and official link. B2B leads.

ES: Licitaciones públicas de España (Plataforma de Contratación del Sector Público) por palabras, provincia o código NUTS, CPV, tipo de contrato e importe. Por defecto solo las que están en plazo, ordenadas por fecha límite, con órgano, importe, CPV, lugar y enlace oficial.

Source of truth: official Spanish/EU open data. Free via MCP up to 20 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/es/licitaciones ($0.01 USDC).

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

Input Schema

NameRequiredDescriptionDefault
qNoPalabras del título u órgano, p. ej. limpieza o software
cpvNoCódigo CPV o prefijo, p. ej. 72 (informática) o 45 (obras)
tipoNoobras, servicios o suministros (opcional)
estadoNoabiertas (defecto), todas, pre, pub, ev, adj, res o anul
limiteNoResultados (1-100, defecto 20)
provinciaNoProvincia o código NUTS, p. ej. Madrid o ES30
importe_maxNoImporte máximo sin IVA (opcional)
importe_minNoImporte mínimo sin IVA (opcional)

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 establish the read-only, idempotent, non-destructive profile, and the description goes well beyond them: it discloses a 20-calls/day free tier, the x402 pay-per-call fallback with its endpoint and $0.01 USDC price, and the default result ordering by deadline. Rate limits and the paid-access path are exactly the operational facts an agent needs before calling.

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?

The structure is well front-loaded: capability first, defaults second, source and pricing last. However, the Spanish paragraph is largely a translation of the English one rather than added information, roughly doubling length without adding content, which costs it points on conciseness.

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?

With 8 optional parameters and no output schema, the description usefully compensates by enumerating the returned fields (buyer, budget, CPV, place, official link) and stating the default state and ordering. Only the behavior with multiple conflicting filters and pagination beyond 'limite' remains unstated.

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%, so every one of the 8 parameters is already documented, and the prose mostly restates those filter axes. It adds only marginal meaning beyond the schema — the default of open/in-term tenders and deadline sorting — so the baseline 3 for full schema coverage is appropriate.

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?

The description names a specific verb and resource ('Spain public procurement tenders') and pins the data source (Plataforma de Contratación del Sector Público). It also names the filter axes (keywords, province/NUTS, CPV, contract type, amount), which clearly separates it from the sibling spain_public_grants dataset.

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

Usage Guidelines4/5

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

The description gives a clear usage context — open tenders sorted by deadline with buyer/budget/official link, framed as 'B2B leads' — so an agent knows what question this tool answers. It stops short of explicit when-not-to-use routing (e.g., pointing at spain_public_grants for subsidies), so it does not reach the top band.

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