Skip to main content
Glama

pendle_get_market_capacity

Analyze Pendle market capacity by computing price impact and APY degradation across capital sizes. Identify the sweet spot for maximum capital with acceptable impact and the exhaustion point where APY collapses.

Instructions

Analyze a Pendle market's capacity by computing price impact at increasing capital sizes.

Shows how price impact and effective APY degrade as capital grows, helping curators find the sweet spot (max capital with acceptable impact) and the exhaustion point (where APY collapses).

Uses Pendle's logit AMM model (conservative scalarRoot=50) which accounts for time-decay pricing. Near maturity, the AMM becomes more capital-efficient, so impact is lower than constant-product estimates.

This is the Pendle equivalent of spectra_get_pool_capacity.

Use pendle_get_market_details for full market information. Use pendle_scan_opportunities for capital-aware ranking across all markets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesThe blockchain network
market_addressYesThe Pendle market/pool contract address
stepsNoNumber of capital tiers in the ladder (default 8, max 12)
max_capital_usdNoUpper bound of the capital ladder in USD (default $1,000,000)
Behavior4/5

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

No annotations; description explains the underlying logit AMM model and time-decay pricing behavior, though it does not mention read-only nature or authentication needs.

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?

Concise with key information front-loaded, but could be slightly more structured; no wasted sentences.

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?

Provides sufficient context for understanding purpose and use, but lacks description of the output format or return values.

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 description coverage is 100%; description does not add meaningful context beyond the schema's parameter descriptions.

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 computes price impact and effective APY degradation as capital grows, and distinguishes it from siblings like pendle_get_market_details and pendle_scan_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?

Provides explicit guidance on when to use (finding sweet spot and exhaustion point) and explicitly mentions alternatives and equivalent tools (spectra_get_pool_capacity).

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