Skip to main content
Glama

Stratalize Finance

Get Yield Curve Benchmark

get_yield_curve_benchmark
Read-only

Live US Treasury yield curve — 1M through 30Y yields with daily and weekly basis point changes, 2s10s and 2s30s spreads, inversion signal, SOFR, and curve shape classification. Source: FRED. Live source. Returns HTTP 503 (no charge) if upstream source unavailable for >50% of fields. | x402 SLA: $0.10 USDC per call. Returns HTTP 503 (no charge) when upstream data sources unavailable. data_source field discloses provenance (fred_api/fred_csv/fred_mixed).

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

Input Schema

NameRequiredDescriptionDefault
tenorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The description goes well beyond the annotations (readOnly/openWorld/destructive=false) by disclosing cost ($0.10 USDC per call via x402), the 503-with-no-charge failure mode and its >50%-of-fields trigger, and the data_source provenance values (fred_api/fred_csv/fred_mixed). These are exactly the operational details annotation hints cannot convey. It stops short of 5 because the 503 clause is stated twice in slightly different wording, and there is no mention of response shape or caching or freshness.

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 opening sentence is densely front-loaded and informative, which is good. However, the HTTP 503 / no-charge behavior is repeated almost verbatim in two separate sentences, and 'Source: FRED. Live source.' is redundant with the data_source note. Roughly a fifth of the text is duplicate.

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?

There is no output schema, so the description must carry the return-value burden, and it does: it enumerates yields, basis point changes, spreads, inversion signal, SOFR, curve classification, and provenance. For a read-only benchmark tool with one optional parameter, that is close to complete; the missing pieces are the default tenor behavior and whether one curve or multiple tenor rows come back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions the single 'tenor' parameter at all, so it does not compensate for the schema gap. The enum values (2y/10y/30y/all) are somewhat self-explanatory, but the description neither states the default (required=false, 0 required params) nor clarifies whether 'all' overrides the others, leaving real ambiguity at call time.

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 specifies the exact resource (US Treasury yield curve), the tenors covered (1M through 30Y), and exactly which metrics come back (daily/weekly bp changes, 2s10s and 2s30s spreads, inversion signal, SOFR, curve shape). It is clearly distinguishable from siblings such as get_credit_spread_benchmark or get_defi_yield_benchmark. It loses a point only because it never explicitly contrasts itself with those siblings.

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?

Use is only implied: an agent can infer 'call this when you need US Treasury yields,' but there is no explicit when-to-use, no exclusions, and no routing to alternatives such as the stablecoin, DeFi, or credit-spread benchmarks. Nothing is misleading, but the agent must infer the choice itself.

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