Skip to main content
Glama

Dónde y cuándo se practicó una diligencia

obtener_georreferencia
Read-onlyIdempotent

Fetch geolocation coordinates and precision for a court action's diligence, cross-checking the recorded time against GPS capture to detect discrepancies, including existence flag and attempt count.

Instructions

Dónde y cuándo el ministro de fe registró que practicó una diligencia.

Es el registro del art. 9 inc. 3 de la Ley 20.886. Su hora NO es la única de la respuesta: hora_diligencia de las actuaciones también la trae. Lo distinto es de dónde sale: aquélla es la que el tribunal escribió en el texto del trámite, y ésta la marcó el aparato con que se tomó la coordenada.

Eso la vuelve una TERCERA fuente sobre cuándo ocurrió la diligencia, independiente de las dos que el sitio publica. NO reemplaza a fecha_diligencia, que es la que corre los plazos: sirve para contrastarla, y si no coinciden hay que informarlo, no elegir.

Cuesta UNA petición por actuación. Pedirla para todas las de una causa multiplica las consultas contra la plataforma: se pide de la actuación concreta que importa.

existe: false significa que la actuación la ofrecía y el panel respondió que no hay ninguna. Está medido: una de seis. No es lo mismo que no haber preguntado.

intentos cuenta cuántas veces el aparato trató de fijar la posición, según el sitio. Qué significa un número alto NO está medido. Viene en nulo SÓLO cuando existe es falso, o sea cuando no hay georreferencia que contar: si la hay y falta la cuenta, esto levanta.

Informar SIEMPRE precision_metros junto con las coordenadas. Está medido que varía entre 6 y 103 metros en una misma causa, y con 103 la coordenada dice el sector y no la puerta: presentarla como una dirección exacta es afirmar de más.

Trae las coordenadas de un domicilio de terceros, igual que los litigantes traen su RUT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
competenciaNoUna de: apelaciones, civil, cobranza, laboral. Son las que publican la columna de georreferencia en su tabla de Historia. Suprema no la publica.civil
georreferencia_referenciaYesLo entrega cada actuación en `georreferencia_referencia`. Cuando esa viene nula, la actuación no ofrece georreferencia y no hay nada que pedir.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
existeYes
latitudNo
intentosNo
longitudNo
hora_dispositivoNo
precision_metrosNo
fecha_dispositivoNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed8 schema fields changedv0.19.3
    • removedOutput schema / description
      Removed value: -"Dónde y cuándo el ministro de fe registró que practicó una diligencia.\n\nEs el registro del art. 9 inc. 3 de la Ley 20.886, y trae algo que no hay en ninguna otra\nparte de la respuesta: la **hora**. Las dos fechas de la Historia son del día, y ésta viene\ndel aparato con que se tomó la coordenada.\n\nEso la vuelve una TERCERA fuente sobre cuándo ocurrió la diligencia, independiente de las\ndos que el sitio publica en la tabla. No reemplaza a `fecha_diligencia`, que es la que\ncorre los plazos: sirve para contrastarla.\n\nTrae coordenadas de un domicilio de terceros. Se entregan porque son lo que la plataforma\npublica y lo que hace útil el registro, con el mismo criterio que el RUT de los litigantes,\ny por eso mismo no se guardan en este repositorio."
    • removedOutput schema / properties / existe / description
      Removed value: -"Falso cuando la actuación ofrece georreferencia y el panel responde que no hay ninguna. Está medido: una de seis. En ese caso los demás campos vienen nulos, y eso NO es lo mismo que no haber preguntado."
    • removedOutput schema / properties / fecha_dispositivo / description
      Removed value: -"Cuándo el aparato tomó la coordenada. Es la ÚNICA fecha del proyecto que viene con hora, y es una fuente independiente de las dos de la Historia."
    • removedOutput schema / properties / hora_dispositivo / description
      Removed value: -"La hora de esa toma, que ninguna otra fecha del proyecto trae."
    • removedOutput schema / properties / intentos / description
      Removed value: -"Cuántas veces el aparato intentó fijar la posición, según el sitio. Sin medir qué significa un número alto."
    • removedOutput schema / properties / latitud / description
      Removed value: -"Latitud, como la publica el sitio."
    • removedOutput schema / properties / longitud / description
      Removed value: -"Longitud, como la publica el sitio."
    • removedOutput schema / properties / precision_metros / description
      Removed value: -"Radio de incertidumbre en metros. Medidas en una sola causa: 6,0 · 10,04 · 26,68 · 56,22 y 103,13.\n\nInformarla SIEMPRE junto con las coordenadas. Un radio de 103 metros abarca una manzana entera en zona urbana, así que ahí la coordenada dice el sector y no la puerta, y presentarla como una dirección exacta es afirmar de más."
  2. Addedv0.8.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive, and the description does not contradict them. It adds substantial behavioral context beyond the annotations: `existe:false` is a measured outcome distinct from not querying, `intentos` is null only when `existe` is false, and `precision_metros` must be reported alongside coordinates because it varies from 6 to 103 meters. It even discloses that the coordinates concern a third party's address, which matters for how the result should be presented.

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 long but tightly packed: every sentence contributes a distinct caveat or clarification, from the legal basis to the one-request-per-act rule to the measured precision ranges. It is front-loaded with a clear one-line purpose and then proceeds in a logical order through source, usage, failure semantics, and reporting obligations. No filler or repetition of the schema is present.

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 output schema exists, but the description goes further and explains the meaning and reliability of key output fields (`existe`, `intentos`, `precision_metros`) that an agent must understand to use the response correctly. It covers failure cases, rate-of-request concerns, data provenance, and privacy-sensitive handling. For a tool with this complexity, nothing important for invocation or interpretation is missing.

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 both parameters have meaningful descriptions in the schema; the description adds no new information about `competencia` and mostly restates the `georreferencia_referencia` origin already documented in the schema. The rich caveats in the description concern output fields and usage policy, not parameter semantics. A baseline 3 is therefore appropriate.

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 opening line states exactly what the tool reports: where and when the minister of faith (ministro de fe) recorded performing a diligence. The description further distinguishes this record from the `hora_diligencia` field in the actuaciones, making its scope precise even without reading the schema. The name and title agree with the described resource.

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

Usage Guidelines5/5

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

The description explicitly tells the agent when not to rely on this data ('NO reemplaza a `fecha_diligencia`') and to report discrepancies rather than choose between values. It also warns that each request is one per actuación and that requesting for all actuaciones multiplies queries, so only the relevant one should be requested. This is strong when/when-not guidance, even though it doesn't name a sibling tool.

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

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