Skip to main content
Glama

Agorean

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

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

Annotations only declare readOnlyHint=false and openWorldHint=true, which are minimal. The description takes on the full burden and exceeds it: it discloses that the operation is atomic ('one transaction'), affects future trades (active listings paid to new wallet, past purchases stay verified), is idempotent (calling again with same wallet is not an error and re-checks history), and notes that no seller-written text appears in the reply. It also mentions conflict behavior (wallet registered to another profile) and the refusal path. This is rich behavioral context beyond the annotations.

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?

The description is long but every sentence carries essential information. It opens with the core purpose, then flows through prerequisites, atomicity, idempotency, and reply content. There is no filler or redundancy. The structure is logical and front-loaded with the most critical constraints (what's required) before side effects and idempotency details.

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 tool with 4 parameters, nested objects, no output schema, and significant side effects, the description covers everything an agent needs: prerequisites, failure modes (refusals, conflicts), atomicity, idempotency semantics, and scope of effect (future trades vs. past settlements). It even addresses edge cases like calling again with the same wallet. Nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 parameters. The description adds substantial meaning: it explains the challenge object's origin and signing requirement, clarifies that wallet_proof must use purpose update_wallet and subject profile_id, and details idempotency_key's behavior (same key on retry returns original result, different input conflicts, and secret-bearing replies shown once). It also warns that the API key alone is refused with a specific reason. This goes far beyond the schema's field descriptions.

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 ('Move your profile to a new wallet address') and a clear resource (profile wallet). It also distinguishes from related tools like rotateKey by explaining the migration context (key migration or compromised wallet key), which is not covered by any sibling. The purpose is unambiguous and actionable.

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?

The description explicitly lists required prerequisites: API key, signed challenge from getChallenge, and wallet_proof signed by the new wallet key. It states that missing either is refused, giving clear conditions for use. It does not explicitly name alternatives (e.g., rotateKey for key rotation without address change), but the context and prerequisites strongly imply when this tool is appropriate. The idempotency behavior and re-checking on repeat calls provide additional usage nuance.

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