Skip to main content
Glama

prepare_rocketpool_unstake

DestructiveIdempotent

Build an unsigned transaction to burn rETH and redeem ETH from Rocket Pool on-protocol collateral. Preflights wallet balance and collateral; if insufficient, recommends using the rETH/ETH Uniswap V3 pool.

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`.
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true. The description adds that the tool performs preflight checks on wallet balance and contract collateral, and refuses with an alternative hint if collateral is insufficient. This adds context beyond annotations, though it does not detail the return format of the built transaction.

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 concise with three sentences that front-load the main action, followed by key details and failure handling. Every sentence adds value without superfluous text.

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?

Given no output schema, the description adequately covers purpose, usage, param semantics (especially amountReth), and failure behavior. It references a sibling tool. However, it lacks an explicit description of what the tool returns (e.g., an unsigned transaction object), which would improve completeness.

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 50% (only amountReth has a description). The description compensates well for amountReth by specifying human-readable format, giving an example, and clarifying that it is not raw wei. For wallet, the description implies it is the caller's address via 'operates on caller's balance' and 'preflights wallet rETH balance', but explicit clarification would be beneficial.

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 it builds an unsigned Rocket Pool unstake transaction, mentions the specific method (rETH.burn) and source (on-protocol collateral). It clearly distinguishes from the sibling 'prepare_rocketpool_stake' and even suggests an alternative ('prepare_uniswap_swap') when collateral is insufficient.

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?

It provides explicit guidance: 'No approval needed — burn operates on caller's balance.' It also includes a preflight check and a conditional hint to use 'prepare_uniswap_swap' if collateral is insufficient, offering clear when-to-use and when-not-to-use instructions.

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/vaultpilot-mcp'

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