Skip to main content
Glama
Normativa Colombia MCP

Normativa Colombia MCP

Buscar en varias fuentes a la vez

buscar_unificado
Read-onlyIdempotent

Search multiple Colombian legal sources in parallel and aggregate results with source links for open-ended queries.

Instructions

Busca en paralelo en Gestor Normativo, Corte Constitucional, SUIN-Juriscol y DIAN, y agrega los resultados con su fuente y su enlace. Úsala cuando la consulta es abierta o por materia y no hay herramienta obvia; para una cita exacta sigue siendo mejor resolver_cita y para un tribunal concreto, su buscador propio. perfil elige las fuentes ("salud" añade INVIMA y Supersalud; "mineria", la ANM) y el orden; si pasas fuentes, esa lista manda y el perfil solo ordena. limite es POR fuente, así que el total puede multiplicarse. El estado de SUIN es el de su ficha, copiado tal cual. Cuando la fuente sirve su texto, cada resultado trae "Para leer", la llamada lista a obtener_documento. Una fuente caída se declara como fallo, no como vacío.

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": {
      "texto": "<texto>"
    },
    "name": "buscar_unificado"
  }
}

Input Schema

NameRequiredDescriptionDefault
textoYesTérminos a buscar, ej. "teletrabajo"
limiteNoCuántos resultados por fuente (máximo 30)
perfilNoPerfil sectorial: prioriza la fuente que mejor responde a ese sector (tributario → DIAN; salud → INVIMA y Supersalud; mineria → ANM)
formatoNoSalida: "markdown" (texto legible, por defecto) o "json" (un objeto con fecha_consulta, alcance, texto, resultados, sin_resultados, fallidas y avisos, sin cabecera ni pie)markdown
fuentesNoFuentes a consultar; sin él se usan todas menos DIAN (que va con perfil=tributario)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.1
    • addedInput schema / properties / formato
      Added value: +{
      +  "default": "markdown",
      +  "description": "Salida: \"markdown\" (texto legible, por defecto) o \"json\" (un objeto con fecha_consulta, alcance, texto, resultados, sin_resultados, fallidas y avisos, sin cabecera ni pie)",
      +  "enum": [
      +    "markdown",
      +    "json"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv1.13.0
    • changedInput schema / properties / fuentes / items / enum
      Previous value: -[
      -  "gestor",
      -  "corte",
      -  "suin",
      -  "dian"
      -]New value: +[
      +  "gestor",
      +  "corte",
      +  "suin",
      +  "dian",
      +  "invima",
      +  "supersalud",
      +  "anm"
      +]
    • changedInput schema / properties / perfil / description
      Previous value: -"Perfil sectorial: prioriza la fuente que mejor responde a ese sector (tributario → DIAN)"New value: +"Perfil sectorial: prioriza la fuente que mejor responde a ese sector (tributario → DIAN; salud → INVIMA y Supersalud; mineria → ANM)"
    • changedInput schema / properties / perfil / enum
      Previous value: -[
      -  "laboral",
      -  "tributario",
      -  "ambiental",
      -  "contratacion",
      -  "energia"
      -]New value: +[
      +  "laboral",
      +  "tributario",
      +  "ambiental",
      +  "contratacion",
      +  "energia",
      +  "salud",
      +  "mineria"
      +]
  3. Addedv1.11.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description adds non-obvious behavior beyond them: limite is per-source so totals multiply, a failed source is reported as 'fallo' rather than empty, SUIN status is copied verbatim from its ficha, and each result carries a ready 'Para leer' call to obtener_documento.

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, then routing, then parameter nuances and output behavior. Every sentence carries information, though the routing sentence is somewhat run-on with nested clauses and could be split for readability.

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?

Despite having no output schema, the description explains result shape (source, link, 'Para leer' call), failure handling, and the json envelope fields. Combined with 100% schema coverage, an agent has everything needed to invoke and interpret this tool.

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 baseline is 3, but the description adds real meaning: the perfil/fuentes interaction rule (if fuentes is passed, that list wins and perfil only orders) is not derivable from the schema, nor is the per-source semantics of limite. It does not, however, add syntax examples beyond the schema's own.

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?

Names a specific verb (busca en paralelo) and enumerates the concrete resources (Gestor Normativo, Corte Constitucional, SUIN-Juriscol, DIAN) plus the aggregation behavior (fuente y enlace). It also explicitly distinguishes itself from sibling tools resolver_cita and the per-tribunal searchers.

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 an explicit when-to-use trigger (consulta abierta o por materia, sin herramienta obvia) and names the alternatives with their selecting conditions (cita exacta → resolver_cita; tribunal concreto → su buscador propio). Routing is unambiguous.

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