Skip to main content
Glama
Angelthebestone

Normativa Colombia MCP

Buscar jurisprudencia de la Corte Constitucional

buscar_jurisprudencia

Search Colombian Constitutional Court rulings (sentencias and autos) by keyword, with date and type filters, returning case summaries and document paths.

Instructions

Sentencias y autos de la relatoría de la Corte Constitucional (44.839 providencias, con fallos de 2026 publicados el mismo año). Es la vía para jurisprudencia constitucional: el Gestor tiene muy poca. Devuelve sentencia, tipo, fecha, síntesis y la ruta para obtener_documento con fuente="corte". La relatoría no indexa frases largas: con varias palabras se reintenta con la más distintiva y la respuesta lo anuncia ("se buscó con el núcleo «X»"). Es la CORTE CONSTITUCIONAL, no la Suprema ni el Consejo de Estado: para esos, usa su buscador propio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
desdeNoFecha inicial AAAA-MM-DD (por defecto 1992-01-01)
hastaNoFecha final AAAA-MM-DD
tiposNoTipos a incluir; por defecto C, T y SU (doctrina). Los autos (A) son mayoría por volumen y suelen ser trámite: pídelos explícitamente. Se aceptan sus nombres: "tutela", "constitucionalidad", "unificacion", "auto".
limiteNoCuántas providencias mostrar (hasta 100)
terminoYesObligatorio. Términos a buscar en la relatoría, ej. "teletrabajo"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.1
    • changedInput schema / properties / tipos / description
      Previous value: -"Tipos a incluir; por defecto C, T y SU (doctrina). Los autos (A) son mayoría por volumen y suelen ser trámite: pídelos explícitamente."New value: +"Tipos a incluir; por defecto C, T y SU (doctrina). Los autos (A) son mayoría por volumen y suelen ser trámite: pídelos explícitamente. Se aceptan sus nombres: \"tutela\", \"constitucionalidad\", \"unificacion\", \"auto\"."
  2. Changed1 schema field changedv1.14.0
    • changedInput schema / properties / tipos / description
      Previous value: -"Tipos a incluir. Por defecto C, T y SU (doctrina). Los autos (A) son mayoría por volumen y suelen ser trámite, así que hay que pedirlos explícitamente: [\"A\"] o [\"C\",\"T\",\"SU\",\"A\"]."New value: +"Tipos a incluir; por defecto C, T y SU (doctrina). Los autos (A) son mayoría por volumen y suelen ser trámite: pídelos explícitamente."
  3. Changed1 schema field changedv1.10.2
    • addedInput schema / properties / limite / description
      Added value: +"Cuántas providencias mostrar (hasta 100)"
  4. First observedv1.6.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses corpus size (44.839 providencias), recency, the return fields (sentencia, tipo, fecha, síntesis), the handoff to obtener_documento with fuente='corte', and a non-obvious behavioral trait — the relatoría does not index long phrases, so it retries with the most distinctive word and announces this in the response. It omits pagination/rate behavior, but otherwise this is rich.

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?

Front-loaded with the resource and its distinguishing claim, then the return shape, then the query caveat, then the sibling routing. Every sentence earns its place with no 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?

For a search tool with no output schema and no annotations, the description supplies the return fields, corpus scope, query behavior caveat, and cross-tool handoff, which is everything an agent needs to invoke and interpret it correctly.

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 beyond the schema: it explains the long-phrase indexing limitation and the automatic retry with the distinctive core, which directly affects how 'termino' should be supplied. The 'fuente=corte' link also clarifies downstream usage.

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+resource: search Constitutional Court sentencias and autos from the relatoría, with coverage count and recency. It explicitly distinguishes itself from buscar_jurisprudencia_suprema and buscar_jurisprudencia_consejo_estado, so an agent can route without opening sibling schemas.

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: this is the route for constitutional jurisprudence because the Gestor covers little of it, and it names the sibling tools to use for Suprema and Consejo de Estado instead. It also gives a concrete usage rule — request autos (A) explicitly since they are mostly procedural and excluded by default.

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