Skip to main content
Glama
Normativa Colombia MCP

Normativa Colombia MCP

Buscar normas en el Gestor Normativo

buscar_normas
Read-onlyIdempotent

Search Colombian public-sector laws, decrees, resolutions, concepts, and court rulings using distinctive keywords, entity, year, number, or topic.

Instructions

Busca leyes, decretos, resoluciones, conceptos y sentencias del sector público colombiano. IMPORTANTE: el buscador del portal indexa solo los resúmenes temáticos, NO el articulado completo, y une los términos con OR. Usa pocas palabras y muy distintivas. Para buscar dentro del texto de una norma concreta, usa obtener_documento con fuente="gestor" y buscar_en_texto. Para una cita exacta, usa resolver_cita.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "buscar_normas"
  }
}

Input Schema

NameRequiredDescriptionDefault
anioNoAño de cuatro dígitos, como texto. Ej.: "2004"
temaNoNombre del tema, o su id de listar_catalogos con prefijo: "tema-24457"
limiteNo
numeroNoNúmero de la norma, como texto. Ej.: "909"
entidadNoNombre o id: "Corte Constitucional", "Congreso de la República"
subtemaNoid de listar_catalogos con catalogo="subtemas" y prefijo ("sub-38968"), o su nombre si además indicas tema. El "ts-" de buscar_por_tema no vale aquí.
palabrasNoTérminos distintivos; evita frases largas
tipo_documentoNoNombre o id del catálogo de tipos del Gestor: "Ley", "Decreto", "Resolución", "Concepto". Uno que no esté se rechaza con la lista, sin buscar

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • changedInput schema / properties / tipo_documento / description
      Previous value: -"Nombre o id: \"Ley\", \"Decreto\", \"Sentencia\", \"Concepto\""New value: +"Nombre o id del catálogo de tipos del Gestor: \"Ley\", \"Decreto\", \"Resolución\", \"Concepto\". Uno que no esté se rechaza con la lista, sin buscar"
  2. Changed1 schema field changedv1.11.2
    • changedInput schema / properties / subtema / description
      Previous value: -"id de listar_subtemas con prefijo (\"sub-38968\"), o su nombre si además indicas tema. El \"ts-\" de buscar_por_tema no vale aquí."New value: +"id de listar_catalogos con catalogo=\"subtemas\" y prefijo (\"sub-38968\"), o su nombre si además indicas tema. El \"ts-\" de buscar_por_tema no vale aquí."
  3. Changed2 schema fields changedv1.9.0
    • changedInput schema / properties / subtema / description
      Previous value: -"subtemaid de listar_subtemas, o su nombre si además indicas tema. NO sirve el temsubid de buscar_por_tema."New value: +"id de listar_subtemas con prefijo (\"sub-38968\"), o su nombre si además indicas tema. El \"ts-\" de buscar_por_tema no vale aquí."
    • changedInput schema / properties / tema / description
      Previous value: -"Nombre o id de tema del catálogo"New value: +"Nombre del tema, o su id de listar_catalogos con prefijo: \"tema-24457\""
  4. First observedv1.6.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent profile, and the description adds genuinely non-obvious retrieval behavior: the portal indexes only thematic summaries rather than the full articulado, and terms are combined with OR. That directly changes how an agent should formulate a query, which is exactly the kind of context annotations cannot carry.

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-loads the purpose, then flags the critical indexing caveat with IMPORTANTE, then gives the two routing alternatives. Dense but every sentence earns its place; slightly crowded by the two consecutive alternative sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter search tool with no output schema and no required parameters, the description covers the essential trap (summary-only index, OR semantics) and the routing to obtener_documento/resolver_cita. It does not describe result shape or ordering, but annotations and the rich schema cover most of the remaining ground.

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 88%, so the schema documents almost every parameter (anio pattern, tema/subtema id prefixes, tipo_documento rejection behavior). The description only adds the OR/few-distinctive-words guidance for palabras, so baseline 3 is appropriate.

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 (busca) plus the exact resources (leyes, decretos, resoluciones, conceptos, sentencias) and scopes them to the Colombian public sector, which cleanly separates it from the jurisprudence- and sector-specific 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?

Explicitly routes to alternatives by condition: obtener_documento with fuente="gestor" y buscar_en_texto for full-text search inside a norm, and resolver_cita for exact citations. It also tells the agent how to query (pocas palabras y muy distintivas), which is actionable usage guidance.

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