Skip to main content
Glama

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

rates_curve

$0.02 USDC on Solana per call — One $0.02 call returns the full 14-tenor Daily Treasury Par Yield Curve for one business day in the snapshot range 1990-01-02–2026-10-09; tenors not published that day are returned as null 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_curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoBusiness day YYYY-MM-DD within 1990-01-02..2026-10-09. Default: latest date in the snapshot (2026-10-09).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Substantial disclosure beyond the annotations: price ($0.02 USDC on Solana), null-not-interpolated policy for unpublished tenors, fixed snapshot vintage and collection date, and redistribution terms. The main gap is failure behavior — it says dates after 2026-10-09 'are not covered' but not whether an out-of-range date errors, returns nulls, or bills the caller; likewise nothing explains how payment is settled, despite readOnlyHint=false implying a non-free side effect.

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?

Front-loaded correctly — price and payload come first, then null semantics, then provenance. It is dense but not padded, though the range 1990-01-02–2026-10-09 and the word 'snapshot' are each restated three times in a single long run-on sentence.

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 does the work of describing the return shape (14 tenors, nulls preserved) plus cost and data provenance, which is what an agent needs to call it. The missing piece is error/out-of-range behavior and how the $0.02 charge is authorized, which matters for a paid tool whose annotations mark readOnlyHint=false.

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 the baseline is 3, but the description adds real meaning: the date must be a business day, the accepted range, the default of the latest snapshot date, and the consequence that non-published tenors come back null rather than interpolated. It does not add a date format beyond what the schema already documents, so it stops short of 5.

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?

States a concrete verb and payload: 'One $0.02 call returns the full 14-tenor Daily Treasury Par Yield Curve for one business day'. The scope (single business day, whole curve, fixed snapshot) is specific enough that an agent can distinguish it from a multi-day history or spread tool without opening a schema.

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 scope implies when to use it (need a whole curve for one day), and the date default is stated in the schema. However, no alternative is ever named — nothing says to use rates_history for multi-day ranges or rates_spreads for spread views — and no exclusion beyond the snapshot end date is given.

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