Skip to main content
Glama

INPC México

Server Details

Mexico's consumer price index (INPC, INEGI), inflation between months and the Art. 17-A tax factor.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: consulting a raw INPC value, computing a generic variation/cociente, and computing the fiscal Art. 17-A update factor. The descriptions explicitly distinguish the fiscal calculation from the non-fiscal variation calculation, preventing misselection.

Naming Consistency5/5

All three names follow a consistent Spanish verb_noun pattern using infinitives: calcular_factor_actualizacion_fiscal, calcular_variacion_inpc, consultar_inpc. The naming is predictable and readable throughout.

Tool Count5/5

Three tools are well-scoped for a narrow INPC calculation server, with each tool covering a distinct operation. There is no unnecessary padding or obvious missing companion operation within this focused scope.

Completeness4/5

The surface covers the core needs: fetching a monthly INPC, computing inflation/variation between months, and applying the fiscal update factor. Minor gaps exist, such as retrieving a full historical series or batch ranges, but these can be worked around with repeated calls.

Available Tools

3 tools
calcular_factor_actualizacion_fiscalFactor de actualización fiscal (Art. 17-A CFF)A
Read-onlyIdempotent
Inspect

Calcula el factor de actualización de una contribución, devolución o saldo pagado fuera de plazo, aplicando el Art. 17-A del CFF: usa el INPC del mes anterior a cada extremo del periodo, el último INPC publicado si el que toca aún no sale, trunca al diezmilésimo y aplica el piso de 1. Con importe, devuelve también el importe actualizado. No calcula recargos.

NameRequiredDescriptionDefault
importeNoImporte en pesos a actualizar (opcional).
mes_de_pagoYesMes en que se paga o se recibe la devolución, AAAA-MM.
mes_en_que_debio_pagarseYesMes en que vencía el pago (o en que nació el saldo a favor), AAAA-MM.

TDQS

A4.1/5.0
Behavior3/5

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

The description adds real behavior beyond the safety annotations: which INPC months are used at each endpoint, the fallback to the last published INPC, truncation to four decimals, and the floor of 1. With readOnly/idempotent/destructive already covered by annotations, these domain rules are the added value, though the response shape and edge-case behavior (e.g. inverted period) remain unstated.

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?

A single dense sentence, front-loaded with the action and legal reference, with the exclusion clause last. Every clause carries information, though the mid-sentence enumeration of rules is packed and would read better as short ordered statements.

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?

For a read-only pure-calculation tool with three documented parameters, all the computational rules an agent needs are present, and the description even hints at the return value when importe is supplied. Missing only the concrete output shape and behavior for invalid or inverted periods, which matters little given there is no output schema.

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 the baseline is 3, but the description adds meaning the schema does not: it explains that the two month parameters correspond to the INPC of the month preceding each endpoint, and that supplying importe triggers an additional updated-amount result. That mapping is not derivable from the schema alone.

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 ("Calcula el factor de actualización") plus the exact legal basis (Art. 17-A CFF) and the three objects it applies to (contribución, devolución, saldo pagado fuera de plazo). It also carves out what it is not ("No calcula recargos"), which is enough to separate it from the raw INPC siblings.

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?

The description makes clear the situation that selects this tool (late payment, refund, or outstanding balance) and explicitly excludes recargos calculation. It does not name calcular_variacion_inpc or consultar_inpc as the alternatives for raw index data, so routing is implied rather than stated.

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

calcular_variacion_inpcInflación entre dos mesesA
Read-onlyIdempotent
Inspect

Calcula la variación del INPC (inflación acumulada) y el cociente entre dos meses concretos, sin las reglas fiscales del Art. 17-A: sirve para ajustar rentas, pensiones o contratos indexados.

NameRequiredDescriptionDefault
mes_finalYesMes más reciente, AAAA-MM.
mes_inicialYesMes más antiguo, AAAA-MM.

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds the fiscal-scope caveat and hints at the two returned quantities, but says nothing about what happens if the months are inverted or out of range, nor about error behavior.

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?

A single front-loaded sentence: verb, output, scope exclusion, then use cases. Dense but no wasted sentences; the parenthetical and colon chain make it slightly heavy to parse but it stays tight.

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?

For a two-parameter, read-only calculation with full schema coverage and complete annotations, this is close to complete, especially since it names both returned quantities despite there being no output schema. The remaining gap is the unspecified behavior for invalid or inverted month ranges.

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% and both parameters already document the AAAA-MM format and the older/newer ordering. The description only says 'dos meses concretos' and adds no meaning beyond the schema, so the baseline of 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 (calcula) and resource (variación del INPC / inflación acumulada) and explicitly scopes itself against the fiscally-flavored sibling by saying it works 'sin las reglas fiscales del Art. 17-A'. An agent can distinguish it from calcular_factor_actualizacion_fiscal without opening either 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?

Names concrete use cases (ajustar rentas, pensiones, contratos indexados) and implicitly excludes the fiscal-rule variant, which routes the agent to the sibling. It stops short of naming the alternative tool or stating an explicit when-not condition.

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

consultar_inpcConsultar el INPC de un mesA
Read-onlyIdempotent
Inspect

Devuelve el valor del INPC publicado por el INEGI (base 2a quincena de julio de 2018 = 100) de un mes. Sin mes, devuelve el último publicado. Úsalo cuando pregunten «¿cuál es el INPC de agosto de 2026?» o «¿cuál es el último INPC?».

NameRequiredDescriptionDefault
mesNoMes AAAA-MM. Si se omite, el último INPC publicado.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds value beyond that by naming the data source (INEGI), the index base, and the important default that omitting the month returns the most recently published value.

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?

Two tight sentences: the return value and its source/base come first, then the no-argument default, then the trigger examples. No filler, and the most decision-relevant information is front-loaded.

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?

For a single-optional-parameter read tool with full annotations, the description covers source, base, default behavior and invocation triggers. The only omission is what the return value looks like (numeric scalar vs. structured object), which matters slightly since there is no output schema.

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 single 'mes' parameter already documents the AAAA-MM format and the default-to-latest behavior. The description restates the default but adds no format, range, or edge-case detail beyond the schema, so it sits at the baseline for fully documented parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: returns the INPC value published by INEGI for a given month, and pins the index base (2nd half of July 2018 = 100). This clearly separates it from siblings like calcular_variacion_inpc and calcular_factor_actualizacion_fiscal, which compute derived figures rather than the raw index, though the description never names those alternatives explicitly.

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?

Gives explicit trigger phrasing with two concrete example questions ('¿cuál es el INPC de agosto de 2026?' and '¿cuál es el último INPC?'), which maps directly onto the two modes of the tool. It does not state when to prefer a sibling tool instead, so the routing guidance is one-sided.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updates
    • First observedcalcular_factor_actualizacion_fiscal
    • First observedcalcular_variacion_inpc
    • First observedconsultar_inpc

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to query official INEGI indicators such as population, inflation, employment, GDP and IGAE at national, state and municipal level, returning verified values with indicator ID, period, unit, source and last-update date. It also supports comparing the same indicator across states or municipalities and resolving place names to official geographic keys.
    10
    44 PyPI
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables querying Mexico's central bank macroeconomic indicators — policy rate, TIIE 28/91, Cetes 28, and UDIS values — plus UDI-to-peso conversion and inflation variation calculations over date ranges. Use-case-oriented tools batch series requests, cache results, and tolerate asynchronous publication quirks to stay within official API quotas.
    17
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants and agents to query official Mexican economic data from Banxico, including USD/MXN exchange rates, inflation (INPC), UDIS, and interest rates.
    6
    26 PyPI
    6
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources