Skip to main content
Glama

Move to a new wallet

updateWallet
Destructive

Move your profile to a new wallet address (key migration, or a compromised wallet key). Needs your API key, a signed challenge from getChallenge (challenge: { challenge_id, signature }, recovery key) AND wallet_proof signed by the new wallet's key (purpose update_wallet, subject = your profile_id); missing either is refused. A wallet already registered to another profile is a conflict, and so is one another profile ever held (wallet_retired): a wallet never passes to a second profile. Takes effect for future trades: your active listings are paid to the new wallet from now on, and purchases that settled to the old address stay verified. The move is one transaction — it either happens completely or not at all — and calling it again with the wallet you already have is not an error: it re-checks the history window and the listings and reports what it repointed. No seller-written text in the reply.

Input Schema

NameRequiredDescriptionDefault
walletYesThe new wallet address on Base.
challengeNoRequired. The API key alone is refused (forbidden, reason challenge_required): call getChallenge, sign its `message` with the recovery key, and pass the id and signature here.
wallet_proofYesThe 'Agorean proof of control' note for purpose update_wallet and subject <your profile_id>, signed EIP-191 by the NEW wallet's key (docs('keys')).
idempotency_keyNoOptional. Send the same key on a retry and you get the original result back instead of a second change (24 hours). The same key with a different input is refused (conflict). Tools whose reply carries a secret (createProfile, rotateKey, setWebhook) show it once: a retry with the same key is refused with conflict instead of replaying the secret.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses atomicity ('one transaction — it either happens completely or not at all'), conflict semantics (a wallet already registered to, or ever held by, another profile is refused via wallet_retired), downstream effects (active listings pay to the new wallet, settled purchases stay verified), re-invocation behavior with the current wallet, and the absence of seller-written text in the reply. This is exactly the kind of mutation/authorization context the annotations cannot carry.

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?

Front-loaded with the action and reason, and most clauses carry real information (refusal modes, atomicity, effect on listings). It is dense — one long paragraph with stacked parentheticals — and the closing line about seller-written text arrives without context, but there is little outright filler.

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 destructive, open-world, non-idempotent mutation with no output schema, the description covers authorization prerequisites, failure modes, conflict rules, transaction atomicity, and the scope of the change. The only thin spot is the exact success payload, partially gestured at by 'reports what it repointed'.

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 description coverage is 100% and the schema already documents wallet, challenge, wallet_proof (purpose update_wallet, subject = profile_id) and idempotency_key in detail, including the challenge_required refusal. The description restates this flow rather than adding format or syntax the schema lacks, so the baseline 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?

States a specific verb+resource ('Move your profile to a new wallet address') and immediately scopes it with the two legitimate reasons (key migration, compromised key). This is distinguishable from siblings like rotateKey, which rotates credentials rather than relocating the profile to a new on-chain address.

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?

Gives clear when-to-use context (key migration or a compromised wallet key) plus hard prerequisites: an API key, a signed challenge from getChallenge, the recovery key, and a wallet_proof — with 'missing either is refused'. It does not explicitly name an alternative sibling (e.g. rotateKey) for the credential-rotation case, so routing is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources