Skip to main content
Glama

Cotización del BCU de un día

cotizacion
Read-onlyIdempotent

Retrieve official Banco Central del Uruguay exchange rates (USD, UI, ARS, BRL) for a given date, with optional fallback to the previous business day for weekends and holidays.

Instructions

Cotización oficial del Banco Central del Uruguay, en pesos uruguayos, para una fecha AAAA-MM-DD.

Monedas: USD (dólar billete), UI (Unidad Indexada), ARS (peso argentino billete), BRL (real billete). Fines de semana y feriados no tienen publicación: con hacia_atras=true se usa el último día hábil previo (hasta 7 días) y la respuesta dice qué día se usó.

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": {
      "moneda": "<moneda>",
      "fecha": "<fecha>"
    },
    "name": "cotizacion"
  }
}

Input Schema

NameRequiredDescriptionDefault
fechaYes
monedaYes
hacia_atrasNo

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
bajadoYes
fuenteYes
monedaYes
nombre_bcuYes
fecha_pedidaYes
copia_vencidaNo
valor_en_pesosYes
fecha_cotizacionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive, so the safety profile is covered. The description genuinely adds beyond that by disclosing the no-publication-on-holidays behavior and the 7-day lookback limit, but it says nothing about error behavior when no rate exists within the window, nor about response shape beyond the one 'which day was used' note.

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?

Three tight lines: resource and format first, then the accepted currencies, then the exception behavior. No filler and no repetition of what the schema already encodes.

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 no explanation, and the description still flags that the response identifies the day actually used. For a three-parameter, single-value lookup, nothing an agent needs in order to call it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the burden and does so: it fixes the date format (AAAA-MM-DD), disambiguates the enum values by type ('dólar billete', 'real billete', 'Unidad Indexada'), and explains hacia_atras including its default-free semantics and the 7-day bound. This is meaning an agent cannot get from the bare schema.

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 resource (official BCU exchange rate in Uruguayan pesos) and scope (a single date, one of four currencies), which is far more precise than the bare name 'cotizacion'. It does not, however, explicitly distinguish itself from the sibling 'cotizacion_mensual', leaving the daily-vs-monthly distinction to be inferred from 'para una fecha'.

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 gives clear conditional guidance for the tricky case: weekends and holidays have no publication, and hacia_atras=true retrieves the prior business day within a 7-day window. What is missing is any statement about when to prefer this tool over the monthly sibling or when not to use the fallback.

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