Skip to main content
Glama

prepare_rocketpool_unstake

DestructiveIdempotent

Creates an unsigned Rocket Pool unstake transaction by burning rETH for ETH from on-protocol collateral, checking wallet balance and collateral sufficiency, and directing to Uniswap V3 if collateral is low.

Instructions

Build an unsigned Rocket Pool unstake transaction (rETH.burn(uint256), redeems rETH for ETH from on-protocol collateral). No approval needed — burn operates on caller's balance. Preflights wallet rETH balance and rETH contract collateral; if collateral is insufficient, refuses with a hint to unwind via the rETH/ETH Uniswap V3 pool instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletYes
amountRethYesHuman-readable rETH amount to burn for ETH, NOT raw wei. Example: "0.5" for 0.5 rETH (18 decimals). Burning requires sufficient on-protocol ETH collateral (rETH contract balance + RocketDepositPool excess); if collateral is insufficient, sell rETH on the rETH/ETH Uniswap V3 pool instead via `prepare_uniswap_swap`.
Behavior5/5

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

The description discloses preflight behavior (rETH balance and collateral check), conditional failure with alternative hint, and mentions building an unsigned transaction. This adds context beyond annotations (destructiveHint, idempotentHint) without contradiction.

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?

The description is two sentences, front-loaded with core purpose, and each sentence provides essential information (operation, no approval, preflight, alternative). No unnecessary words.

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, the description sufficiently covers input parameters, behavior, and failure conditions. It integrates an alternative tool, making it self-contained 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?

The schema covers one parameter (amountReth) with detailed description and example; the tool description reinforces it. The wallet parameter lacks schema description but is a standard address field, and the description doesn't add further. Coverage is 50%, so description partially compensates.

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 explicitly states the tool builds an unsigned Rocket Pool unstake transaction via rETH.burn, redeeming rETH for ETH from on-protocol collateral. It distinguishes from siblings like prepare_uniswap_swap by specifying no approval needed and preflight conditions.

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?

The description provides explicit guidance: preflights balance and collateral, refuses if collateral insufficient, and directs to use prepare_uniswap_swap as an alternative. It also notes no approval is needed, clarifying when to use this tool.

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/szhygulin/recon-crypto-mcp'

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