Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

rates_history

$0.02 USDC on Solana per call — One $0.02 call returns one tenor's dated yield series over the requested start/end range within the snapshot range 1990-01-02–2026-10-09; dates on which the tenor was not published are returned with a null yield and are never interpolated. Data vintage: a fixed historical snapshot of the Daily Treasury Par Yield Curve Rates — business days 1990-01-02 through 2026-10-09, collected October 2026 from the official U.S. Department of the Treasury feed (fiscaldata.treasury.gov / home.treasury.gov), whose terms offer the data free, without restriction, for commercial redistribution. Dates after 2026-10-09 are not covered by this snapshot.

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

Input Schema

NameRequiredDescriptionDefault
endNoInclusive end date YYYY-MM-DD.
limitNoMax rows (the LAST limit matching rows); default 365, clamped 1-3650.
startNoInclusive start date YYYY-MM-DD.
tenorNoOne of the 14 tenors: 1mo, 1.5mo, 2mo, 3mo, 4mo, 6mo, 1yr, 2yr, 3yr, 5yr, 7yr, 10yr, 20yr, 30yr.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations it discloses the price and payment rail ($0.02 USDC on Solana per call), the exact data vintage and provenance URL, the redistribution terms, and a precise null-handling policy (unpublished dates return null yield, never interpolated). These are exactly the operational facts an agent cannot derive from readOnlyHint/openWorldHint/idempotentHint alone.

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?

It is a single front-loaded paragraph that leads with price and payload, then coverage, then data vintage. The price is stated twice ("$0.02 USDC on Solana per call" and "One $0.02 call") and the licensing/provenance clause is long, but no sentence is filler.

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?

With no output schema, the description carries the return-value burden and does so: it explains the dated series, the null-yield rows, and the snapshot boundary. The remaining gap is the absence of any comparison to sibling tools, which matters because several rates_* siblings appear to overlap in subject matter.

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%, so start, end, limit, and tenor are already documented, including the 14-tenor set and the 'LAST limit rows' semantics. The description adds the useful constraint that dates outside the 1990-01-02–2026-10-09 snapshot are not covered and reinforces that a call is scoped to one tenor, but adds no format or default detail beyond the schema.

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?

"One $0.02 call returns one tenor's dated yield series over the requested start/end range" gives a concrete verb, resource, unit of consumption, and scope. It implicitly separates itself from curve/spread-style siblings by returning a single tenor's series, but it never names those siblings 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 description defines the covered window (1990-01-02 to 2026-10-09) and states that later dates are not covered, which implies when the tool is usable. However, it offers no explicit guidance about when to pick this over sibling tools such as rates_curve or rates_spreads, leaving the routing decision to inference.

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.

Resources