Skip to main content
Glama

get_yield_curve

Retrieve euro area government bond yield curve data from the ECB. Access spot rates for maturities from 3 months to 30 years, updated daily, to analyze interest rate trends and economic conditions.

Instructions

Get euro area government bond yield curve data from the ECB.

Returns spot rates from the ECB's AAA-rated government bond yield curve. Available maturities range from 3 months to 30 years. Updated daily.

Examples of questions this tool answers:

  • "What is the current 10-year euro area yield?"

  • "Show me the 2-year yield over the past 6 months"

  • "What was the 5-year spot rate in March 2024?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maturityNoBond maturity: "3M", "6M", "1Y", "2Y", "5Y", "10Y" (default), "15Y", "20Y", "30Y"
issuerTypeNoIssuer rating: "AAA" (default) or "all_gov" for all government bonds
startPeriodNoStart date (YYYY-MM-DD, YYYY-MM, or YYYY)
endPeriodNoEnd date (YYYY-MM-DD, YYYY-MM, or YYYY)
lastNObservationsNoReturn only the last N data points
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that data is 'updated daily' and specifies available maturities and issuer types, adding useful context. However, it does not mention potential rate limits, error conditions, or authentication needs, leaving gaps in behavioral understanding 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with core functionality, followed by details and examples. Each sentence adds value without redundancy, such as stating data source, maturity range, update frequency, and illustrative use cases, making it efficient and easy to parse.

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?

Given no annotations and no output schema, the description does a good job covering the tool's purpose, parameters, and usage context. It could improve by detailing return format or error handling, but it adequately informs an agent for a data query tool with clear parameters and examples.

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 description coverage is 100%, so the baseline is 3. The description adds value by specifying 'Available maturities range from 3 months to 30 years' and clarifying the data source and rating context, which enhances understanding beyond the schema's parameter descriptions, justifying a score above baseline.

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 clearly states the tool retrieves 'euro area government bond yield curve data from the ECB' and specifies it returns 'spot rates from the ECB's AAA-rated government bond yield curve.' This distinguishes it from sibling tools like get_exchange_rates or get_inflation by focusing on bond yields, with specific examples reinforcing the purpose.

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 usage through example questions like 'What is the current 10-year euro area yield?' but does not explicitly state when to use this tool versus alternatives such as get_interest_rates or search_datasets. It provides context for bond yield queries but lacks direct guidance on tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scka-de/ecb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server