Skip to main content
Glama
mcp-mx-economy

mcp-mx-economy

by JEHH97

Mexican inflation

mx_inflation

Retrieve the current INPC index and calculate monthly and annual percentage changes to track Mexican inflation.

Instructions

Get the latest INPC index and compute monthly and annual percentage changes.

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": "mx_inflation"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
titleYes
latestYes
sourceYes
seriesIdYes
yearOverYearPercentYes
monthOverMonthPercentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: it returns both the raw index and derived monthly/annual percentage changes, so the agent knows computed values come back rather than raw data alone. Combined with an existing output schema covering the return shape, the remaining behavioral surface is small.

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?

A single front-loaded sentence with zero filler; the verb, resource, and both computed outputs are packed into one clause.

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 zero-parameter tool with an output schema, the description covers what is returned and how it is derived, which is nearly all an agent needs. It could add the data source (INEGI) or the freshness cadence of 'latest', but nothing essential for correct invocation is missing.

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?

The tool takes zero parameters, so the schema has nothing to document and the baseline applies. The description correctly signals that no inputs (date range, frequency) are needed by promising the latest values.

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: retrieves the latest INPC index and computes monthly and annual percentage changes. This is clear enough to distinguish it from raw series tools like mx_banxico_series or mx_inegi_indicator, though it never names or contrasts those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the word 'latest' – an agent can infer this is the go-to tool for current inflation figures rather than historical series, but there is no explicit when-to-use/when-not guidance and no named alternative for historical or component-level inflation data.

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