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

Consulta Boletines Oficiales - Legislación consolidada

boe_verificar_escrito

Read-only

Verify all legal citations in a document against consolidated BOE and BOPV sources, checking whether each norm, article, and validity status exists. Use it to review demands, appeals, contracts, or reports.

Instructions

Analiza un escrito (demanda, recurso, contrato, informe) y verifica automáticamente todas las citas legales que contenga, contra el BOE consolidado y, cuando la cita trae fecha de disposición, también contra el BOPV (Open Data Euskadi). Devuelve, para cada cita, si la norma existe, si está vigente, si el artículo existe, y qué fuente la resolvió. Úsalo cuando el usuario pida revisar o verificar las citas de un texto. Una cita en estado AMBIGUA no está verificada: enseña sus "alternativas" y no elijas tú. Solo verifica normas: las sentencias del Supremo/Audiencias/TSJ que cite el escrito NO se verifican aquí — márcalas como "no verificadas" y no añadas de memoria nada de ellas (ni número, ni ponente, ni contenido); solo se comprueban en el CENDOJ con un navegador real y con permiso del usuario.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "texto": "<texto>"
    },
    "name": "boe_verificar_escrito"
  }
}

Input Schema

NameRequiredDescriptionDefault
textoYesTexto completo del escrito a revisar.
maximoNoMáximo de citas a verificar (por defecto 25).
incluir_textoNoIncluir el texto literal de cada artículo verificado (más lento).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description adds what the annotations cannot: the per-citation return shape (existence, vigencia, article existence, resolving source) and the meaning of the AMBIGUA state. It does not cover failure modes such as oversized text, timeouts or partial results when the citation limit is hit, which keeps it below 5.

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 action and scope, then the return shape, then usage guidance, then exclusions and the AMBIGUA rule — a sensible priority order with no filler sentences. The closing sentence is long and repeats the prohibition in several clauses (ni número, ni ponente, ni contenido), which is defensible for a safety rule but slightly heavy.

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, and the description compensates by enumerating exactly what comes back per citation and what the AMBIGUA state means, so an agent can interpret results without guessing. Combined with read-only/open-world annotations and the explicit boundary against court rulings, an agent has everything needed to call and interpret this tool correctly.

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 'texto', 'maximo' and 'incluir_texto' are already documented at the schema level, and this sets the baseline at 3. The description adds no parameter-specific guidance (e.g., how long a text is acceptable, when to raise the 25-citation default, or why the literal-article option is slower), so it does not exceed the baseline.

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: analyzes a written document (demanda, recurso, contrato, informe) and verifies all its legal citations against BOE consolidado plus BOPV when a date is present. It also scopes the tool against non-normative content (sentencias are NOT verified here), which lets an agent distinguish it from single-citation or CENDOJ tools 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 Guidelines5/5

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

Explicit when-to-use ("Úsalo cuando el usuario pida revisar o verificar las citas de un texto") and explicit when-not-to-use (court rulings from Supremo/Audiencias/TSJ are not verified here and belong to CENDOJ with browser and user permission). It also tells the agent how to handle the AMBIGUA state (show alternatives, do not choose) rather than assuming a resolution.

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