Skip to main content
Glama

defi-state-pack

Fetch Ethereum block data, stablecoin depeg alerts, and top DeFi yield pools in one parallelized call. Filter by chain, protocol, TVL, and APY. No API key required.

Instructions

Returns Ethereum block header + stablecoin depeg status + top DeFi yield farming pools in one call. Collapses the 3-hop eth-block → stablecoin-watch → yield-farming chain into a single call. All three upstreams fetched in parallel. Supports Ethereum, Base, Polygon, Arbitrum. Filter yield pools by chain, protocol, min TVL, min APY. Free upstreams — DRPC + DeFiLlama — no API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockNoBlock number (integer or 0x hex) or tag: latest/pending/earliest/safe/finalized. Default: latest.
networkNoChain to query for block data. Default: ethereum.
stablecoin_symbolNoFilter stablecoins to a specific symbol (e.g. USDT, USDC, DAI). Omit to return top 10 by market cap.
alert_onlyNoIf true, only return stablecoins that are depegged (MILD_DEPEG or worse).
yield_chainNoFilter yield pools by blockchain (e.g. 'Ethereum', 'Base', 'Arbitrum'). Case-insensitive. Omit for all chains.
yield_protocolNoFilter yield pools by protocol name (e.g. 'aave-v3', 'uniswap-v3'). Case-insensitive substring.
min_apyNoMinimum 30-day mean APY (%) for yield pool inclusion. Default 0.
min_tvl_usdNoMinimum TVL in USD for yield pool inclusion. Default 1000000 ($1M).
stablecoin_pools_onlyNoIf true, only return stablecoin-only yield pools.
top_poolsNoMax number of yield pools to return, sorted by 30-day mean APY desc. Default 10, max 25.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses supported chains, free upstreams (DRPC, DeFiLlama), no API key needed, and filtering options. It does not mention rate limits or error handling, but provides good insight into the tool's behavior.

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?

Four sentences, front-loaded with the core purpose, then benefit, then supported chains and filters. Every sentence adds value with no wasted words.

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?

For a 10-parameter composite tool with no output schema, the description covers the main purpose, data sources, and filters. It does not detail return structure or pagination, but is comprehensive enough for an AI agent to use effectively.

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%, baseline 3. The description adds value by explaining filter semantics in context (e.g., case-insensitivity, default min TVL of $1M, and max top_pools of 25). This goes beyond the schema's individual 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 returns Ethereum block header, stablecoin depeg status, and top DeFi yield farming pools in one call. It explicitly mentions collapsing a 3-hop chain, distinguishing it from individual sibling tools like eth-block, stablecoin-watch, and defi-yields.

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

Usage Guidelines4/5

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

The description explains the composite nature and parallel fetching, implying it's for when all three data types are needed. It does not explicitly state when not to use or compare to alternatives, but the context is clear enough for an agent.

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/thebrierfox/the-stall'

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