Skip to main content
Glama

fx_matrix

Read-only

Cross-rate matrix for 2-12 currencies — Full cross-rate table for a set of currencies on the latest day or a past date: matrix[A][B] = units of B per 1 unit of A. Frankfurter blended daily reference rates (~160 fiat currencies plus major crypto and precious metals; free for commercial use); weekends and holidays fall back to the latest earlier rate. Params: currencies (2-12 codes, comma list, e.g. USD,EUR,GBP,JPY); optional date (YYYY-MM-DD). Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currencies": "<currencies>"
    },
    "name": "fx_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
currenciesYesUSD,EUR,GBP,JPY

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description adds substantive behavior the agent cannot get elsewhere: the upstream source (Frankfurter blended daily reference rates, ~160 fiat plus crypto and metals), the weekend/holiday fallback to the latest earlier rate (critical for interpreting results on non-trading days), and an explicit $0.002 USDC cost via x402. Cost disclosure and rate-staleness behavior are exactly the kind of traits that change invocation decisions.

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?

The core definition and cell semantics are front-loaded in the first clause, followed by source, fallback behavior, parameters, and price in a logical order. It is dense but nearly every clause carries operational information; only the "free for commercial use" licensing aside is marginal for tool selection.

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 no output schema, the description correctly takes on the burden of explaining the return shape (matrix indexed [A][B]) plus interpretation caveats like holiday fallback. The one material gap is the described-but-absent date parameter, which leaves the agent unclear whether historical matrices are actually supported by this endpoint.

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% but the only schema hint is an example string, so the description's "2-12 codes, comma list" adds a real constraint (cardinality and delimiter) the schema does not encode. The deduction is for the described "optional date (YYYY-MM-DD)" parameter, which does not appear in the input schema at all — an agent relying on the description may pass a field the tool does not accept.

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 resource and operation: a cross-rate matrix over 2-12 currencies, and even defines the cell semantics (matrix[A][B] = units of B per 1 unit of A). That is far more precise than a name restatement. It stops short of naming a sibling (e.g. fx_rate or fx_convert_historical) to differentiate a single-pair lookup from a full table, so it is not 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?

"for a set of currencies on the latest day or a past date" implies when the bulk-table form is appropriate versus a single conversion, and the 2-12 bound implicitly excludes one-currency use. However, no alternative tool is named and no explicit when-not condition is given; the agent must infer that fx_rate/fx_convert_historical cover the single-pair case.

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.

Resources