Skip to main content
Glama

lido_wrap

Wrap stETH into wstETH to get a non-rebasing balance that stays constant while value accrues, enabling DeFi use and L2 bridging.

Instructions

Wrap stETH into wstETH. wstETH is non-rebasing — its balance stays constant while its value accrues. Required for DeFi and L2 bridging.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amount": "<amount>"
    },
    "name": "lido_wrap"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount of stETH to wrap (e.g. '10.0')
dry_runNoIf true, simulate the transaction without executing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It helpfully explains the economic behavior of wstETH (constant balance, accruing value), which is real context beyond the schema, but it omits whether the operation is reversible, what approvals are needed, and what the tool returns. The dry_run parameter implies simulation support, but the description never mentions it.

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?

Three short sentences, front-loaded with the core action and followed by the property that justifies it. 'Required for DeFi and L2 bridging' is slightly promotional but does convey a legitimate use case, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no annotations and no output schema, the definition covers the what and the why but not the operational essentials: approval requirements, whether wrapping can be undone via lido_unwrap, and what a dry-run versus live call yields. It is workable but leaves real gaps.

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 both parameters carry their own descriptions including an example value and the dry_run default. The description adds no additional meaning to amount or dry_run, so the baseline of 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 states a specific verb and resource ('Wrap stETH into wstETH') and immediately defines the resulting asset's key property (non-rebasing). This cleanly distinguishes it from the sibling lido_unwrap, which performs the inverse conversion.

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

Usage Guidelines3/5

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

'Required for DeFi and L2 bridging' gives a motivating context for when the tool is useful, but there is no explicit guidance on when to choose this over lido_stake or lido_unwrap, nor any stated prerequisites such as token approval or balance checks.

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