Skip to main content
Glama

U.S. Treasury Fiscal Data MCP

Get Treasury official exchange rates

get_treasury_exchange_rates
Read-onlyIdempotent

Look up official U.S. Treasury Reporting Rates of Exchange (foreign currency units per USD) used for federal financial reporting, tax compliance, and cross-border accounting.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1 to 100). Default 1.
limitNoRecords per page (1 to 100). Default 20.
countryNoOptional country name filter (e.g. "Canada", "Japan", "United Kingdom", "Euro Zone").
currencyNoOptional currency name filter (e.g. "Dollar", "Yen", "Euro", "Pound").
end_dateNoOptional latest record date in YYYY-MM-DD format.
start_dateNoOptional earliest record date in YYYY-MM-DD format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value by specifying that these are official reporting rates expressed as foreign units per USD, which prevents inverted-rate mistakes, but it says nothing about pagination limits, default result size, or record coverage over time.

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?

A single front-loaded sentence with no filler, defining the resource, its unit convention, and its domain. The use-case clause is mildly expendable but earns its place by clarifying the data's authoritative context.

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?

For a six-parameter, fully optional, paginated read tool with no output schema, the definition establishes what the data is but not what a response looks like or how dates and pagination interact. Adequate to call correctly, thin for interpreting results.

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 coverage is 100% and every parameter already carries a description with format and examples, so the schema does the heavy lifting. The description adds no filter-selection guidance beyond reiterating what kind of data the parameters act on, which matches the baseline of 3 for fully documented schemas.

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 verb and resource ('look up official U.S. Treasury Reporting Rates of Exchange') and clarifies the unit convention ('foreign currency units per USD'), which distinguishes it from the interest-rate and auction siblings by resource alone. It stops short of naming a sibling, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It lists downstream use cases (federal financial reporting, tax compliance, cross-border accounting) but never says when to choose this tool over the rate/auction/revenue siblings, and gives no guidance on when to supply country/currency versus date filters. An agent must infer all invocation strategy.

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.