Skip to main content
Glama

Ethereum liquid staking yields: wstETH, cbETH, rETH, weETH 7-day and 30-day APR with market premium or discount

defi_staking
Read-onlyIdempotent

Use when an agent compares ETH liquid staking tokens or checks one for a depeg. Input: optional token (wstETH, cbETH, rETH, weETH; comma list). Output: JSON per token exchange rate now, 7 and 30 days ago, apr7dPct and apr30dPct from rate growth, DEX market price in ETH and premiumPct vs the redemption rate. Read from Ethereum contracts and Uniswap pools, no yield API. Example: /v1/defi/staking Price: $0.003 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "defi_staking"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoComma list of wstETH, cbETH, rETH, weETH (default all). Unknown token → 400 before payment (not charged)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the data provenance (Ethereum contracts and Uniswap pools, no yield API), the cost model ($0.003 per call, paid in USDC across five chains via x402), and that a bad token returns 400 before payment so the caller is not charged. Those are exactly the operational traits an agent needs and none of them are recoverable from readOnlyHint/idempotentHint.

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 front-loaded with the usage trigger, then structured as Input/Output/Example/Price, so a scanning agent finds the essentials fast. The per-chain payment enumeration is the most expendable clause, but it is short and genuinely relevant to whether a call can be paid for.

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?

There is no output schema, yet the description enumerates the returned fields (exchange rate now/7d/30d ago, apr7dPct, apr30dPct, DEX price in ETH, premiumPct) and the JSON shape. With one optional parameter and full annotation coverage, nothing an agent needs to invoke or interpret the call is missing.

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% and the schema already states the comma-list format, the default (all), and the 400-before-payment behavior for unknown tokens. The description restates the token set and "comma list" without adding syntax or format details the schema lacks, so the baseline 3 applies.

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 names a specific verb-and-resource pair (compare/check ETH liquid staking tokens) and enumerates the exact scope (wstETH, cbETH, rETH, weETH). The title itself pins down the metric (7d/30d APR plus market premium/discount), so an agent knows precisely what it gets back without opening a schema.

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?

"Use when an agent compares ETH liquid staking tokens or checks one for a depeg" gives an explicit triggering condition, and the unknown-token note explains a failure path. It stops short of naming a sibling alternative (e.g. defi_yields) or stating when NOT to use it, so it is clear context without exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources