Skip to main content
Glama

Clerk - IA Legal Dominicana

Buscar en el Rol Nacional de Audiencias

buscar_audiencias
Read-only

Busca en el Rol Nacional de Audiencias del Poder Judicial dominicano las audiencias de todos los tribunales, por el NUC del expediente, por el NOMBRE DE UNA PARTE o por el NOMBRE DE UN REPRESENTANTE (el abogado). Cada audiencia trae su NUC, la fecha y la hora, el tribunal y la sala, la materia, el asunto, las partes con su calidad, el estado (pendiente, en curso, recesada, conocida) y lo que pasó en ella («Aplazada», «Fallo reservado», «Fallada»…). Pagina de 20 en 20 con page y dice total y cuántas hay en cada estado.

El nombre se busca DENTRO del nombre escrito en el rol: «Fiallo» encuentra a quien lo lleve en cualquier parte del nombre, homónimos incluidos. Un distrito o una materia que no existan dan error con los valores que valen, nunca un cero.

⚠️ El rol no es jurisprudencia: dice qué se conoce y cuándo. Para saber si un expediente ya tiene sentencia, verificar_decisiones con su nuc. Las partes y el asunto los transcribe el tribunal: no se citan.

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": {
      "consulta": "<consulta>",
      "por": "<por>"
    },
    "name": "buscar_audiencias"
  }
}

Input Schema

NameRequiredDescriptionDefault
porYesQué es `consulta`.
pageNoPágina, base 0. Cada una trae hasta 20.
estadoNoEstado de la audiencia. «conocida» es la ya celebrada, con su resultado. Opcional.
materiaNoMateria, como la escribe el rol: «Civil», «Penal», «Trabajo», «Inmobiliaria», «Contencioso Administrativo»… Opcional.
consultaYesEl NUC, el nombre de la parte o el del representante, según `por`.
distritoNoDistrito judicial, como lo escribe el rol: «Distrito Nacional», «Santiago», «Santo Domingo»… Opcional.
instanciaNoSuprema Corte, cortes de apelación, primera instancia o juzgados de paz, con sus equivalentes. Opcional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, it discloses non-obvious behavior: substring matching inside the recorded name («Fiallo» matches anywhere, homonyms included), that invalid distrito/materia return errors listing valid values «nunca un cero», and pagination of 20 per page with `total` and per-state counts. Return fields are enumerated, which matters with no output schema. Minor gap: no indication of result ordering or truncation limits on large name matches.

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

Conciseness4/5

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

Front-loaded with purpose and search keys, then return contents, then semantics and warnings. The return-field enumeration is dense but earns its place since there is no output schema. Nothing is wasted, though the parenthetical list of hearing outcomes could be tightened.

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?

For a 7-parameter read-only search with no output schema and no annotations beyond readOnly/openWorld, it covers everything an agent needs: what is searched, what comes back, how paging works, how errors behave, and which sibling to use for a different question.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: the matching semantics of `consulta`/`por` (substring within the recorded name), and the clarification that «conocida» is the already-celebrated hearing carrying its outcome. The failure mode for bad `distrito`/`materia` values is also explained, which the schema does not state.

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 en el Rol Nacional de Audiencias del Poder Judicial dominicano») plus the three lookup keys (NUC, nombre de parte, nombre de representante). It also draws an explicit boundary against the jurisprudencia siblings: «El rol no es jurisprudencia: dice qué se conoce y cuándo», so an agent can distinguish it from buscar_jurisprudencia and verificar_decisiones without opening any schema.

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?

Gives explicit routing: use this for hearing dates/status, but «Para saber si un expediente ya tiene sentencia, verificar_decisiones con su `nuc`» names the alternative and its condition. It also warns that party names and subject matter are transcribed by the court and «no se citan», telling the agent how to treat results.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources