Skip to main content
Glama

pjud_search_jurisprudencia

Read-only

Busca jurisprudencia en el corpus local cosechado —70.523 sentencias de la Corte Suprema de los últimos dos años, 966 del Tribunal Constitucional, fallos rectores CS/TC y portales especializados PJUD (Líneas Jurisprudenciales CS…

Instructions

Busca jurisprudencia en el corpus local cosechado —70.523 sentencias de la Corte Suprema de los últimos dos años, 966 del Tribunal Constitucional, fallos rectores CS/TC y portales especializados PJUD (Líneas Jurisprudenciales CS, Salud/Isapres, Compendio de Extranjería, Derechos Humanos, Secretaría de Género y Baremo Estadístico de Daño Moral en UF/CLP)— por carátula, materia, recurso, resultado y doctrina; insensible a acentos.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "pjud_search_jurisprudencia"
  }
}

Input Schema

NameRequiredDescriptionDefault
salaNoSala opcional (ej. 'Tercera', 'Cuarta', 'Primera')
queryYesTérmino de búsqueda (ej. 'confianza legitima 2 años', 'descuento afc despido', 'isapres', 'baremo daño moral hijo')
coleccionNoFiltro opcional por portal especializado PJUD ('lineas', 'salud', 'extranjeria', 'ddhh', 'genero', 'baremo', 'cs', 'tc')
baremo_parentescoNoVínculo de parentesco opcional para consultar estadísticos en UF/CLP del Baremo de Daño Moral por muerte (ej. 'Hijo(a)', 'Cónyuge', 'Padre o Madre', 'Hermano(a)', 'Conviviente')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.15.0
    • addedInput schema / properties / baremo_parentesco
      Added value: +{
      +  "description": "Vínculo de parentesco opcional para consultar estadísticos en UF/CLP del Baremo de Daño Moral por muerte (ej. 'Hijo(a)', 'Cónyuge', 'Padre o Madre', 'Hermano(a)', 'Conviviente')",
      +  "type": "string"
      +}
    • addedInput schema / properties / coleccion
      Added value: +{
      +  "description": "Filtro opcional por portal especializado PJUD ('lineas', 'salud', 'extranjeria', 'ddhh', 'genero', 'baremo', 'cs', 'tc')",
      +  "enum": [
      +    "cs",
      +    "tc",
      +    "lineas",
      +    "salud",
      +    "extranjeria",
      +    "ddhh",
      +    "genero",
      +    "baremo"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Término de búsqueda (ej. 'confianza legitima 2 años', 'descuento afc despido', 'isapres')"New value: +"Término de búsqueda (ej. 'confianza legitima 2 años', 'descuento afc despido', 'isapres', 'baremo daño moral hijo')"
  2. First observedv1.5.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: the search is accent-insensitive and spans multiple fields plus specialized portals mapped to the coleccion values. It stops short of describing result ordering, ranking or any limit on returned sentences.

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

Conciseness3/5

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

Purpose is front-loaded in the opening clause, which is good. The single sentence is then loaded with a long parenthetical listing portals and sentence counts, which is informative but heavy and slows scanability; it could be split or trimmed without losing meaning.

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

Completeness3/5

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

With no output schema, the description should convey what a search returns and how results are shaped. It gives corpus composition but says nothing about result entries, ordering, pagination or how doctrine matches are surfaced, leaving an agent unclear about the response for a four-parameter search tool.

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%, so the schema already documents all four parameters including the coleccion enum. The description corroborates that meaning by naming the portals behind the enum values, but adds no syntax, format or interaction rules beyond that, so the baseline score 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?

States a specific verb and resource ('Busca jurisprudencia') plus the exact corpus it searches (local harvested corpus with sentence counts, CS/TC rulings and PJUD specialty portals). It also enumerates the searchable fields (carátula, materia, recurso, resultado, doctrina), which lets an agent distinguish it from searches over CGR, TDLC or CMF material.

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?

Usage is implied by the corpus description: this is the tool for Chilean Supreme Court/Constitutional Court and PJUD portal jurisprudence. However, it never says when to prefer it over sibling jurisprudence searchers, nor any exclusions or prerequisites, leaving the agent to infer selection from the scope alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools