Skip to main content
Glama

FMF Tools Web & Data

rates_treasury

U.S. Treasury yield curve ($0.002 per call, paid via MPP on Tempo). Daily U.S. Treasury par yield curve rates (1-month to 30-year) for the latest business day or a given date=YYYY-MM-DD (2000 onward), plus the 10y-2y and 10y-3m spreads. Public domain U.S. Treasury data. HTTP POST https://mpp-agent-data.fmf-x402.workers.dev/mpp/rates/treasury. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD (default latest)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden well by disclosing cost ($0.002 per call), payment via MPP, the HTTP POST endpoint, and the fact that the MCP wrapper does not settle payment by itself. It does not cover rate limits, error behavior, or exact return shape, but it gives unusually specific operational context for a data-retrieval tool.

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 front-loaded with the data purpose, coverage, and date rule, then adds payment and endpoint caveats. It is somewhat dense but every major clause contributes operational information; the only mild redundancy is restating the endpoint and payment mechanism in detail.

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 one-parameter data-retrieval tool without an output schema, the description is complete enough to call correctly: it defines the resource, date constraints, default behavior, included spreads, source, cost, and payment requirement. Nothing essential about invocation is missing.

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 already 100% for the single date parameter, so the baseline is 3. The description adds useful meaning beyond the schema by clarifying that the date range starts in 2000 and that the default is the latest business day.

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 clearly states a specific verb and resource: fetching the U.S. Treasury par yield curve for the latest business day or a specified date. It is functionally distinct from siblings such as fx_rates by naming Treasury yield curve data and spreads, though it does not explicitly contrast with sibling tools.

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?

It gives clear usage context: use it for the latest business day or a specific date from 2000 onward, and notes the resulting 10y-2y and 10y-3m spreads. It does not explicitly say when to choose this over fx_rates or other rate tools, so it lacks alternative-routing guidance.

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