Skip to main content
Glama

fx_treasury_rates

Read-only

US Treasury reporting exchange rates — The official quarterly US Treasury exchange rates (Treasury Reporting Rates of Exchange) for about 170 currencies: foreign units per US dollar and dollars per unit, with the effective date. Required for converting foreign amounts in US government reporting, customs, grants and some tax filings. Price: $0.002 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
qNooptional country or currency, e.g. Canada or Euro (omit for all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: a paid endpoint at $0.002 USDC on Base via x402, plus the shape of the returned data (foreign units per dollar, dollars per unit, effective date). Pagination and error behavior are unaddressed.

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?

One front-loaded paragraph that opens with the resource, then coverage, then the regulatory use case, then the price. Every sentence carries information; the only minor inefficiency is the denseness of the rate-direction phrasing.

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 one-optional-parameter, read-only lookup with no output schema, the description covers what the data is, how many currencies, what fields come back, and the payment requirement. An agent has enough to call it correctly; only pagination/volume limits and failure modes are absent.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already explains that q accepts a country or currency and can be omitted for all results. The description adds no additional syntax, matching, or fallback semantics for q, so the baseline of 3 applies.

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 names a specific resource with precise scope: official quarterly US Treasury Reporting Rates of Exchange covering about 170 currencies, in both directions, with effective dates. This clearly distinguishes it from generic siblings like fx_rate and fx_history, though it does not name 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?

It states the use context clearly — required for converting foreign amounts in US government reporting, customs, grants and some tax filings — which tells an agent when this source is the correct one versus a market rate feed. It gives no explicit when-not guidance or named alternatives, which keeps it below a 5.

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