Skip to main content
Glama

Better Llama — Chile, Colombia, Peru and Mexico data

Indicadores del Banco de México (Banxico): tipo de cambio FIX, UDIS, TIIE, tasa objetivo e inflación

mexico_banxico_indicators
Read-onlyIdempotent

Devuelve indicadores oficiales del Banco de México (Banxico, API del SIE): tipo de cambio FIX (pesos por dólar), valor de la UDI, TIIE a 28, 91 y 182 días, TIIE de fondeo, tasa objetivo de política monetaria e inflación anual del INPC. indicators: uno o más de fix, udis, tiie_28, tiie_91, tiie_182, tiie_fondeo, tasa_objetivo, inflacion_anual. Sin fechas (o date="latest"): el último valor vigente hoy (hora de Ciudad de México); si Banxico ya publicó un valor futuro (p. ej. UDIS por adelantado) va en published_ahead. date (AAAA-MM-DD): el valor vigente ese día (último publicado en o antes de esa fecha). fromDate/toDate: la serie en el rango, del dato más reciente al más antiguo. Fecha ISO y valor numérico. No requiere clave. / Bank of Mexico (Banxico) official indicators: FIX MXN/USD exchange rate, UDIS, TIIE, policy target rate and annual inflation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mexico_banxico_indicators"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDía (AAAA-MM-DD): valor vigente ese día; o "latest" (por defecto) para el último. No combinar con fromDate/toDate.
toDateNoHasta (AAAA-MM-DD), inclusive. Por defecto hoy (hora de Ciudad de México).
fromDateNoDesde (AAAA-MM-DD), para una serie. Por defecto 30 días antes de toDate. Máximo 2 años con series diarias (30 años solo con inflacion_anual).
maxItemsNoMáximo de resultados a devolver (1-1000). Por defecto 100.
indicatorsNoIndicadores: fix = Tipo de cambio FIX (pesos por dólar E.U.A., fecha de determinación) (SF43718); udis = Valor de la UDI (Unidad de Inversión) (SP68257); tiie_28 = TIIE a 28 días (fecha de determinación) (SF60648); tiie_91 = TIIE a 91 días (fecha de determinación) (SF60649); tiie_182 = TIIE a 182 días (SF111916); tiie_fondeo = TIIE de fondeo a un día hábil bancario (mediana ponderada por volumen) (SF331451); tasa_objetivo = Tasa objetivo de política monetaria del Banco de México (SF61745); inflacion_anual = Inflación anual: INPC, variación % anual (SP30578). Por defecto ["fix"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real context beyond them: no API key required, Mexico City timezone basis, the published_ahead field for advance-published values, and newest-to-oldest ordering of results.

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?

Front-loaded with the purpose and the return payload, then the temporal semantics. The bilingual duplication of the title line is somewhat redundant, but every sentence in the Spanish body 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?

For a five-parameter, no-required-field read tool without an output schema, the description still states the return shape ('Fecha ISO y valor numérico') and covers all temporal modes, defaults and edge cases an agent needs to call it correctly.

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 baseline is 3, but the description adds meaning the schema does not: defaulting behavior for missing dates, how a future-published value is surfaced via published_ahead, and the ordering of returned series. It omits only range-limit details (2 years / 30 years for inflation), which the schema does carry.

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 ('Devuelve indicadores oficiales del Banco de México (Banxico, API del SIE)') and enumerates the exact indicators returned (FIX, UDI, TIIE 28/91/182, fondeo, tasa objetivo, inflación). This makes it unambiguous versus the sibling tools for Chile, Colombia and Peru.

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?

Explicitly explains the three usage modes: no dates/latest for today's value, a single date for the value in force that day, and fromDate/toDate for a series. It does not name an alternative tool or state when NOT to use it, so it falls short of a 5.

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.

Resources