Skip to main content
Glama

U.S. Treasury Fiscal Data MCP

Get Treasury average interest rates

get_treasury_interest_rates
Read-onlyIdempotent

Query monthly average interest rates on U.S. Treasury marketable and non-marketable securities such as Treasury Bills, Treasury Notes, Treasury Bonds, and TIPS.

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_interest_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1 to 100). Default 1.
limitNoRecords per page (1 to 100). Default 20.
end_dateNoOptional latest record date in YYYY-MM-DD format.
start_dateNoOptional earliest record date in YYYY-MM-DD format.
security_descNoOptional security description filter (e.g. "Treasury Bills", "Treasury Notes", "Treasury Bonds").
security_typeNoOptional security type filter (e.g. "Marketable" or "Non-marketable").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful domain context that results are monthly averages across both marketable and non-marketable categories, but says nothing about pagination behavior (page/limit) or what a record contains.

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?

A single front-loaded sentence with no filler, and the core resource is named before the qualifying instrument list. Nothing is redundant with the title or wasted.

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 read-only query tool with all parameters optional and fully described in the schema, the description plus annotations cover what an agent needs to call it correctly. The only gap is the absence of any hint about result shape or default time coverage, which matters somewhat given there is no output schema.

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 all six parameters are already documented, including date formats and example security descriptions. The description's mention of security categories loosely maps to security_desc and security_type but adds no format or constraint detail beyond the schema; baseline 3 is appropriate.

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 gives a specific verb ('Query') and resource ('monthly average interest rates on U.S. Treasury marketable and non-marketable securities') and enumerates the covered instrument classes (Bills, Notes, Bonds, TIPS). That is enough to separate it from siblings like get_treasury_exchange_rates or get_national_debt, though it never explicitly contrasts itself with them.

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?

There is no when-to-use or when-not-to-use guidance; the reader must infer from the domain noun that this is the tool for historical average rates rather than exchange rates or auctions. Nothing tells the agent how the optional date-range and security filters should be applied to narrow a query.

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.