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

Consulta Boletines Oficiales - Legislación consolidada

boe_analisis_norma

Read-only

Analyze a Spanish legal norm's subjects, notes, and cross-references to determine if and by which norm a provision has been modified or repealed.

Instructions

Análisis jurídico de una norma: materias, notas y referencias a otras normas (qué deroga, qué la modifica). Úsalo para saber si un precepto ha sido modificado y por qué norma.

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": {
      "id": "<id>"
    },
    "name": "boe_analisis_norma"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentificador BOE-A-AAAA-N.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's job is to say what comes back. It does that by naming the returned elements (materias, notas, referencias, derogaciones/modificaciones), which is the only source of that information since there is no output schema. It omits failure behavior for invalid or unknown BOE ids.

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?

Two sentences, purpose front-loaded, with the content enumeration kept in a compact parenthetical. Every clause contributes meaning; nothing is redundant with the title.

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

Completeness4/5

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

For a one-parameter read-only lookup, the definition covers purpose, the kind of data returned, and the decision it supports. Combined with annotations and a fully documented schema, an agent has enough to call it correctly; only error/empty-result behavior is unaddressed.

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?

Single required parameter with 100% schema description coverage ("Identificador BOE-A-AAAA-N."), so the schema fully documents it. The description adds nothing about id format or what happens with a non-norm id, which is acceptable at this coverage level but not additive.

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 (análisis jurídico de una norma) and enumerates the content it covers: materias, notas, referencias a otras normas, derogaciones y modificaciones. This lets an agent distinguish it from content-fetching siblings like boe_texto_articulo, though no sibling is named explicitly.

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?

"Úsalo para saber si un precepto ha sido modificado y por qué norma" gives a concrete triggering condition, which is more than implied usage. It lacks explicit when-not-to-use guidance or a named alternative (e.g. boe_ficha_norma, boe_indice_norma) for the cases where only metadata is needed.

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