Skip to main content
Glama

Better Llama — Chile, Colombia, Peru and Mexico data

TRM de Colombia: tasa de cambio oficial peso colombiano / dólar (COP/USD)

colombia_trm
Read-onlyIdempotent

Devuelve la Tasa Representativa del Mercado (TRM) de Colombia, la tasa de cambio oficial de pesos colombianos por dólar (COP/USD) certificada por la Superintendencia Financiera de Colombia, vía el Portal de Datos Abiertos datos.gov.co (sin clave). Sin argumentos: la TRM vigente más reciente. date (AAAA-MM-DD): la TRM vigente ese día (la de fin de semana o festivo es la certificada el día hábil anterior y rige varios días). fromDate/toDate: todas las TRM cuya vigencia cae en el rango, de la más reciente a la más antigua (máximo 400 filas). Cada fila: date_from, date_to (vigencia) y value_cop_per_usd. / Colombia official COP/USD exchange rate (TRM).

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": "colombia_trm"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDía (AAAA-MM-DD): devuelve la TRM vigente ese día. No combinar con fromDate/toDate.
toDateNoHasta (AAAA-MM-DD), inclusive.
fromDateNoDesde (AAAA-MM-DD), para un rango de TRM.
maxItemsNoMáximo de resultados a devolver (1-400). Por defecto 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the read-only, idempotent, open-world annotations, it adds useful behavior: no API key is required, data comes from datos.gov.co, weekend/holiday TRMs carry over from the prior business day, results are sorted newest-first, and ranges are capped at 400 rows. It does not cover error behavior or rate limits, but the description adds meaningful context beyond 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, then covers parameter modes and output shape in a compact block. The closing English one-liner is somewhat redundant after the Spanish description, but it is brief and does not obscure the main content.

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 still explains the returned row fields, date validity semantics, default behavior, sorting, and the 400-row cap. That is complete enough for an agent to call the tool correctly across all parameter modes.

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 already 100%, but the description adds value by explaining the special validity semantics for date, including weekend/holiday carryover, and by describing range ordering and the returned row fields. This goes beyond the parameter descriptions in the schema.

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 description states a specific verb and resource: it returns Colombia's official TRM COP/USD exchange rate, names the certifying authority and data source, and explains default and filtered modes. No sibling covers the same resource, so the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly explains the three usage modes: no arguments for the latest TRM, date for a specific day, and fromDate/toDate for a range. It does not explicitly name alternatives or state exclusions beyond the schema note not to combine date with a range, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources