Skip to main content
Glama

spectra_get_yield_curve

Display the yield curve for an underlying asset, showing implied APY at each maturity across multiple chains. Compare rates to identify optimal lock periods.

Instructions

Show the yield curve (term structure) for a given underlying asset across all chains.

Fetches all active Spectra PTs matching the underlying (e.g., "USDC", "ETH"), sorts by maturity, and displays implied APY at each point on the curve.

This is the fixed-income view: "What rate can I lock for 30 days vs 90 days vs 180 days?" Helps curators spot term premium anomalies, compare cross-chain rates at similar maturities, and choose optimal maturity targets.

Handles symbol variants automatically (USDC.e, WETH, wstETH → normalized).

Use spectra_get_pt_details or mv_check_ibt_health to drill into a specific maturity. Use spectra_get_pool_capacity to check depth at your capital size. Use spectra_compare_yield for fixed-vs-variable analysis on a specific PT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
underlyingYesUnderlying asset symbol (e.g., 'USDC', 'ETH', 'stETH', 'GHO')
chainNoRestrict to a single chain. Omit to scan all chains.
min_tvl_usdNoMinimum TVL in USD to include (default 0)
min_liquidity_usdNoMinimum pool liquidity in USD (default 0)
compactNoOne-line-per-maturity output for quick scanning
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses automatic symbol normalization (USDC.e, WETH, wstETH → normalized), sorting by maturity, and implied APY calculation. However, it does not mention read-only behavior, auth requirements, or rate limits. Still, the behavioral traits are well communicated.

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?

Well-structured with a brief headline, explanatory paragraph, and bullet-like usage guidance. Each sentence adds value. Front-loaded with main purpose. Could be slightly more concise by removing redundant phrasing, but overall effective.

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 the tool's complexity (cross-chain yield curve with normalization) and lack of output schema, the description sufficiently explains what the tool does and how it processes data. It omits output format details but provides enough context for an agent to understand the result type.

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 baseline is 3. The description does not add much beyond schema for parameters; it provides context for 'underlying' and 'chain' in the usage paragraph. The schema descriptions are already clear. No additional semantic enrichment.

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?

Clearly states it shows the yield curve (term structure) for a given underlying asset across all chains. Specifies it fetches PTs, sorts by maturity, and displays implied APY. Distinguishes from siblings like spectra_get_pt_details and spectra_compare_yield.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes when to use (fixed-income view, term premium analysis, maturity selection) and when not to (defers to spectra_get_pt_details, mv_check_ibt_health, spectra_get_pool_capacity, spectra_compare_yield for specific purposes). Provides clear alternatives.

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/Finanzgoblin/spectra-mcp-server'

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