Skip to main content
Glama

Clerk - IA Legal Dominicana

Buscar doctrina

buscar_doctrina
Read-only

Busca libros y publicaciones jurídicas dominicanas POR SU CONTENIDO: la coincidencia se busca dentro del texto completo de la obra, no en el título. Un resultado significa que ese libro trata la figura, aunque su título no la nombre («anatocismo» devuelve el Diccionario Jurídico Dominicano; «lucro cesante», 50 obras).

Úsala para saber A QUÉ DOCTRINA acudir. Aquí llega la ficha (título, autores, editorial, páginas, isbn13); el TEXTO de la obra lo sirve leer_doctrina, a la que se pasa el isbn13 de cada resultado.

⚠️⚠️ La biblioteca NO es solo doctrina: aloja también el TEXTO de los CÓDIGOS (Civil, de Procedimiento Civil, de Comercio, Penal, Procesal Penal, de Trabajo, Tributario, Monetario y Financiero…) y de los REGLAMENTOS y RESOLUCIONES del Poder Judicial (por ejemplo, los de la Jurisdicción Inmobiliaria), que NO están en buscar_legislacion. Para un código, busca su título («Código Civil de la República Dominicana»). Esos resultados llevan es_texto_normativo: true: son la norma, se citan por artículo, y un artículo se lee con leer_doctrina y articulo. Si hay varias ediciones del mismo texto, la respuesta trae aviso_versiones: esta fuente no marca cuál está vigente.

Los artículos de la Revista Saber y Justicia de la Escuela Nacional de la Judicatura llegan además uno por uno en articulos_de_revista, con su autor y sus temas: se leen con leer_doctrina y su clave, y se citan a quien firma el artículo.

⚠️ La ficha sola no autoriza a parafrasear el contenido: lee el pasaje por leer_doctrina antes de atribuirle nada a una obra.

Input Schema

NameRequiredDescriptionDefault
pageNoPágina, base 0.
rowsNoResultados por página. El techo real NO es este número, es el reloj del gateway (~30 s, luego 504), y lo que tarda depende de cuántas coincidencias haya que ordenar: rows=250 sobre 6.666 coincidencias pasa en 21 s, el mismo rows=250 sobre 114.321 da 504. Acota con facetas ANTES de subir rows, no al revés.
terminosYesTérminos de búsqueda.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description nonetheless adds real behavioral context: full-text vs title matching, the es_texto_normativo flag marking normative text, aviso_versiones warning that editions are not marked as current, and the articulos_de_revista sub-results. What it does not do is describe ranking, pagination limits, or the timeout ceiling — the latter is instead carried by the rows parameter description in the schema.

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 the core matching semantics in the first sentence, then layered warnings, so the most important information survives skimming. It is long and the emoji-laden warnings add visual noise, but nearly every sentence carries distinct operational content rather than filler.

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?

There is no output schema, and the description compensates fully by enumerating the returned fields (título, autores, editorial, páginas, isbn13) plus the conditional ones (es_texto_normativo, aviso_versiones, articulos_de_revista con autor y temas). For a three-parameter read tool it leaves nothing an agent needs to call it correctly or to interpret the response.

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 the schema itself is unusually rich, including the ~30 s gateway timeout guidance for rows. The description adds meaning not in the schema by tying result fields to the sibling tool's parameters (isbn13, articulo, clave), but it says nothing about how terminos is interpreted (multiple terms, AND/OR, stemming), which is the one parameter an agent most needs to understand.

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 (búsqueda de libros y publicaciones jurídicas dominicanas) and, crucially, the matching semantics: the hit is in the full text of the work, not the title, with concrete examples («anatocismo» devuelve el Diccionario Jurídico Dominicano). It also separates itself from leer_doctrina (which serves the text) and from buscar_legislacion (which does not hold codes), so an agent can pick it out among 25 siblings.

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?

Explicit when-to-use ("Úsala para saber A QUÉ DOCTRINA acudir"), explicit hand-off (pass the isbn13 to leer_doctrina, the clave for Revista Saber y Justicia articles), and an explicit exclusion/correction: codes and reglamentos are in this library but NOT in buscar_legislacion, so search them by title here. It even states the read-before-attributing rule.

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