Skip to main content
Glama
mcp-mx-economy

mcp-mx-economy

by JEHH97

Mexican peso FIX exchange rate

mx_fix_rate

Retrieves the Banxico FIX exchange rate: current value or a historical range between start and end dates. Use it to convert or compare MXN against USD over time.

Instructions

Get the latest Banxico FIX exchange rate or a historical date range.

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_fix_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoRange end in YYYY-MM-DD; supply with startDate.
startDateNoRange start in YYYY-MM-DD; supply with endDate.

Output Schema

NameRequiredDescriptionDefault
unitNo
titleYes
sourceYes
seriesIdYes
observationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does signal that omitting arguments returns the latest rate, which is genuine behavioral context, but it says nothing about authentication, rate limits, timezone/currency conventions, or what happens when only one date is supplied.

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 waste; the core capability and its two modes are conveyed immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, for a tool with no annotations, the description should at minimum state the default behavior with zero arguments and the handling of a single supplied date; those gaps leave the definition only minimally adequate.

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 schema already documents both date parameters and their pairing rule. The description adds a little framing by presenting the parameters as defining a range vs. a latest-value mode, but adds no format or edge-case detail beyond the schema.

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?

The description uses a specific verb and resource ("Get ... Banxico FIX exchange rate") and states the two modes of operation: latest value or a historical range. It does not explicitly differentiate itself from the nearby mx_banxico_series or mx_target_rate siblings, so it falls short of a 5.

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?

The two modes hint at when each applies (no parameters for the latest, a date range for history), but the description never says so explicitly and gives no guidance on choosing this over mx_banxico_series or mx_target_rate. Usage 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.