Skip to main content
Glama

Search Spain's Official State Gazette

spain_official_gazette_boe
Read-onlyIdempotent

Search Spain's Official State Gazette (BOE) from the past four months by keyword, section, ministry, or date, and retrieve titles, issuing bodies, and official HTML/PDF links.

Instructions

Search Spain's Official State Gazette (BOE) from the last 4 months by keywords, section (laws and regulations, appointments, public job exams, other provisions, procurement notices, official announcements, Constitutional Court), ministry and dates. Title, section, issuing body and official HTML/PDF links.

ES: Busca en el BOE (Boletín Oficial del Estado) de los últimos 4 meses por palabras, sección (disposiciones generales, nombramientos, oposiciones y concursos, otras disposiciones, contratación, anuncios oficiales, Tribunal Constitucional), departamento y fechas. Título, sección, órgano y enlaces HTML y PDF oficiales.

Premium data: free via MCP up to 100 calls/day; unlimited via the x402 pay-per-call endpoint https://dato402.com/api/es/boe ($0.005 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_official_gazette_boe"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoPalabras del título, órgano o epígrafe, p. ej. subvenciones o policía nacional
desdeNoAAAA-MM-DD (por defecto hace 30 días)
hastaNoAAAA-MM-DD (por defecto hoy)
limiteNoMáximo de resultados (1-200, por defecto 50)
seccionNo1, 2A, 2B, 3, 5A, 5B o T (o su nombre, p. ej. oposiciones)
departamentoNoMinisterio u órgano (opcional), p. ej. HACIENDA

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which already mark this read-only, idempotent and non-destructive), the description discloses the 4-month data coverage window, the free-tier quota (100 calls/day), and the paid x402 fallback with its price and endpoint. It also names the return payload (title, section, issuing body, official HTML/PDF links) and the open-data provenance, which is exactly the operational context an agent needs.

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 English statement of purpose and filters, then the fields returned, with the commercial/quota note last where it belongs. The Spanish mirror roughly doubles the length, but it is a deliberate localization for a Spanish-language source rather than filler.

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?

There is no output schema, so the description must carry return values — and it does, listing title, section, issuing body and official HTML/PDF links. Combined with the coverage window, quota and filter enumeration, nothing material is missing for a 6-parameter, all-optional search tool.

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 already 100%, so the baseline is 3; the description earns an extra point by mapping the cryptic section codes to human-readable categories ('laws and regulations, appointments, public job exams...'), which the schema only hints at via 'o su nombre'.

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 ('Search Spain's Official State Gazette (BOE)') plus scope (last 4 months) and enumerates the filter dimensions and return fields. An agent can distinguish this gazette search from siblings like spain_public_tenders or eu_public_tenders_ted without opening the schema.

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?

Conveys clear context: keyword/section/ministry/date searching over a 4-month window, with the section taxonomy spelled out so the agent knows which filters exist. It does not explicitly say when to prefer this over a tenders or grants sibling, so it stops short of naming alternatives or exclusions.

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