Skip to main content
Glama

es_get_constitutional_ruling

Read-onlyIdempotent

Need a specific Tribunal Constitucional ruling? Fetch it by internal resolution ID to access the full text of Sentencia, Auto, or Declaracion for legal research.

Instructions

Fetch a Tribunal Constitucional ruling (Sentencia/Auto/Declaracion) by internal id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resolution_idYesthe internal Sistema HJ sequential id (e.g. ``"6670"`` for STC 31/2010). Get this id either from ``es_search_constitutional`` or from a hyperlink inside another ruling's text (``.../Resolucion/Show/{id}``).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
ecliNo
salaNo
tipoNo
falloNo
source_urlNo
dataset_noteNoTribunal Constitucional rulings are reached by internal resolution id (es_get_constitutional_ruling) or by human citation number+year (es_search_constitutional, e.g. numero=31, anno=2010 for 'STC 31/2010'). Source: hj.tribunalconstitucional.es (Sistema HJ / Buscador de jurisprudencia constitucional), server-rendered HTML, no free-text full-content search.
encabezamientoNo
human_readable_citationNo
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds context about the internal id system and ruling types, but no additional behavioral traits such as side effects, permissions, or limitations beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no redundant information. It is appropriately sized for the tool's simplicity.

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?

Given the tool's low complexity (one parameter), rich annotations, and existing output schema, the description provides sufficient context for an agent to select and invoke the tool correctly. The essential facts—what it fetches and how—are present.

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%, with the parameter description already explaining what resolution_id is, how to obtain it, and including an example. The tool description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 action ('Fetch'), the specific resource ('Tribunal Constitucional ruling'), and the distinguishing method ('by internal id'). It also specifies the ruling types (Sentencia/Auto/Declaracion), which differentiates it from sibling getter tools for other jurisdictions or document types.

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?

The description implies usage when an internal id is available, but it does not explicitly name alternatives or when-not-to-use. The parameter description provides further guidance on obtaining the id, but the main description lacks direct contrasting with sibling search tools.

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/matematicsolutions/es-eli-mcp'

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