tc_get_resolution
Pack: es-tc-case-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tc_get_resolution for the schema, then POST the same URL with its arguments for the data.
Fetch one Tribunal Constitucional resolution of Spain by ECLI (ECLI:ES:TC:2026:52; an A suffix is an auto, D a declaración, none a sentencia), or by year + number + type. Returns the ECLI, title, chamber, resolution and BOE dates, the official summary, the official URL and the full text (antecedentes, fundamentos jurídicos, fallo, votos particulares). A resolution that does not exist returns found: false with the reason, never an empty text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ecli | string | no | ECLI of the resolution, e.g. ECLI:ES:TC:2026:52 or ECLI:ES:TC:2023:537A. |
year | number | no | Year, with number (and type) when no ECLI is given. |
number | number | no | Resolution number within its year and type. |
type | string | no | With year + number. Default sentencia. |
max_chars | number | no | Cap on the returned text, default 60000; text_truncated says whether it was cut. |
Example call
Arguments
{
"ecli": "ECLI:ES:TC:2026:52",
"max_chars": 20000
}
curl
curl -X POST https://gateway.pipeworx.io/es-tc-case-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tc_get_resolution","arguments":{"ecli":"ECLI:ES:TC:2026:52","max_chars":20000}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tc_get_resolution', {
"ecli": "ECLI:ES:TC:2026:52",
"max_chars": 20000
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
resolution_id | number | |
ecli | string | |
title | string | |
official_url | string | |
chamber | null | |
process | null | |
resolution_date | null | |
boe | null | |
summary | string | |
text_chars | number | |
text_truncated | boolean | |
court_body | string | |
source | string | |
coverage | string | |
text | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"resolution_id": {
"type": "number"
},
"ecli": {
"type": "string"
},
"title": {
"type": "string"
},
"official_url": {
"type": "string"
},
"chamber": {
"type": "null"
},
"process": {
"type": "null"
},
"resolution_date": {
"type": "null"
},
"boe": {
"type": "null"
},
"summary": {
"type": "string"
},
"text_chars": {
"type": "number"
},
"text_truncated": {
"type": "boolean"
},
"court_body": {
"type": "string"
},
"source": {
"type": "string"
},
"coverage": {
"type": "string"
},
"text": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the es-tc-case-law pack
{
"mcpServers": {
"es-tc-case-law": {
"url": "https://gateway.pipeworx.io/es-tc-case-law/mcp"
}
}
}
See Getting Started for client-specific install steps.