Skip to main content
Glama

Clerk - IA Legal Dominicana

Buscar doctrina constitucional

buscar_doctrina_constitucional
Read-only

Publicaciones del Centro de Estudios Constitucionales del Tribunal Constitucional: libros y colecciones que edita el propio TC, gratuitos y descargables.

⚠️⚠️ Es DOCTRINA, NO jurisprudencia, y la diferencia no es de catálogo: lo que un libro del TC dice sobre el amparo NO es lo que el TC falló sobre el amparo, aunque lo firme un magistrado en calidad académica. Se cita como doctrina, con autor y página. Para el criterio del tribunal, buscar_jurisprudencia.

Complementa a buscar_doctrina, que busca en la biblioteca del Poder Judicial: son dos colecciones distintas. Esta es la del TC y va sesgada a materia constitucional.

Devuelve el slug de cada obra, que es lo que pide leer_doctrina_constitucional.

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": {
      "terminos": "<terminos>"
    },
    "name": "buscar_doctrina_constitucional"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based. El catálogo son 34 páginas.
terminosYesQué buscar. Mira el nombre de la publicación, la materia y la descripción; no busca dentro del texto del libro. ⚠️ Compara la FRASE LITERAL, no parte las palabras: «amparo modalidades» puede dar CERO aunque las dos palabras estén en el título de una obra. Manda UNA palabra por término. Si pasas varios, se consultan por separado y se unen (hasta 3).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / terminos / description
      Previous value: -"Qué buscar. Mira el nombre de la publicación, la materia y la descripción; no busca dentro del texto del libro.\n\n⚠️ El sitio compara la FRASE LITERAL, no parte las palabras: medido, «amparo» devuelve 5 obras y «amparo modalidades» devuelve CERO, aunque «modalidades» esté en el título de una de esas 5. Manda UNA palabra por término. Si pasas varios, se consultan por separado y se unen (hasta 3)."New value: +"Qué buscar. Mira el nombre de la publicación, la materia y la descripción; no busca dentro del texto del libro.\n\n⚠️ Compara la FRASE LITERAL, no parte las palabras: «amparo modalidades» puede dar CERO aunque las dos palabras estén en el título de una obra. Manda UNA palabra por término. Si pasas varios, se consultan por separado y se unen (hasta 3)."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial context beyond them: the corpus is TC-edited, free, downloadable, constitutionally skewed, capped at 34 pages, searches only title/subject/description and not the book text, unions up to 3 terms, and matches literal phrases only. These are exactly the failure modes an agent would hit otherwise.

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 what the collection is, then the doctrine-vs-jurisprudence warning, then sibling routing, then the return value — a sensible order with no filler sentences. It runs long and leans on emoji-heavy warnings, but every paragraph carries distinct information.

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?

Two parameters, one required, no output schema — and the description supplies the missing return-value information (slug) plus the chaining tool. Nothing an agent needs to call this correctly and pass its result onward is absent.

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 already documents the literal-phrase rule, the one-word-per-term advice, the 3-term union, and the 34-page limit, so the description adds little parameter meaning. Its only extra guidance is output-oriented (the slug handed to leer_doctrina_constitucional), which belongs to return values rather than parameters.

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: publications (books and collections) from the TC's Centro de Estudios Constitucionales, free and downloadable. It explicitly distinguishes itself from buscar_jurisprudencia (tribunal rulings) and from buscar_doctrina (Poder Judicial library), so an agent can route correctly 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 when-to-use (citable doctrine with author and page), when-not-to-use (tribunal criteria → buscar_jurisprudencia), and the alternative collection (buscar_doctrina for the Poder Judicial library). It also names leer_doctrina_constitucional as the downstream consumer of the returned slug.

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