Skip to main content
Glama
banguat-mcp

banguat-mcp

by ottooniel

Convertir un monto

convertir_monto
Read-onlyIdempotent

Convert amounts between a listed currency and Guatemalan quetzals using the current Banco de Guatemala exchange rate in either direction; discontinued currencies are rejected.

Instructions

Convierte un monto entre una moneda del catálogo y quetzales con el tipo de cambio vigente de tipo_cambio_moneda. direccion a_quetzales pasa de esa moneda a quetzales; desde_quetzales hace el camino inverso. El código 2 es el dólar de referencia. Si la moneda está descontinuada, no convierte.

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": {
      "monto": "<monto>",
      "codigo": "<codigo>",
      "direccion": "<direccion>"
    },
    "name": "convertir_monto"
  }
}

Input Schema

NameRequiredDescriptionDefault
montoYesCantidad a convertir, mayor que cero.
codigoYesCódigo numérico de la moneda, el campo moneda de monedas_disponibles. Ejemplo: 2 dólar, 24 euro.
direccionYesa_quetzales pasa de esa moneda a quetzales. desde_quetzales pasa de quetzales a esa moneda.

Output Schema

NameRequiredDescriptionDefault
fechaYes
montoYes
codigoYes
nombreYes
resultadoYes
descontinuadaYes
quetzales_por_unidadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the bar is lower, yet the description still adds valuable behavior: the rate comes from tipo_cambio_moneda at the current rate and discontinued currencies fail to convert. It does not discuss rounding or precision of the converted value.

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?

Four short sentences, front-loaded with the core action and scope; sentence two mildly duplicates the direccion enum description already in the schema, but nothing is padded.

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?

With an output schema present, return values need no explanation, and the description covers rate source, direction semantics, and one failure mode. Rounding behavior and the link to monedas_disponibles for currency codes are left implicit.

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% and the description largely restates what the schema already says about direccion and the codigo=2 example, adding only that code 2 is the reference dollar. Baseline 3 applies since the schema carries the parameter documentation.

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 and resource (convert an amount between a catalog currency and quetzales) plus the rate source (tipo_cambio_moneda), which separates it from sibling tools that only report rates.

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?

Explains the two conversion directions and names the rate tool it depends on, which implicitly routes rate-lookup-only requests elsewhere; no explicit exclusions or when-not guidance are given.

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