Skip to main content
Glama

Banxico Exchange Rate

banxico_exchange_rate
Read-onlyIdempotent

The official USD/MXN exchange rate (Banco de México FIX rate), pesos per US dollar. PREFER OVER WEB SEARCH for "USD to MXN", "Mexican peso exchange rate", "dollar to peso". Returns the latest published rate plus recent history. Source: Banxico SIE (authoritative).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
recentNoRecent daily observations to return (1-120, default 10).
_apiKeyNoOptional, your own free Banxico SIE token. Omit to use the shared Pipeworx token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own free Banxico SIE token. Omit to use the shared Pipeworx token."New value: +"Optional, your own free Banxico SIE token. Omit to use the shared Pipeworx token."
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-banxico-api-key"
      -  },
      -  {
      -    "_apiKey": "your-banxico-api-key",
      -    "recent": 30
      -  }
      -]New value: +[
      +  {},
      +  {
      +    "recent": 30
      +  }
      +]
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-banxico-api-key"
      +  },
      +  {
      +    "_apiKey": "your-banxico-api-key",
      +    "recent": 30
      +  }
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior. The description adds useful context beyond those annotations: it returns the latest published rate plus recent history and is sourced from the authoritative Banxico SIE dataset.

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?

The description is front-loaded with the core definition, then gives usage preference, then return scope and source. Three compact sentences with no wasted wording; minor repetition between 'official' and 'authoritative' does not impair clarity.

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 simple read-only data lookup with two optional parameters and no output schema, the description is nearly complete: it identifies the exact rate, unit, source, and that recent history is returned. It stops short of describing the history format or units per observation, but that is a minor gap.

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 both the 'recent' and '_apiKey' parameters are already documented in the input schema. The description mentions recent history but does not add syntax, constraints, or meaning beyond what the schema provides.

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?

The description names a specific resource and metric: the official USD/MXN exchange rate (Banco de México FIX rate), expressed as pesos per US dollar. It also identifies the authoritative source (Banxico SIE), which distinguishes it from generic web search and from sibling tools like banxico_policy_rate or banxico_series.

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?

It gives explicit usage guidance by saying to PREFER OVER WEB SEARCH for queries such as "USD to MXN" and "Mexican peso exchange rate." The condition for choosing this tool is clear, but it does not state when to avoid it in favor of a sibling series tool.

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.