Skip to main content
Glama
Consulta Boletines Oficiales - Legislación consolidada

Consulta Boletines Oficiales - Legislación consolidada

boe_elegir_ambito

Read-only

Prompts the user to select the legal research scope—BOE, Constitutional Court, EU, CENDOJ, or autonomous communities—before an open search; skip for already identified citations.

Instructions

Ofrece al usuario un formulario para elegir el ámbito de una investigación jurídica abierta: BOE, Tribunal Constitucional, Unión Europea, CENDOJ, y/o una o varias comunidades autónomas. Llámala ANTES de buscar nada cuando la petición sea una investigación abierta ("qué dice la normativa sobre X"), nunca para una cita concreta ya identificada (usa boe_verificar_cita/euskadi_verificar_cita directamente en ese caso). No le pases argumentos. En clientes que admiten formularios interactivos (MCP Apps) se ofrece un formulario, pero puede que el cliente no lo muestre (el servidor no puede saberlo): haz SIEMPRE también la pregunta en texto, corta y literal, que trae el resultado. Espera la respuesta (formulario o texto) antes de llamar a cualquier otra herramienta de búsqueda. Mientras esperas la respuesta, no nombres ninguna norma, acto de la UE ni sentencia concretos (ni como ejemplo, ni como «punto de partida probable», ni para anticipar qué vas a buscar): limítate a pedir el ámbito.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint true, openWorldHint false, destructiveHint false) it discloses a genuine behavioral nuance: in MCP Apps clients an interactive form is offered, but the client may not render it and the server cannot know. It also tells the agent to always ask the question in short literal text and to wait for the reply before proceeding, which is context annotations cannot carry.

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?

Purpose and options come first, followed by the when/when-not rule and then the interactive/text fallback behavior, so it is well front-loaded. It is dense and somewhat long for a zero-parameter tool, but each sentence carries an actionable instruction or constraint 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?

For a complex interactive tool with no output schema, the description covers everything the agent needs: the enumerated scope options, the pre-search ordering constraint, the form-vs-text fallback when the client does not render the form, and the prohibition on naming specific norms while awaiting the answer.

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?

There are zero parameters, which sets the baseline at 4. The description reinforces this with an explicit 'No le pases argumentos', leaving no ambiguity about the empty input object.

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 states a specific action (presenting the user with a form to choose the scope of an open legal research) and enumerates the exact domain options: BOE, Tribunal Constitucional, Unión Europea, CENDOJ, and one or more autonomous communities. It is immediately distinguishable from the sibling search/verification tools.

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

Usage Guidelines5/5

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

It explicitly states when to use it (open-ended research such as 'what does the regulation say about X') and when not to (an already-identified specific citation, where boe_verificar_cita/euskadi_verificar_cita should be called directly). It also prescribes sequencing: call before anything else and wait for the answer before invoking any other search tool.

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