Skip to main content
Glama

Buscar jurisprudencia

buscar_jurisprudencia
Read-onlyIdempotent

Search Chilean Supreme Court rulings to verify legal citations. Enter case role and year to retrieve the full sentence with title, chamber, date, and permanent link.

Instructions

Busca sentencias de la Corte Suprema en el Buscador Unificado de Fallos.

Sirve para verificar que una cita existe antes de usarla: dar rol y anio devuelve la sentencia con su caratulado, sala, fecha y enlace permanente.

El resultado trae ocultas. Si es mayor que cero, la lista es un subconjunto de lo que hay indexado y no se puede afirmar que falte lo que no aparece.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rolNoRol ante la Corte Suprema, sin el año.
anioNoAño del rol.
desdeNoFecha inicial, DD/MM/AAAA.
filasNoCuántas sentencias traer.
hastaNoFecha final, DD/MM/AAAA.
todasNoTexto libre: deben aparecer todas estas palabras.
excluirNoPalabras que NO deben aparecer.
literalNoFrase exacta.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ocultasYesCoincidencias que existen y NO se entregan. Si es mayor que cero, la lista es un subconjunto: no se puede afirmar que no exista lo que no aparece.
visiblesYesCuántas coincidencias son visibles para esta consulta.
sentenciasYes
coincidenciasYesCuántas coincidencias declara el buscador ANTES de aplicar el filtro de condición de publicación. No es el tamaño del índice: es el universo del que sale esta búsqueda.
condiciones_de_publicacionYesDesglose de TODAS las coincidencias por condición de publicación, visibles incluidas. Suma `coincidencias`, no `ocultas`: la categoría 'Publicable' son justamente las que sí se entregan. Sirve para ver de qué está hecho el universo (anonimizadas, reservadas, excluidas de salud), no para saber cuáles faltan: el buscador no publica la regla de visibilidad, así que no se puede decir qué categorías componen `ocultas`.
Behavior5/5

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

Beyond the annotations (readOnlyHint, openWorldHint, idempotentHint), the description adds valuable behavioral context: it explains what fields are returned when providing rol/anio, and crucially discloses the 'ocultas' field semantics—if greater than zero, the list is a subset and absence cannot be interpreted as definite missing. This is rich, non-obvious behavior directly relevant to using results.

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 three short, purposeful paragraphs. The first sentence states the main function, the second gives a concrete usage example, and the third warns about a surprising result field. No filler; front-loaded with the most important information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 optional parameters and a rich output schema, the description focuses on the most important use case (citation verification) and the key caveat (ocultas). It doesn't enumerate all filtering options, but those are already in the schema. The description adds enough context for an agent to understand when and how to use the tool effectively.

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?

The schema covers all 8 parameters with descriptions, so baseline is 3. The description adds extra meaning by explaining how 'rol' and 'anio' combine to fetch a specific ruling and what output to expect. This elevates beyond the schema's minimal per-parameter descriptions.

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 tool's verb and resource: 'Busca sentencias de la Corte Suprema en el Buscador Unificado de Fallos.' It distinguishes itself from sibling tools (which search 'causas') by specifying 'sentencias' and provides a concrete use case (verifying a citation).

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 explicitly says the tool is for verifying a citation before using it, and specifically mentions giving 'rol' and 'anio' to retrieve the ruling. While it doesn't name alternatives, the sibling context makes it clear this is for jurisprudence ('sentencias') vs. causes. This is clear contextual guidance but not explicit exclusionary guidance.

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/notluquis/mcp-pjud-cl'

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