Skip to main content
Glama
banguat-mcp

banguat-mcp

by ottooniel

Tipo de cambio de una moneda

tipo_cambio_moneda
Read-onlyIdempotent

Converts Banguat currency exchange rates to Guatemalan quetzals, handling both units-per-USD and USD-per-unit quotes for accurate currency conversion.

Instructions

Convierte a quetzales el tipo de cambio de una moneda del catálogo del Banguat (operación Variables, cotizada contra el dólar). Códigos 9, 24 y 26 (libra, euro, DEG) vienen en USD por 1 unidad; el resto, en unidades por 1 USD. El código 2 usa la referencia del dólar del día. El código 1 (quetzal) no aplica. Para el dólar de hoy también puedes usar tipo_cambio_hoy.

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": {
      "codigo": "<codigo>"
    },
    "name": "tipo_cambio_moneda"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigoYesCódigo numérico de la moneda, el campo moneda de monedas_disponibles. Ejemplo: 2 dólar, 24 euro.

Output Schema

NameRequiredDescriptionDefault
fechaYesFecha de la cotización, YYYY-MM-DD
ventaYes
codigoYesCódigo de monedas_disponibles
compraYes
nombreYesNombre de la moneda en el catálogo del Banguat
convencionYes
referenciaYes
descontinuadaYes
cotizacion_usdYesCifra publicada por el Banguat, cotizada contra el dólar
nombre_singularYesNombre en singular para el texto
fecha_referenciaYesFecha de la referencia USD usada para convertir a quetzales
quetzales_por_unidadYesQuetzales por 1 unidad de esa moneda

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare read-only, idempotent and open-world behavior, so the description adds the essential semantics: codes 9, 24 and 26 are quoted in USD per unit while the rest are in units per USD, code 2 uses the day's dollar reference, and code 1 is invalid. That quoting-direction disclosure is exactly what an agent needs to interpret the result correctly and is not available from any structured field.

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?

Four short sentences, front-loaded with the operation and followed by the exceptions in order of relevance. No filler wording; every clause carries operational information.

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?

The tool has one required parameter and an output schema, so return formatting need not be described. The description covers the data source, quoting conventions, edge cases and the sibling alternative, leaving no correctness-relevant gap for a single-parameter read tool.

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?

Schema coverage is 100%, so baseline would be 3, but the description goes well beyond the schema by explaining how the meaning of the coefficient changes per currency code and which codes are special or invalid. This converts an opaque integer parameter into an interpretable one.

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?

A specific verb ('Convierte a quetzales') plus a precisely scoped resource: the exchange rate of a currency from the Banguat catalog, quoted against the dollar. It also names the sibling tipo_cambio_hoy as the alternative for today's dollar, so an agent can distinguish it without opening another schema.

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 explicit exclusions ('El código 1 (quetzal) no aplica') and a routing hint ('Para el dólar de hoy también puedes usar tipo_cambio_hoy'). It does not cover when to prefer tipo_cambio_moneda_rango or tipo_cambio_desde, but the conditions it does state are concrete.

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