Skip to main content
Glama
Normativa Colombia MCP

Normativa Colombia MCP

Consultar la vigencia de una norma

consultar_vigencia
Read-onlyIdempotent

Check whether a Colombian law or decree is current, repealed, under review, or compiled using SUIN records, with a confidence level and no invented status.

Instructions

Devuelve el estado de vigencia de una ley o un decreto tal como lo publica la ficha de SUIN: "Vigente", "Derogado", "Vigencia en Estudio", "Compilado" u otro. Añade un nivel de confianza. Alta: la ficha respondió. Baja: no consta, o la fuente no respondió. Nunca inventa el estado. Una sentencia como "C-337/11" no tiene vigencia: se comprueba en la relatoría de la Corte Constitucional si existe. El estado es el de la norma entera, aunque la cita nombre un artículo. Para las reformas de un artículo usa historial_norma; para su texto, resolver_cita. Si la cita no trae año y hay varias candidatas, las lista en vez de elegir. La respuesta empieza con la línea de alcance: qué fuente se consultó y cuál no.

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": {
      "cita": "<cita>"
    },
    "name": "consultar_vigencia"
  }
}

Input Schema

NameRequiredDescriptionDefault
citaYesCita de la norma, ej. "Ley 909 de 2004" o "Decreto 1072 de 2015"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.13.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses the confidence-level output, that the tool never invents the status, that the status applies to the whole norm even when the citation names an article, and that responses open with a scope line naming which sources were consulted. It also explains fallback behavior when the source does not respond (low confidence). These are substantial behavioral details not present in the annotations.

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?

The description is front-loaded with the core purpose and then proceeds through confidence, exceptions, alternatives, and response format. Every sentence carries operational information, but the length is notable for a single-parameter tool; minor condensation (e.g., the confidence-level sentences) could tighten it without losing value.

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?

With no output schema, the description adequately explains what is returned: the SUIN status strings, a confidence level, and a leading scope line. It also covers edge cases (sentencias, missing year, article-specific citations) and the fallback when the source is unresponsive, so an agent has enough context to call and interpret the 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% and the schema already documents the single 'cita' string with examples. The description adds interpretation rules beyond the schema: a citation without a year yields multiple candidates instead of a choice, the status is for the entire norm even if an article is cited, and sentencia citations are out of scope. This adds meaningful semantic guidance, though it does not cover citation syntax exhaustively.

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?

The first sentence states a specific verb and resource: it returns the validity status of a law or decree as published on the SUIN ficha, including the enumerated states. It also distinguishes the tool from siblings by noting that sentencias have no vigencia and must be checked in the Corte Constitucional relatoría, so an agent can tell it apart from resolver_cita or historial_norma.

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 names alternatives and when to use them: 'Para las reformas de un artículo usa historial_norma; para su texto, resolver_cita.' It also gives an exclusion for sentencias like 'C-337/11' and explains that ambiguous citations without a year are listed rather than selected. This is clear when/when-not guidance with named alternatives.

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