Skip to main content
Glama

rates_us_treasury

Get the US Treasury daily par yield curve for 13 maturities from 1 month to 30 years. Use for interest rate benchmarks, bond analysis, and macro signals.

Instructions

[costs $0.005 USDC per call] Get the latest US Treasury daily par yield curve (1M–30Y). US Treasury yield curve API: the latest Daily Treasury Par Yield Curve — yields in percent for 13 maturities from 1 month to 30 years, plus curve date, straight from the US Department of the Treasury. Public-domain government data, published each business day. Use for interest rate benchmarks, bond analysis, discount rates, and macro signals. Slow upstream (~10s) so served from a 6-hour cache; meta.fetchedAt shows when the curve was retrieved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full transparency burden. It discloses the cost ($0.005 USDC per call), upstream latency (~10s), caching behavior (6-hour cache), and a response field (meta.fetchedAt). However, it does not explicitly state that the tool is read-only or non-destructive, which is implied but not confirmed.

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?

The description is a single paragraph that front-loads cost and purpose, then adds details and use cases. It is reasonably concise, though the list of use cases could be streamlined as it partially repeats the purpose.

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 zero-parameter tool without an output schema, the description covers the data source, output content (yields for 13 maturities, curve date), caching, cost, and use cases. It is sufficient for an agent to understand what the tool returns, though listing the exact maturities would improve completeness.

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?

The tool has zero parameters, so the baseline is 4. The description adds value by explaining what the output contains (13 maturities, curve date) beyond the empty schema, partially compensating for the lack of an output schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves the latest US Treasury daily par yield curve for maturities 1M-30Y, specifying the data source (US Department of the Treasury) and scope (13 maturities). This distinguishes it from sibling tools like crypto_gas or fx, which cover different domains.

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 description lists use cases (interest rate benchmarks, bond analysis, etc.) but does not explicitly state when to use this tool versus alternatives or provide any exclusion criteria. While sibling tools are distinct, no comparative guidance is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Marysbrain/x402-gateway-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server