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

Consulta Boletines Oficiales - Legislación consolidada

boe_tc_texto_sentencia

Read-only

Retrieve the full text, legal grounds, outcome, and referenced norms of a Spanish Constitutional Court ruling from its BOE-A identifier, including citation URLs.

Instructions

Texto completo (antecedentes, fundamentos jurídicos, fallo y votos particulares si los hay), materias y referencias a normas afectadas de una sentencia del Tribunal Constitucional, a partir de su identificador BOE-A-AAAA-N (el que devuelve boe_tc_buscar_sentencias). Indica siempre que es una sentencia del TC, no una norma, y da el url de la sentencia (campo "url" y "url_pdf") en cualquier cita.

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_tc_texto_sentencia"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentificador BOE-A-AAAA-N de la sentencia.

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 and destructiveHint=false, and the description adds substantial context beyond them: the returned content includes votos particulares when present, materias and affected-norm references, and the response carries url and url_pdf fields. It also adds an output-presentation obligation (label it as a TC ruling, cite the url), which is real behavioral guidance.

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 resource and its contents, then the required identifier, then the citation rules. The single long sentence is dense but every clause carries information; the citation instruction could be split for readability but nothing is wasted.

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, so the description carries the burden of describing return values, and it does: the full-text sections, materias, norm references and the url/url_pdf fields. Combined with the single-parameter schema and annotations, an agent has everything needed to call and present the result correctly.

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 coverage is 100% and the schema already documents the id parameter as BOE-A-AAAA-N, so the description need not repeat format syntax. It does add provenance value by naming the tool that supplies the identifier, which is the one thing the schema cannot say.

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+resource (retrieves the full text of a Tribunal Constitucional ruling) and enumerates exactly what is returned: antecedentes, fundamentos jurídicos, fallo, votos particulares, materias and norm references. It also distinguishes itself from the sibling boe_tc_buscar_sentencias, which only produces the identifier this tool consumes.

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?

Explicitly points to boe_tc_buscar_sentencias as the source of the required id, giving the agent a clear call sequence. It also instructs to always present the result as a TC ruling rather than a norm and to include the url/url_pdf in citations. No explicit when-not-to-use cases, but the routing context is unambiguous.

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