Skip to main content
Glama

Banxico — Mexico CPI / INPC Inflation

banxico.inflation.cpi
Read-onlyIdempotent

Retrieves Mexico's INPC consumer price index for a current month or historical range, enabling inflation tracking and deflation of peso-denominated series.

Instructions

Get the Mexico INPC (Índice Nacional de Precios al Consumidor) consumer price index (serie SP1, base Jul 2018 = 100). The INPC is the official inflation indicator produced by INEGI and published by Banxico. Returns the latest monthly index value or a historical range. Use this to track Mexican inflation trends or deflate peso-denominated series. Source: Banco de México SIE, official government data.

Input Schema

NameRequiredDescriptionDefault
end_dateNoEnd date for historical range in YYYY-MM-DD format (e.g. 2026-06-30). Required when start_date is provided.
start_dateNoStart date for historical range in YYYY-MM-DD format (e.g. 2026-01-01). Omit for latest observation only.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.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/non-destructive/openWorld, so the safety profile is covered. The description adds genuine context beyond that: data provenance (Banxico SIE, INEGI-produced official statistic), the exact series identifier and index base, and the fact that the call returns either the latest monthly observation or a range. Auth/rate-limit behavior is not mentioned, but this is largely public data.

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-loads the key identity (what index, which series, which base) and stays to four sentences. There is mild redundancy between "official inflation indicator produced by INEGI and published by Banxico" and the closing "Source: Banco de México SIE, official government data," which repeats the provenance point.

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-value shape need not be explained, and the description supplies the series code, base period, source and range behavior an agent needs to call it confidently. Only minor items such as publication frequency/update cadence are absent.

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 start_date and end_date are already fully documented, including the 'omit for latest observation only' rule. The description's phrase "Returns the latest monthly index value or a historical range" restates that behavior without adding syntax or format detail, so the baseline 3 applies.

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 (Mexico INPC consumer price index, series SP1, base Jul 2018 = 100) and names the producing institutions, so it is immediately distinguishable from sibling inflation tools such as bls.macro.cpi, oecd.economy.inflation or ecb-rates.macro.hicp_inflation. The scope (latest value or historical range) is explicit.

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?

"Use this to track Mexican inflation trends or deflate peso-denominated series" gives clear situational context for invoking it. It does not, however, name an alternative or state when-not to use it (e.g. when a different Banxico series or another country's CPI tool would be preferred), so it stops short of full routing guidance.

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

Deploy Server

Other Tools