Skip to main content
Glama

Banrep Co Exchange Rates

banrep_co_exchange_rates
Read-onlyIdempotent

Banco de la República representative market exchange rate (TRM): Colombian pesos per US dollar, the official reference rate. Latest by default, or a single "date", or start_date/end_date (max 366 days). The TRM is set for the days it is in force: each date carries the rate in force on it (the weekend rate is the Friday-set value), and the latest value can run through the next few days. "currency" accepts only USD; any other code is an error. A range with no data returns count 0 with an empty_reason.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "end_date": "2026-11-13",
      "start_date": "2026-11-02"
    },
    "name": "banrep_co_exchange_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOne date, YYYY-MM-DD.
currencyNoOnly "USD" (the TRM is pesos per US dollar); may be omitted.
end_dateNoRange end, YYYY-MM-DD (default today).
start_dateNoRange start, YYYY-MM-DD (default 7 days before end_date).

Output Schema

NameRequiredDescriptionDefault
noteNo
countNo
quoteNo
sourceNo
currencyNo
requestedNo
data_as_ofNo
empty_reasonNo
observationsNo
latest_observationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds substantive semantics on top: the TRM applies to the days it is in force, weekend values reflect the Friday-set rate, the latest value can run through the next few days, and ranges with no data return count 0 with an empty_reason. The USD-only error condition is also disclosed. This is behavior an agent could not recover from annotations or the schema.

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 definition and then moves through modes, semantics, and error handling in a logical order with no filler. The in-force-date explanation is slightly dense, but each clause carries information an agent needs to interpret results correctly.

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?

An output schema exists, so return values need not be spelled out, and the description still flags the empty-range case with count 0 and empty_reason. For a zero-required-parameter, four-field read tool, nothing an agent needs in order to call it or interpret a result is missing.

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%, so the baseline is 3, and the description goes beyond it by explaining the 366-day cap on the range and the in-force-date semantics that govern what a given date returns. The currency restriction is restated from the schema, which adds little, but the range constraint is genuine added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 the Banco de la República representative market exchange rate (TRM), Colombian pesos per US dollar, defined as the official reference rate. The resource is distinct from siblings such as banrep_co_policy_rate and banrep_co_series_list, but the description never explicitly contrasts itself with them, so an agent must infer the distinction from the resource name alone.

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 lays out the three invocation modes — latest by default, a single date, or start_date/end_date — and gives the 366-day range ceiling, which tells an agent how to shape a valid call. It does not explicitly say when to prefer this over the sibling policy-rate or series tools, so the guidance is contextual rather than comparative.

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.