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

NameTypeRequiredDescription
eclistringnoECLI of the resolution, e.g. ECLI:ES:TC:2026:52 or ECLI:ES:TC:2023:537A.
yearnumbernoYear, with number (and type) when no ECLI is given.
numbernumbernoResolution number within its year and type.
typestringnoWith year + number. Default sentencia.
max_charsnumbernoCap 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

FieldTypeDescription
foundboolean
resolution_idnumber
eclistring
titlestring
official_urlstring
chambernull
processnull
resolution_datenull
boenull
summarystring
text_charsnumber
text_truncatedboolean
court_bodystring
sourcestring
coveragestring
textstring
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.

Regenerated from source · build December 4, 2026