Skip to main content
Glama

US Treasury Average Interest Rates MCP

Get US Treasury rates by date

get_treasury_rates_by_date
Read-onlyIdempotent

Fetch all US Treasury average interest rates reported on or before a target record_date (YYYY-MM-DD).

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": {
      "record_date": "<record_date>"
    },
    "name": "get_treasury_rates_by_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
record_dateYesTarget date in YYYY-MM-DD format (e.g. "2026-09-30").
security_typeNoOptional security type filter.

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?

Annotations already declare readOnly, idempotent, open-world, non-destructive behavior, so safety is covered. The description adds the genuinely useful detail that results are cumulative up to and including the date, but says nothing about volume, pagination, or what 'average interest rates' includes.

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 the resource and the cutoff semantics stated up front and no filler. Every clause carries information an agent needs to select and call the tool.

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 two-parameter read tool with full schema coverage, full annotations, and no output schema, the definition covers the essential calling semantics. Minor residual gap is the absence of any hint about result volume or the security_type filter's effect.

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%, so both parameters are documented there, and the description adds real meaning by clarifying that record_date acts as an inclusive upper bound returning all earlier reported rates rather than a single-day lookup. The optional security_type filter is left to the schema, which is acceptable given full coverage.

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 verb (Fetch) and resource (US Treasury average interest rates) plus the scope constraint ('on or before a target record_date'). The 'on or before' framing implicitly separates it from the 'latest' and 'by fiscal year' siblings, but no sibling is named 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 cumulative cutoff ('on or before') implies when this tool is preferable to a point-in-time or latest-value lookup, but the description never states when to use it versus the alternatives nor any exclusions. Usage must be inferred from the sibling names alone.

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.