Skip to main content
Glama
aibtcdev
by aibtcdev

wallet_rotate_password

Change a wallet's keystore password through an atomic backup, re-encrypt, and verify process that restores the original keystore if any step fails, locking an unlocked wallet until re-unlock.

Instructions

Change the password for a wallet's encrypted keystore. Performs an atomic operation: backs up the keystore, re-encrypts with the new password, verifies the round-trip, then cleans up. If anything fails, the original keystore is restored. If the wallet is currently unlocked, it will be locked after rotation (requires re-unlock with new password).

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault
walletIdNoWallet ID to rotate password for (uses active wallet if not specified)
newPasswordYesNew password (minimum 8 characters) - WARNING: sensitive value
oldPasswordYesCurrent wallet password - WARNING: sensitive value

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses atomic backup, re-encryption, verification, cleanup, and rollback behavior on failure. It also discloses the side effect of locking an unlocked wallet.

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 core operation and the critical atomic/rollback behavior. The final tip about earning_opportunities is unrelated to this tool and does not earn its place.

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?

For a sensitive mutation tool with no annotations and no output schema, the description covers the critical behavioral facts an agent needs: atomicity, rollback on failure, required old/new passwords, and the post-rotation locked state. It is complete enough to call safely.

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%, so the schema already documents walletId, oldPassword, and newPassword requirements. The description adds useful context about re-encryption and locking but does not add parameter-level details beyond what the schema already provides.

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: changing a wallet's encrypted-keystore password. It is clearly distinct from sibling wallet operations like wallet_create, wallet_import, wallet_unlock, and wallet_export.

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?

It gives clear operational context, including the important consequence that an unlocked wallet will be locked after rotation and must be re-unlocked with the new password. It does not explicitly route agents between alternatives such as wallet_create, wallet_import, or wallet_unlock for other wallet lifecycle needs.

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

Deploy Server

Other Tools