Skip to main content
Glama

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

rates_schema

Read-onlyIdempotent

The contract, criteria, data vintage and licence for the Treasury Curve History service (rates): the endpoint contract, the 14 tenors, the source line, the settled vintage text and the licence line. Read these before paying — every response is reproducible from the pinned public test corpus. — no payment required: call directly without payment (no x402 challenge; this tool is free). HTTP equivalent: GET https://exchangerebel.com/toll/rates/schema. 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. Public test corpus: treasury-curve-history-corpus/v1, SHA-256 pin cbf25f7b8e109235ed7d00518b355fce6a5a7539ded5f42aeccd6721ce729d5c.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: no x402 payment challenge, reproducibility from a pinned public corpus, and an explicit coverage boundary ('Dates after 2026-10-09 are not covered by this snapshot'). The licence/redistribution terms also pre-empt a real agent concern about reuse.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The artifact list is stated twice (contract/criteria/vintage/licence up front, then the individual 'endpoint contract, 14 tenors, source line, vintage text, licence line' again), and the SHA-256 pin is long tail detail. The critical routing instruction ('Read these before paying') and the free-call fact are reasonably front-loaded, but the passage would lose nothing from trimming.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only schema endpoint with no output schema, the description covers cost model, data coverage window, provenance, licence and verifiability of the corpus. An agent has everything needed to decide to call it and to interpret what it will receive.

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 takes zero parameters and the schema is empty, so there is nothing for the description to disambiguate. Baseline for a 0-parameter tool is 4.

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 names a specific artifact: the contract, criteria, data vintage and licence for the Treasury Curve History (rates) service, plus the endpoint contract and 14 tenors. That is concrete enough for an agent to know this is a metadata/contract endpoint rather than a data endpoint. It does not name sibling tools like rates_curve or rates_history to explicitly draw the line, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Read these before paying' gives an explicit sequencing rule, and 'no payment required: call directly without payment (no x402 challenge; this tool is free)' tells the agent it can invoke immediately. It stops short of naming which sibling endpoint to call after reading the contract.

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