Skip to main content
Glama

us_rates

US interest rates and debt in one call: the Treasury par yield curve (1 month to 30 years) with week and month changes and the 2s10s, 3m10y and 5s30s spreads with inversion flags; New York Fed reference rates (SOFR and its 30/90/180-day averages, EFFR with the Fed target range, OBFR, TGCR, BGCR); total public debt with its 30-day change; and the average rate on marketable debt. Data: US Treasury, New York Fed. Costs $0.005 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does meaningful work: it discloses the upstream sources (US Treasury, New York Fed) and, unusually, the exact cost and payment rail ($0.005 USDC on Base via x402), which matters before an agent invokes a paid endpoint. It stops short of stating data freshness/cadence, whether responses are cached, or failure modes, so not a 5.

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?

One dense but front-loaded sentence groups the datasets in a logical order (yields → spreads → reference rates → debt), followed by a short source line and a short cost line. Every clause names a distinct returned series, so little is wasted; the semicolon-chained enumeration is heavy but still scannable.

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 and no annotations, the description effectively doubles as a return-value manifest, listing the specific series, spreads, and flags an agent will receive. What is missing is refresh cadence and any note on units/format (percent vs. index), which keeps it from being fully complete for a data-retrieval tool.

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?

Zero parameters, so there are no semantics to explain and the baseline applies. The description implicitly confirms this is a fixed, no-argument snapshot covering all listed series at once, which is the useful information an agent needs.

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 opens with a specific verb+resource ('US interest rates and debt in one call') and then enumerates exactly what is returned: the Treasury par yield curve (1m–30y) with week/month changes, the 2s10s/3m10y/5s30s spreads with inversion flags, NY Fed reference rates (SOFR and averages, EFFR with target range, OBFR, TGCR, BGCR), total public debt with a 30-day change, and the average rate on marketable debt. An agent can tell immediately this is the US-rates snapshot tool and not, say, an ECB/FX rates tool.

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?

Usage is only implied: the tool takes no parameters, so it reads as 'call this to get a full US rates/debt snapshot.' There is no explicit statement of when to prefer it over something narrower or when it is inappropriate, and no alternative is named. Adequate but leaves routing 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