Skip to main content
Glama
banguat-mcp

banguat-mcp

by ottooniel

Serie del dólar desde una fecha

tipo_cambio_desde
Read-onlyIdempotent

Fetch the USD/GTQ exchange-rate series from a start date, optionally through an end date, with automatic daily, weekly, or monthly grouping for historical trend analysis.

Instructions

Devuelve la serie del dólar (USD/GTQ), agregada, desde fecha_inicial. Sin fecha_final usa TipoCambioFechaInicial (hasta el día corriente). Con fecha_final usa TipoCambioRango. Sirve para historial y tendencia del dólar, no para otras monedas. La respuesta trae resumen y solo los puntos ya agrupados.

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": {
      "fecha_inicial": "<fecha_inicial>"
    },
    "name": "tipo_cambio_desde"
  }
}

Input Schema

NameRequiredDescriptionDefault
agrupacionNoauto usa diaria hasta 62 puntos, semanal hasta cerca de un año y mensual en tramos más largos.
fecha_finalNoFecha final inclusive, YYYY-MM-DD, igual o posterior a fecha_inicial. Si se omite en la serie del dólar, llega hasta el día corriente.
fecha_inicialYesFecha inicial inclusive, en formato YYYY-MM-DD. No puede ser futura (hora de Guatemala).

Output Schema

NameRequiredDescriptionDefault
serieYes
resumenYes
agrupacionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint), and the description adds real behavior beyond them: the two different upstream endpoints selected by whether fecha_final is present, and the fact that the response carries a resumen plus only pre-grouped points. That last point warns the agent it will not receive raw daily values when a coarser grouping applies.

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 with the core capability front-loaded and the routing rule immediately after. Every sentence carries information, though the closing sentence about the response is slightly compressed and would read more clearly as a statement about grouping granularity.

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?

For a three-parameter read-only series tool with full schema coverage, annotations, and an output schema, the definition covers what is needed: what it returns, which endpoint path is taken, the currency restriction, and the grouped-output caveat. No essential calling information is missing.

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 description coverage is 100%, so the schema already documents the format and validity rules for fecha_inicial, fecha_final, and the agrupacion enum, making 3 the baseline. The description adds only marginal semantics, notably that the response contains points "ya agrupados", which reinforces how agrupacion affects output granularity, but it does not add anything about agrupacion's thresholds beyond what the enum description states.

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?

"Devuelve la serie del dólar (USD/GTQ), agregada, desde fecha_inicial" names a specific verb (devuelve), a specific resource (serie del dólar), and a scope constraint (agregada, desde fecha_inicial). The clause "no para otras monedas" separates it from the currency-generic siblings without the agent needing to open their schemas.

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 use context ("historial y tendencia del dólar") and an explicit exclusion ("no para otras monedas"), which steers the agent away from tipo_cambio_moneda. It also explains the internal routing: without fecha_final it uses TipoCambioFechaInicial, with fecha_final it uses TipoCambioRango. It stops short of naming the sibling tools an agent should pick instead for other currencies or for today's rate.

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