Skip to main content
Glama

US Treasury FX Reporting Rates MCP

Convert currency using US Treasury FX rate

convert_usd_treasury_rate
Read-onlyIdempotent

Convert an amount between USD and a foreign currency using the official US Treasury Reporting Rate of Exchange for IRS/FBAR reporting.

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": {
      "country": "<country>",
      "amount": "<amount>"
    },
    "name": "convert_usd_treasury_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesNumeric amount to convert.
countryYesExact US Treasury country name (e.g. "Euro Zone", "United Kingdom", "Canada").
directionNoConversion direction ("usd_to_foreign" default, or "foreign_to_usd").
record_dateNoOptional reporting date in YYYY-MM-DD format (defaults to latest quarter).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description usefully adds that the rate is the authoritative Treasury Reporting Rate used for IRS/FBAR reporting, but it does not mention failure behavior for a country or date that has no published rate, nor how a quarterly rate is chosen.

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 one sentence with no filler. The verb and the authoritative-source qualifier both appear early, so an agent can judge relevance at a glance.

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 4-parameter, fully documented tool, the description covers what the tool does and which rate it uses. It does not state the shape of the result, but there is no output schema that would need to carry that information, so the description should have said what the tool returns.

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 description coverage is 100%, so the baseline is 3. However, the description goes beyond the schema by tying the amount and country to the official Treasury rate for a specific reporting purpose, and by suggesting that the conversion is direction-aware and that a default date applies. These details give the parameters more meaning than the schema alone does.

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 states a specific verb (Convert) and a specific resource (an amount between USD and a foreign currency), plus the rate source (the official US Treasury Reporting Rate of Exchange). That verb already distinguishes it from the sibling getters, which retrieve rates rather than convert amounts, although it does not name any of them 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?

The phrase 'for IRS/FBAR reporting' implies the tax-reporting context in which this conversion applies, but there are no explicit instructions about when to use this tool versus the sibling rate-lookup tools, and no exclusion cases such as an unsupported country or a missing quarter.

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.