Skip to main content
Glama
Normativa Colombia MCP

Normativa Colombia MCP

Consultar un perfil sectorial preconfigurado

consultar_perfil
Read-onlyIdempotent

Query Colombian sector-specific regulations in the official source for labor, tax, environmental, state contracting, or energy; returns results with profile limits.

Instructions

Ejecuta la consulta en la ÚNICA fuente que fija cada perfil sectorial: laboral → Gestor Normativo, tributario → DIAN, ambiental → ANLA, contratación estatal → Consejo de Estado, energía → CREG (solo el año en curso). Devuelve una línea por resultado, con el sector y la advertencia del perfil, que declara sus límites. El perfil no admite año, página ni otros filtros: para eso usa la herramienta propia de la fuente (p. ej. buscar_resoluciones_creg con anio). Solo consulta, no guarda nada. NO uses un perfil para lo que no cubre: si la materia es otra, usa buscar_normas o resolver_cita.

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

Input Schema

NameRequiredDescriptionDefault
textoYesConsulta dentro del perfil, ej. "teletrabajo"
limiteNoCuántos resultados devolver (máximo 20; por defecto 10)
perfilYesId del perfil, de describir_fuentes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.14.0
    • changedInput schema / properties / perfil / description
      Previous value: -"Id del perfil: laboral, tributario, ambiental, contratacion_estatal, energia"New value: +"Id del perfil, de describir_fuentes"
    • addedInput schema / properties / perfil / enum
      Added value: +[
      +  "laboral",
      +  "tributario",
      +  "ambiental",
      +  "contratacion_estatal",
      +  "energia"
      +]
  2. Changed1 schema field changedv1.10.2
    • addedInput schema / properties / limite / description
      Added value: +"Cuántos resultados devolver (máximo 20; por defecto 10)"
  3. Addedv1.10.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety bar is low, but the description adds real context: no year/page/filter support, one line per result including sector and the profile's self-declared limits, and 'no guarda nada'. It stops short of describing pagination or result-size behavior beyond the limit param.

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?

Every sentence carries load: source routing, return shape, filter exclusion, and the negative routing rule. Front-loaded with the core action and 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?

No output schema exists, yet the description describes the return format (one line per result with sector and warning). Combined with the source map and exclusion rules, an agent has everything needed to call this correctly versus its siblings.

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% (baseline 3), and the description adds meaning beyond it: it explains what each enum value routes to and where perfil ids come from (describir_fuentes), plus explicitly rules out filter parameters the agent might expect. That mapping is genuine semantic value.

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 (ejecuta la consulta) and resource (perfil sectorial preconfigurado), and pins each perfil value to its authoritative source (laboral→Gestor Normativo, tributario→DIAN, etc.). An agent can distinguish this from the many buscar_* siblings without opening a 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?

Explicit when-not guidance: 'NO uses un perfil para lo que no cubre', with named fallbacks (buscar_normas, resolver_cita) and a named alternative for filtering (buscar_resoluciones_creg con anio). The constraint that the profile accepts no year/page/other filters is stated directly.

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