Skip to main content
Glama

mv_compare_yield

Compare Pendle and Spectra yield opportunities side-by-side on the same chain, auto-matching markets by underlying asset and maturity proximity for head-to-head analysis.

Instructions

Compare Pendle and Spectra yield opportunities side-by-side on the same chain. Auto-matches markets by underlying asset AND maturity proximity for head-to-head comparison.

Essential for MetaVault curators who can allocate to either protocol. Shows:

  • Implied APY (fixed rate) comparison

  • LP APY comparison (relevant for MetaVault allocation)

  • Pool liquidity and TVL comparison

  • Variable rate comparison

  • Per-market winner analysis

  • Maturity match quality (exact ≤7d, close ≤30d, loose ≤90d gap)

Only works on chains where both Spectra and Pendle are deployed: Ethereum, Optimism, BSC, Sonic, Base, Arbitrum, HyperEVM

Includes external Merkl campaign APR for both protocols when available.

Use pendle_list_markets for Pendle-only chain data. Use mv_scan_curator_opportunities for unified cross-protocol ranking with capital-aware sizing. Use spectra_scan_opportunities for Spectra-native capital-aware ranking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain where both Spectra and Pendle are deployed
asset_filterNoFilter by underlying asset (e.g., 'USDC', 'ETH', 'stETH'). Matches against pool/market names.
min_tvl_usdNoMinimum TVL in USD
min_liquidity_usdNoMinimum pool liquidity in USD
maturity_tolerance_daysNoMaximum maturity gap (days) to consider a match. Matches within 7d are 'exact', within 30d are 'close', within this tolerance are 'loose'. Default 90.
compactNoCompact output mode
Behavior5/5

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

No annotations provided, so description fully covers behavior. It details what comparisons are shown (implied APY, LP APY, liquidity, TVL, variable rate, winner analysis, maturity match quality) and explains maturity categories and Merkl campaign inclusion.

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 bullet points and front-loaded main purpose. Some redundancy (chain list repeated in description and schema) but overall efficient. Could be slightly tighter but still good.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and complexity as a comparison tool, description is thorough. Covers when to use, outputs, matching logic, chains, and alternative tools. Complete for agent decision-making.

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 coverage is 100%, but description adds value by explaining maturity tolerance categories (exact ≤7d, close ≤30d, loose ≤90d) and providing examples for asset_filter. This goes beyond schema definitions.

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 it compares Pendle and Spectra yield opportunities side-by-side. It uses a specific verb ('compare') and resource ('yield opportunities'), and distinguishes from siblings by mentioning alternative tools like pendle_list_markets and mv_scan_curator_opportunities.

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 says when to use ('Essential for MetaVault curators') and lists three alternative tools with specific use cases. Also specifies chain requirements clearly.

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