Skip to main content
Glama

Treasury Yield Curve

yield_curve
Read-onlyIdempotent

US Treasury yield curve (long form). Pass ?latest=1 for the current curve. (Source: US Treasury.)

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

Input Schema

NameRequiredDescriptionDefault
latestNoReturn only the current curve.
tenor_codeNoOne tenor series.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds only source provenance (US Treasury) and an unexplained 'long form' label; with no output schema, it says nothing about the shape of returned rows (date, tenor, yield) or coverage period.

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?

Two short sentences, front-loaded with the resource identity before the parameter hint. The source attribution earns its place as provenance; nothing is padded.

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

Completeness3/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 is the only place a caller can learn what the curve data looks like, and it does not say. For a simple 0-required-parameter read tool this is minimally adequate, but the unexplained 'long form' and missing return shape leave a real gap.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented, giving a baseline of 3. The description restates 'latest' in query-string notation ('?latest=1') rather than the object-property form the schema uses, and says nothing extra about tenor_code, so it adds no meaning beyond the schema.

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?

States a specific resource (US Treasury yield curve) with a format qualifier ('long form'), which lets an agent distinguish it from real-yield and treasury-bill siblings on subject matter. The 'long form' phrase is unexplained, so the format distinction is not fully actionable, but the core verb+resource is unambiguous.

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 description implies an internal when-to-use split: omit the parameter for the historical series, 'Pass ?latest=1 for the current curve.' That is a real usage condition, but there is no guidance on when to prefer this over sibling rate tools such as rates_real_yield or rates_treasury_bill.

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