Skip to main content
Glama

search_consolidated_legislation

Search the BOE's consolidated legislation by keywords, title, date range, legal range, or department. Retrieve current or derogated norms with custom pagination.

Instructions

Busca normas en la legislación consolidada del BOE

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNúmero máximo de resultados a devolver
queryNoTérminos de búsqueda (ej: 'Ley 40/2015', 'crisis sanitaria', 'procedimiento administrativo')
titleNoBúsqueda específica en el título de la norma
offsetNoNúmero de resultados a saltar (para paginación)
to_dateNoFecha de fin de búsqueda en formato AAAAMMDD (ej: '20201231')
from_dateNoFecha de inicio de búsqueda en formato AAAAMMDD (ej: '20200101')
matter_codeNoCódigo de materia según vocabulario controlado del BOE
department_codeNoCódigo del departamento emisor (ej: '7723' para Jefatura del Estado)
legal_range_codeNoCódigo del rango normativo (ej: '1300' para Ley, '1200' para Real Decreto)
include_derogatedNoIncluir normas derogadas en los resultados
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only mentions 'search', which implies a read-only operation, but lacks details on pagination behavior, search semantics, result format, or any limitations. This is insufficient for a search tool with 10 parameters.

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?

The description is a single concise sentence, front-loaded with the key action and resource. It is not verbose, and every word is functionally relevant. However, its brevity limits the amount of information conveyed, though this is more a completeness issue than a conciseness issue.

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

Completeness2/5

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

The description is notably incomplete for a tool with 10 parameters, no output schema, and no annotations. It fails to explain how parameters interact, what return values look like, or any edge cases. The one-sentence description is insufficient to fully understand the tool's behavior and expectations.

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 the input schema already fully documents all 10 parameters with descriptions. The tool description itself adds no parameter-specific meaning, but since the schema is comprehensive, the baseline of 3 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 clearly states the tool searches for norms in the consolidated legislation of the BOE, specifying both the verb ('Busca') and the resource ('legislación consolidada del BOE'). This distinguishes it from sibling search tools like search_recent_boe or search_auxiliary_data by focusing specifically on consolidated 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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention any exclusions or prerequisites. It simply states what the tool does, leaving the user to infer usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ComputingVictor/MCP-BOE'

If you have feedback or need assistance with the MCP directory API, please join our Discord server