Skip to main content
Glama

es_search_constitutional

Read-onlyIdempotent

Resolve a Spanish Constitutional Court citation (number and year) to the full ruling text. Supports sentencias, autos, and declaraciones for accurate retrieval.

Instructions

Resolve a Tribunal Constitucional citation (number + year) to the full ruling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
annoYesthe citation year, e.g. ``"2010"``.
tipoNoone of ``"SENTENCIA"`` (default, -> STC), ``"AUTO"`` (-> ATC), or ``"DECLARACION"`` (-> DTC).SENTENCIA
numeroYesthe citation number, e.g. ``"31"`` for "STC 31/2010".

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=true and destructiveHint=false, so the description does not need to repeat that. The term 'resolve' suggests a deterministic lookup, but no additional behavioral context (e.g., error handling, authentication needs, or rate limits) is provided. This is acceptable given the strong annotation coverage.

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, direct sentence that is front-loaded with the primary action and resource. It contains no filler and communicates the core function efficiently.

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?

The tool is a simple, low-complexity lookup. The input schema and annotations fully cover safety and parameter semantics, and the presence of an output schema means return values are already documented. The concise description adequately covers the tool's purpose without needing additional elaboration.

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 coverage is 100% and each parameter has a clear description. The description mentions 'number + year' but does not add meaning for the optional 'tipo' parameter or go beyond what the schema already provides. The baseline of 3 applies because the schema carries the full explanatory burden.

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?

The description clearly states a specific action ('resolve') on a specific resource (Tribunal Constitucional citation) with the outcome being the full ruling. However, it does not distinguish this tool from the sibling 'es_get_constitutional_ruling', which likely serves a similar purpose, so it falls short of a 5.

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

Usage Guidelines3/5

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

The description implies the tool should be used when the user has a citation number and year, but it provides no explicit guidance on when to prefer this tool over siblings like 'es_get_constitutional_ruling' or other search tools. There are no exclusions or alternative scenarios mentioned.

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