Skip to main content
Glama

spectra_scan_opportunities

Analyze Spectra chains for the best risk-adjusted yield opportunities, ranking by effective APY after entry costs amortized for your capital size.

Instructions

Scan all Spectra chains for the best risk-adjusted yield opportunities, sized to your capital.

Unlike spectra_get_best_fixed_yields (which ranks by raw APY), this tool computes:

  • Entry price impact at YOUR capital size (a 50% APY pool with $10K liquidity is useless at $500K)

  • Effective APY after amortizing entry cost over days to maturity

  • Morpho looping availability and optimal leveraged net APY

  • Pool capacity (max capital before price impact exceeds your threshold)

  • IBT APR composition (organic base yield vs external incentive programs)

  • Points program multipliers and asset tags per opportunity

  • External Merkl campaign APR (incentive programs beyond native yield)

  • Risk warnings (low liquidity, short maturity, high impact)

  • MetaVault alternatives (curated auto-rolling LP vaults with YT compounding)

Returns opportunities ranked by effective APY (or looping net APY where available). Ranking logic: when a profitable Morpho looping market exists, ranks by looping net APY with cumulative entry cost amortized; otherwise ranks by effective APY (base APY minus annualized entry cost).

MetaVaults are shown in a separate section (not interleaved with PT rankings) because they have different risk profiles: variable APY, curator-managed, auto-rolling positions. Set include_metavaults=false to skip MetaVault scanning.

NOTE: This scans Spectra pools only. For broader coverage including Pendle markets, use mv_scan_curator_opportunities — it includes both protocols and may surface significantly more opportunities, especially at smaller capital sizes.

Effective APY is a conservative lower bound (constant-product impact model). Real Curve StableSwap-NG pools are more capital-efficient. Verify top picks with spectra_quote_trade().

Output includes conditional competing interpretations when rankings are ambiguous — e.g., thin-liquidity pools dominating the ranking, or MetaVaults with high idle ratios.

Use spectra_get_looping_strategy to drill into a specific opportunity's leverage details. Use spectra_get_pool_activity and spectra_get_portfolio to investigate trading patterns and positions. Use spectra_model_metavault to model MetaVault looping economics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capital_usdYesHow much capital (in USD) to deploy
asset_filterNoOptional: filter by underlying asset symbol (e.g., 'USDC', 'ETH')
min_tvl_usdNoMinimum pool TVL in USD (default $10,000)
min_liquidity_usdNoMinimum pool liquidity in USD (default $5,000)
include_loopingNoWhether to check Morpho looping availability (default true)
max_price_impact_pctNoFilter out pools where entry impact exceeds this % (default 5)
top_nNoNumber of top results to return (default 10, max 50)
include_metavaultsNoWhether to include MetaVault alternatives in results (default true). MetaVaults are curated auto-rolling LP vaults shown in a separate section.
compactNoIf true, return one-line-per-opportunity output (much shorter). Omit for full details.
envelopeNoIf true, return structured two-block response: JSON data + narrative layer. Enables programmatic extraction while preserving interpretive content. Overridden by compact mode.
ve_spectra_balanceNoYour veSPECTRA token balance. Computes the real per-pool boost using B = min(2.5, 1.5*(v/V)*(D/d)+1). Fetches live totalSupply from Base chain. If omitted, shows min/max APY ranges.
Behavior5/5

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

With no annotations, the description fully carries the burden, detailing entry price impact, effective APY, Morpho looping, pool capacity, risk warnings, ranking logic, and caveats about conservative modeling and ambiguous rankings.

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?

The description is dense but well-structured, starting with a summary and using bullet points and notes. While every part adds value, it is lengthy and could be slightly more compact.

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?

Without an output schema, the description explains that results are ranked by effective APY and MetaVaults are in a separate section. It mentions conditional interpretations but could be more explicit about the output structure.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds substantial context beyond the schema, such as how capital_usd affects sizing, the formula for ve_spectra_balance, and how max_price_impact interacts with pool capacity.

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 scans Spectra chains for best risk-adjusted yield opportunities sized to capital, and distinguishes itself from spectra_get_best_fixed_yields which ranks by raw APY.

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 specifies when to use (capital-sized scanning) and when not (raw APY ranking), and provides alternative tools like mv_scan_curator_opportunities and spectra_get_looping_strategy for deeper analysis.

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