Skip to main content
Glama

wallet_recover

Recover a previously linked wallet by email: request a verification code, confirm it with the session token, and choose a wallet ID if multiple wallets are returned.

Instructions

Recover a previously linked wallet by email. Step 1: Call with email to send a verification code. Step 2: Call again with the session_token, email, and code to complete recovery. If multiple wallets exist, Step 2 returns a list — call again with wallet_id to select one. Do NOT use wallet_link for recovery — it would link your email to the new wallet instead.

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": "wallet_recover"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo6-digit verification code from email (Step 2)
emailNoEmail previously linked to your wallet (Step 1: sends verification code)
wallet_idNoWallet ID to select (Step 3: when multiple wallets exist)
session_tokenNoSession token from Step 1 (Step 2: verify code)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.14

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it discloses that Step 1 sends a verification code, that Step 2 requires the returned session_token, and that Step 2 may return a list of wallets requiring a third call. It does not cover code expiry, resend/rate limits, or whether recovery invalidates existing sessions — gaps that matter for a credential-adjacent flow.

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?

Front-loads the purpose, then lays the flow out in numbered steps, then closes with the exclusion warning. Dense but every sentence carries information an agent needs to sequence the calls correctly.

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?

No output schema and no annotations, so the description must explain returns — and it does for the key branch (a list when multiple wallets exist). It stops short of documenting failure modes, code expiry, or what a successful recovery yields, which leaves a small but real gap for a multi-call stateful flow.

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% so the baseline is 3, but the description earns an extra point because required_parameters is 0 — it is the only thing that tells the agent which parameters belong to which step and which are conditionally needed. The wallet_id condition (multiple wallets returned) is reinforced in context.

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?

States a specific verb and resource ('Recover a previously linked wallet by email') and explicitly contrasts with the sibling wallet_link, which is the most likely confusion point. An agent can tell this apart from linking a new wallet without opening either schema.

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?

Gives explicit when-to-use sequencing (Step 1 email, Step 2 token+code, Step 3 wallet_id) and an explicit negative instruction: 'Do NOT use wallet_link for recovery — it would link your email to the new wallet instead.' That is the strongest form of alternative routing guidance.

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