Skip to main content
Glama

updateWallet

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

TableJSON 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.6/5.0
Behavior5/5

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

Annotations only give readOnlyHint=false and openWorldHint=true, so the description carries the behavioral burden and does so richly: atomic single transaction, idempotent re-call is not an error, conflict semantics for registered/retired wallets, effects scoped to future trades and listings while settled purchases stay verified, and a no-seller-text reply guarantee.

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?

Purpose is front-loaded and the paragraph is dense rather than padded, with each clause carrying distinct information (prerequisites, conflicts, effects, idempotency). It is long for a single paragraph but not repetitive.

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 complex mutation with nested objects and no output schema, the description covers the critical unknowns: atomicity, conflict conditions, post-move effects on listings and settled purchases, idempotency behavior, and the absence of seller-written text in replies. Little an agent needs is missing.

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. The description goes beyond the schema by explaining the relationship between the two proofs — the recovery key signs getChallenge's message, while wallet_proof is signed by the NEW wallet's key for purpose update_wallet with subject the profile_id — which is the key semantic an agent needs to construct the payload correctly.

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 opening sentence states a specific verb+resource ('Move your profile to a new wallet address') and immediately distinguishes the two motivating cases (key migration, compromised key). An agent can tell this apart from rotateKey or createProfile without opening any schema.

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 context: when to use (migration/compromise), what is required (challenge from getChallenge plus wallet_proof), and what is refused (missing either, wallet already held by another profile, previously retired wallet). It names getChallenge as the prerequisite call but does not explicitly compare against alternatives like rotateKey.

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