Skip to main content
Glama

FinChiefs research

Get government bond yield curves

get_yield_curves
Read-only

Government bond yield curves for the US (Treasury), euro area (ECB AAA curve), UK (Bank of England) and Japan (Ministry of Finance): yields per tenor now, a day, a month and a year ago, the 2s10s and 3m10y spreads, and optionally weekly 2y / 10y / 2s10s history. Official data with its source.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoHistory start YYYY-MM-DD. Default: 5 years ago. Data reaches back to 1990.
historyNoAdd weekly 2y, 10y and 2s10s history (default false).
regionsNoUS, EA (euro area), UK, JP. Omit for all four.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine value by asserting 'Official data with its source' (provenance is returned), but it says nothing about response shape, pagination, missing-data behavior, or freshness/lag beyond the day/month/year snapshots.

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?

A single, densely packed sentence with zero filler and the most important content (what data, which regions, which sources) front-loaded. It is slightly run-on, listing tensors of detail inline rather than breaking out the optional history clause, but no sentence is wasted.

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, the description carries the return-value burden and does so well — it spells out the snapshot points, the spread definitions, the optional weekly series, and the attached source attribution. The main remaining gap is that it does not describe the structure of those returns (per-region objects, tenor grid) or whether data is cached/dated.

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 all three parameters are already documented with defaults, date format, and the 1990 backstop. The description reinforces which outputs the optional weekly history activates (2y/10y/2s10s) and lists the region codes, but adds no syntax or constraint detail 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?

The description names the exact resource (government bond yield curves) and enumerates the covered jurisdictions with their official sources (US Treasury, ECB AAA, BoE, MoF), plus the concrete payload: per-tenor yields at four snapshots, 2s10s/3m10y spreads, optional weekly history. It is clearly distinguishable from siblings like get_policy_rates or get_economic_indicators, though it never explicitly contrasts itself with them.

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 implied by what the tool returns — an agent can infer it should call this for curve levels, spreads, or curve history — but there is no explicit when-to-use statement, no exclusion, and no routing to alternatives such as get_policy_rates for policy rate context.

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