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.

Premium data: free via MCP up to 100 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/es/licitaciones ($0.01 USDC). Official Spanish/EU open data.

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

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered; the description goes further by disclosing default filtering (only tenders still in deadline), sort order, returned fields, data provenance, and a concrete rate limit with a paid escape hatch. Only the failure/pagination behavior under load is unstated.

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 English sentence is front-loaded and tight, but the Spanish paragraph is a near-verbatim translation that doubles length for an agent that needs one statement of the contract. The pricing/source tail is justified; the bilingual duplication is the main waste.

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?

For an 8-parameter read-only search with full schema coverage and no output schema, the description supplies the missing pieces: default scope, ordering, result field list, and quota/pay-per-call limits. An agent can invoke it correctly without further context; only deep-paging and empty-result behavior are unspecified.

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 description coverage is 100%, so all eight parameters are already documented, including enums for estado and the CPV/importe hints. The description adds only marginal meaning (keyword match against title or órgano, CPV-as-prefix, amounts excluding IVA) that largely restates what the schema says — baseline 3.

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?

States a specific resource (Spanish public procurement tenders from the official Public Sector Contracting Platform) and enumerates the filter dimensions (keywords, province/NUTS, CPV, contract type, amount) plus what comes back (buyer, budget, official link). The official-platform framing implicitly separates it from the EU TED sibling, but no sibling is named explicitly.

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?

Gives useful invocation context: defaults to open tenders in deadline order, and notes a 100 calls/day free tier with a pay-per-call fallback at $0.01 USDC. It does not say when an agent should prefer this over eu_public_tenders_ted or spain_public_grants, so alternative-selection is left to inference.

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