Skip to main content
Glama
Proxera-Group

BOE (Spain) — boe-mcp

buscar_legislacion

Search consolidated Spanish legislation by keyword, topic, publication date, or legal rank; retrieve matching laws with title, validity status, and official BOE URL.

Instructions

Busca en la legislación consolidada (título y texto). Devuelve id, título, rango, fechas, vigencia y URL.

texto: palabras que deben aparecer (todas). materia: tema del vocabulario del BOE, p. ej. 'Arrendamientos urbanos' o 'Impuesto sobre Sociedades'. desde/hasta: fecha de publicación (AAAA-MM-DD). rango: Ley, Ley Orgánica, Real Decreto, Real Decreto-ley, Orden, Resolución… limite: 1-50. Por defecto ordena por relevancia. donde: 'auto' (título y, si no hay resultados, texto completo), 'titulo', 'texto' o 'ambos'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
desdeNo
dondeNoauto
hastaNo
rangoNo
textoNo
limiteNo
materiaNo
solo_vigentesNo
ordenar_por_fechaNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the return fields and the 'auto' fallback behavior (search title, then full text if no results), but says nothing about read-only safety, pagination, rate limits, or permissions for a 9-parameter search tool.

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-loads purpose and return fields, then moves efficiently through parameters in a compact block. No wasted sentences, though the parameter prose could be slightly tighter.

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

Completeness3/5

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

An output schema exists so return values needn't be re-explained, and most parameters are covered, but the two undocumented boolean filters (solo_vigentes, ordenar_por_fecha) leave a real gap given zero schema coverage and no annotations.

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 description coverage is 0%, so the description must compensate, and it does for 7 of 9 parameters: texto, materia, desde/hasta formats, rango examples, limite range, and donde modes are all explained. Only solo_vigentes and ordenar_por_fecha are left undocumented.

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 verb and resource ('Busca en la legislación consolidada') and clarifies the search surface (título y texto), so an agent knows exactly what it does. However, it never distinguishes itself from siblings like novedades or sumario_boe, which also relate to BOE legislation.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives such as sumario_boe or novedades, nor any exclusions. Usage can only be inferred from the parameter list and the note that relevance ordering is the default.

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