Skip to main content
Glama
Angelthebestone

Normativa Colombia MCP

Buscar resoluciones de la CREG (energía y gas)

buscar_resoluciones_creg

Search CREG resolutions by year, keyword, or status to find Colombian energy and gas rules on tariffs, connection, solar plants, and natural gas.

Instructions

Resoluciones de la Comisión de Regulación de Energía y Gas: tarifas, conexión, comercialización, plantas solares y gas natural. Es la ÚNICA fuente sectorial cuyo texto se puede leer aquí (obtener_documento con fuente="creg") y la única que publica una señal de vigencia, en compilaciones separadas de no derogadas y derogadas; esa señal se traslada literal, no la conviertas en un sí o un no. Para leyes o decretos nacionales de otros sectores usa resolver_cita.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anioNoAño de cuatro dígitos, desde 1994. SIN ÉL solo se mira el año en curso, que trae muy pocas.
textoNoFiltra por número, año o epígrafe. Ej.: "solar", "gas natural", "101-104"
limiteNoCuántas resoluciones mostrar (hasta 50)
compilacionNo"vigentes" = las que la CREG lista como no derogadas expresamente ni anuladasvigentes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.2
    • addedInput schema / properties / limite / description
      Added value: +"Cuántas resoluciones mostrar (hasta 50)"
  2. Addedv1.9.0

TDQS

A4.3/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 that this is the only sectoral source whose text is readable here, that it is the only one publishing a vigencia signal, that the signal comes in separate compilations (vigentes vs derogadas), and warns not to reduce that signal to a boolean. Missing auth/rate-limit or return-shape notes, but the behavioral quirks disclosed are substantive.

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 the resource scope, then the differentiating traits, then the routing instruction. Dense with useful caveats and no filler, though the parenthetical about how to interpret the vigencia signal is a touch long.

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 a 4-param search tool with no output schema and no annotations, it covers scope, sibling routing, and the key vigencia caveat. An agent has enough to call it correctly; only return format details are absent, which is a minor gap.

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 100%, so all four parameters are already documented, including the compilacion enum and the anio default behavior. The description adds the meaning of the vigencia signal in the results, but does not extend parameter syntax beyond the schema. Baseline 3 is correct when the schema does the heavy lifting.

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 (buscar) and resource (resoluciones de la CREG) with the topical scope spelled out (tarifas, conexión, comercialización, plantas solares, gas natural). It also distinguishes itself from siblings by naming resolver_cita and referencing obtener_documento, so an agent can tell it apart without opening any 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?

Explicitly routes the agent: 'Para leyes o decretos nacionales de otros sectores usa resolver_cita,' and points to obtener_documento(fuente="creg") as the way to read full text. This is clear when-to-use and when-to-use-something-else guidance.

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