Skip to main content
Glama

set_demo_wallet

Idempotent

Switch demo wallets for simulation mode. Use pre-set personas, custom addresses, or clear the wallet to test transactions without broadcasting.

Instructions

DEMO MODE ONLY — switch the active demo wallet via one of three input shapes. Once a wallet is set, demo mode upgrades from default (signing-class tools refuse) to live mode (prepare_, simulate_, preview_send run REAL against the wallet's on-chain state; send_transaction returns a simulation envelope instead of broadcasting). INPUT SHAPES: (1) { chain, type } — per-cell loader. e.g. { chain: 'bitcoin', type: 'whale' } loads ONE address into the BTC slot, leaving evm/solana/tron slots untouched. Multiple per-cell calls accumulate; same chain twice replaces. Chains: evm | solana | tron | bitcoin. Types: defi-degen | stable-saver | staking-maxi | whale. Some cells are intentionally null (BTC defi-degen, Solana staking-maxi, etc.) — call get_demo_wallet first to see the matrix. (2) { persona } — batch loader. Same as four per-cell calls for one type at once. Convenience for 'load me a whole whale wallet across every chain that has one'. (3) { custom: { evm: [...], solana: [...], tron: [...], bitcoin: [...] } } — arbitrary addresses (read-only, no security risk). Pass {} (no args) to clear and return to default demo mode. Calling outside demo mode (env unset) returns a no-op response — the tool stays available so an agent can always discover the surface, but never affects real signing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain dimension of the demo-wallet matrix. Pair with `type` to load a single (chain, type) cell. Replaces any previous slot for this chain; other chains stay as they are.
typeNoType / archetype dimension of the demo-wallet matrix. Pair with `chain` to load a single (chain, type) cell.
personaNoPersona / type ID to batch-activate across every chain that has a curated cell. Convenience over four `{ chain, type }` calls. Mutually exclusive with `chain`+`type` and with `custom`. Omit all three to clear the live wallet.
customNoCustom address bundle. Mutually exclusive with `chain`+`type` and `persona`. At least one chain field must be non-empty.
Behavior5/5

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

The description fully discloses behavioral traits: it upgrades demo mode from default to live, affects tools like prepare_* and send_transaction, describes per-cell replacement semantics, and clarifies that empty args clear the wallet. No contradictions with annotations (idempotentHint=true matches replace behavior).

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 dense and well-structured with numbered lists for input shapes. It is slightly verbose but every sentence adds value. Front-loading the core purpose helps.

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?

Given the tool's complexity (three input shapes, demo mode behavior, side effects on other tools), the description is remarkably complete. It covers edge cases (null cells, no-op outside demo mode), clearing wallet, and the impact on other tool groups. No output schema is needed as behavior is fully described.

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%, and the description adds significant value beyond schema: mutual exclusivity of parameter groups, examples for each shape, explanation of per-cell vs batch loading, and clarification of null cells. This fully compensates for the lack of an output schema.

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 clearly states the tool's purpose: switching the active demo wallet via three input shapes. It distinguishes itself from siblings like 'get_demo_wallet' and 'exit_demo_mode' by specifying its unique role in demo mode configuration.

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 limits usage to demo mode, explains the three input shapes with examples, and notes that calling outside demo mode returns a no-op. It could be enhanced by explicitly mentioning when to prefer alternatives like 'exit_demo_mode', but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szhygulin/recon-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server