web3agent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHAIN_ID | No | Chain ID to use (default 8453 Base). | 8453 |
| ZEROX_API_KEY | No | API key for 0x swaps. | |
| OWS_PASSPHRASE | No | Passphrase for Open Wallet Standard encrypted vault (recommended). | |
| CCXT_CONFIG_PATH | No | Path to JSON file with CCXT exchange credentials. | |
| OWS_FORCE_LEGACY | No | Set to '1' to force legacy filesystem wallet storage. | |
| COINGECKO_API_KEY | No | API key for CoinGecko price data. | |
| WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS | No | Set to '1' to allow private keys/mnemonics in MCP tool responses (not recommended). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wallet_generateA | Generate a new random Ethereum wallet. Returns address and private key once — never stored. Gated: requires WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS=1. Prefer local CLI: npx web3agent wallet generate. |
| wallet_generate_mnemonicA | Generate a new BIP-39 mnemonic phrase with its first derived address. Gated: requires WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS=1. Prefer local CLI: npx web3agent wallet generate --mnemonic. |
| wallet_from_mnemonicA | Derive an address from a BIP-39 mnemonic at optional account/address index. Does NOT return private key. Gated: requires WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS=1 (mnemonic in agent context). Prefer local CLI. |
| wallet_derive_addressesA | Derive multiple addresses from a mnemonic (1-20). Returns index, address, and derivation path. Gated: requires WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS=1 (mnemonic in agent context). Prefer local CLI. |
| wallet_get_activeA | Get the currently active wallet address, chain ID, and mode (private-key, mnemonic, or read-only). |
| wallet_infoA | Get wallet backend metadata, storage security posture, and current wallet state without exposing secrets. |
| wallet_activateA | Activate a wallet from a private key or mnemonic using the selected backend (encrypted OWS vault when available, otherwise legacy wallet storage) and emits wallet-changed. Gated when secrets are in input: requires WEB3AGENT_ALLOW_AGENT_VISIBLE_SECRETS=1. Prefer local CLI: npx web3agent wallet activate. |
| wallet_deactivateA | Deactivate the current runtime/session wallet and revert to read-only ephemeral mode without deleting persisted wallet material. |
| wallet_deleteA | Permanently delete persisted wallet material through the active backend or legacy storage, then revert to read-only ephemeral mode. Destructive: requires explicit confirmation. |
| wallet_set_confirmationA | Toggle write confirmation at runtime. When enabled, write operations are queued and require explicit confirmation. |
| operation_prepareA | Prepare an external-wallet operation for Orbs, LI.FI, or GOAT. Returns the next actions plus opaque resume state. |
| operation_resumeA | Resume a previously prepared external-wallet operation after signatures or transactions complete externally. |
| transaction_confirmA | Confirm a pending operation by ID. Returns the operation details so the caller can execute it. |
| transaction_denyA | Deny and remove a pending operation by ID without executing it. |
| transaction_listA | List all pending operations awaiting confirmation. Automatically prunes expired entries. |
| transaction_simulateA | Simulate an unsigned transaction using RPC trace when available, with fallback static decoding for token balance changes. |
| server_statusA | Get current server status including wallet mode, active chain, confirmation setting, and backend health. |
| list_supported_chainsA | List all supported EVM chains with their chain IDs, names, and native currencies. |
| resolve_tokenA | Resolve a token symbol (e.g. 'USDT', 'WBNB') to its contract address and decimals on a specific chain. Uses a built-in registry of verified canonical addresses for major tokens with DexScreener fallback. ALWAYS call this first when you need a token address — do NOT use blockscout_lookup_token_by_symbol or get_token_info_by_symbol. |
| list_chain_tokensA | List all well-known tokens available in the built-in registry for a specific chain. Returns symbol, address, decimals, and name for each token. |
| lifi_get_chainsA | Get list of chains supported by LI.FI for cross-chain bridging |
| lifi_get_quoteA | Get a cross-chain bridge/swap quote from LI.FI. Supports 20+ EVM chains including Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Linea, Avalanche, zkSync, Scroll, Gnosis, and more. Requires token addresses — use resolve_token first to get addresses. |
| lifi_execute_bridgeA | Execute a cross-chain bridge (write operation, requires wallet and confirmation). Requires token addresses — use resolve_token first to get addresses. |
| lifi_prepare_bridge_intentA | Prepare a cross-chain bridge route for an external wallet. Returns raw transaction steps without executing them. |
| orbs_get_quoteA | Get a quote from Orbs Liquidity Hub for same-chain aggregated swap. Requires token addresses — use resolve_token first to get addresses. |
| orbs_swapA | Execute a same-chain swap via Orbs Liquidity Hub (write, confirmation-gated). Supported chains: 137 (Polygon), 56 (BSC), 8453 (Base), 59144 (Linea), 81457 (Blast), 42161 (Arbitrum). Requires token addresses — use resolve_token first. |
| orbs_prepare_swap_intentA | Prepare a same-chain Orbs swap intent for external wallet signing. Returns required approvals, full quote, and EIP-712 typed data. |
| orbs_get_required_approvalsA | Check whether wrapping native assets or approving Permit2 is required before signing an Orbs swap intent. |
| orbs_submit_signed_swapA | Submit an externally signed Orbs Liquidity Hub swap using the quote returned by orbs_prepare_swap_intent. |
| orbs_swap_statusA | Check the status of a pending Orbs Liquidity Hub swap |
| orbs_place_twapA | Place a TWAP (time-weighted average price) order via Spot protocol. Splits fromAmount into equal chunks executed at regular intervals. Write, confirmation-gated. |
| orbs_prepare_twap_intentA | Prepare a TWAP order for external wallet signing. Returns EIP-712 typed data, approval calldata, and metadata. |
| orbs_place_limitA | Place a limit order via Spot protocol. Executes only when output meets minimum amount. Write, confirmation-gated. |
| orbs_prepare_limit_intentA | Prepare a limit order for external wallet signing. Returns EIP-712 typed data, approval calldata, and metadata. |
| orbs_place_orderA | Place a gasless order via Spot protocol. Supports market, limit, TWAP, stop-loss, take-profit, and delayed orders. Order type determined by parameters: limit (outputLimit > 0), chunked/TWAP (fromMaxAmount > fromAmount + epoch), stop-loss (outputTriggerLower), take-profit (outputTriggerUpper), delayed (future start). Write, confirmation-gated. |
| orbs_prepare_order_intentA | Prepare a Spot order for external wallet signing. Returns EIP-712 typed data, approval calldata, submit URL, and order metadata. Supports all order types. |
| orbs_submit_signed_orderA | Submit an externally signed Spot order using the submit URL and order from orbs_prepare_order_intent. |
| orbs_query_ordersA | Query Spot orders by swapper address or order hash. Falls back to SDK query if Spot API unavailable. |
| orbs_cancel_orderA | Cancel a Spot order onchain by calling RePermit.cancel with the order digest. Write, confirmation-gated. |
| policy_getA | Get current treasury policy limits and spend totals. Shows per-transaction, hourly, and daily caps plus how much budget remains. Read-only — policy limits are set by the user, not the agent. |
| x402_check_requirementsA | Check if a URL requires x402 payment. Returns payment requirements (amount, network, token) or confirms no payment needed. Use before x402_fetch to preview costs. |
| x402_fetchA | Fetch a URL, automatically paying via x402 protocol if required. Checks payment cost first, queues confirmation if payment needed, then executes. No-op if no payment required. |
| erc8183_create_jobB | Create an ERC-8183 job. |
| erc8183_set_budgetB | Set ERC-8183 job budget in payment token smallest units. |
| erc8183_fund_jobA | Fund ERC-8183 job escrow. Performs allowance check + approve if needed, then funds in one confirmation flow. |
| erc8183_submit_jobC | Submit job deliverable hash for an ERC-8183 job. |
| erc8183_complete_jobA | Complete an ERC-8183 job and release escrow. |
| erc8183_reject_jobC | Reject an ERC-8183 job. |
| erc8183_claim_refundA | Claim refund from an expired/rejected ERC-8183 job. |
| erc8183_get_jobA | Read ERC-8183 job details by ID. |
| acp_create_jobA | Create a job on the Virtuals ACPRouter (Base). Specify provider, evaluator, description, and expiry. |
| acp_set_budgetB | Set a job budget on the Virtuals ACPRouter using setBudgetWithPaymentToken and optional token override. |
| acp_fund_jobA | Fund a Virtuals ACPRouter job. Automatically checks allowance, approves ERC-20 if needed, then creates payable memo escrow. |
| acp_submit_jobA | Submit a deliverable memo on the Virtuals ACPRouter and advance the job to evaluation phase. |
| acp_complete_jobA | Complete a job on the Virtuals ACPRouter by auto-resolving the pending memo and signing approval. |
| acp_reject_jobB | Reject a job on the Virtuals ACPRouter by auto-resolving the pending memo and signing rejection. |
| acp_claim_refundA | Claim remaining budget for a Virtuals ACPRouter job using claimBudget. |
| acp_get_jobA | Get job details and full memo history from the Virtuals ACPRouter. Shows phase, participants, budget, and all memos with their status. |
| agdp_get_offeringsA | Search the aGDP marketplace for AI agent offerings. Returns agent profiles with capabilities, metrics, and available services. |
| agdp_get_offeringA | Get detailed information about a specific agent offering by ID. |
| agdp_get_my_jobsA | List your active or completed jobs from the aGDP marketplace. Requires an active wallet. |
| agdp_hire_agentA | Hire an AI agent from the aGDP marketplace via API (write operation, requires wallet and confirmation). For on-chain job creation, use acp_create_job separately. |
| agdp_create_offeringB | Create a new offering on the aGDP marketplace. NOTE: requires a LITE_AGENT_API_KEY from Virtuals — visit agdp.io/join to register. |
| erc8004_register_agentA | Register an agent on the ERC-8004 Identity Registry (write operation, wallet + confirmation required). |
| erc8004_get_agentA | Get ERC-8004 agent identity. Requires either agentId (token ID) or walletAddress — provide at least one. |
| erc8004_update_agentA | Update ERC-8004 agent metadata URI (write operation, wallet + confirmation required). |
| erc8004_submit_feedbackA | Submit reputation feedback for an ERC-8004 agent (write operation, wallet + confirmation required). |
| erc8004_get_feedbackA | Get aggregate ERC-8004 reputation summary for an agent with optional tag filters. |
| ccxt_list_exchangesA | List CCXT-supported exchanges and summarize which ones have configured authenticated accounts, public market access, and available market-type metadata. |
| ccxt_describe_exchangeA | Inspect a CCXT exchange or configured account and return supported methods, market types, timeframes, symbols, and invocation modes so callers can route requests safely. |
| ccxt_list_accountsA | List configured CCXT accounts from CCXT_CONFIG_PATH with redacted metadata only. Secrets are never returned. |
| ccxt_public_callA | Invoke a public CCXT unified or implicit method on a selected exchange. Use ccxt_describe_exchange first for capability discovery when calling niche methods. |
| ccxt_private_readA | Invoke an authenticated read-only CCXT method using a configured named account. This covers balances, positions, orders, fills, and private implicit GET-style endpoints. |
| ccxt_private_writeA | Invoke an authenticated mutating CCXT method using a configured named account. This covers order placement, cancellation, leverage, transfers, withdrawals, and private implicit write endpoints. |
| market_get_protocol_tvlA | Fetch the Total Value Locked (TVL) for a specific DeFi protocol by its DefiLlama slug. Returns current TVL in USD, percentage changes over 1d/7d/30d periods, per-chain TVL breakdown, protocol category, and website URL. |
| market_get_top_protocolsA | Retrieve a ranked list of the top DeFi protocols by TVL from DefiLlama. Returns protocol name, current TVL, 1-day TVL change, first listed chain, category, and DefiLlama slug for each entry in the list. |
| market_get_chain_tvlA | Retrieve the historical TVL time series for a specific blockchain network from DefiLlama. Returns a list of date/TVL pairs showing how the chain's total locked value has evolved over time. |
| market_get_token_priceA | Fetch current USD prices for one or more tokens using DefiLlama's price oracle. Accepts token identifiers in the format 'chain:address' (e.g. 'ethereum:0x...') and returns price, symbol, decimals, confidence score, and last-updated timestamp for each token. |
| market_get_token_historyA | Fetch historical price data for a token from CoinGecko by its coin ID. Returns OHLC candlestick data and market cap/volume history for the specified number of days. |
| market_get_gainers_losersA | Retrieve the top gaining and losing tokens over a specified time period from DefiLlama. Returns separate lists of gainers and losers, each with token symbol and price change percentage. |
| market_get_dex_volumeA | Fetch 24-hour trading volume data for decentralized exchanges from DefiLlama. Returns a ranked list of DEXes with their daily and total volume figures. |
| market_get_stablecoin_statsA | Retrieve stablecoin market statistics from DefiLlama, including circulating supply and peg data. Returns a list of stablecoins with their name, symbol, total circulating supply, peg type, and peg mechanism. |
| market_get_global_statsA | Fetch aggregate global DeFi market statistics from DefiLlama. Returns total DeFi TVL across all chains and protocols, providing a macro view of the DeFi ecosystem. |
| market_get_cex_fund_flowsA | Fetch net fund flow data for centralized exchanges from DefiLlama's CEX tracker. Returns inflow and outflow amounts for each exchange, useful for monitoring capital movements on CEXes. |
| market_get_exchange_rankingsA | Retrieve a ranked list of centralized exchanges from DefiLlama by their assets under management. Returns exchange name, total assets, reported vs clean volume metrics, and number of coins/pairs tracked. |
| market_get_sentimentA | Fetch the Crypto Fear & Greed Index from alternative.me for the specified number of recent days. Returns the current index value with classification (e.g. Fear, Greed) plus historical daily readings. |
| market_get_trendingA | Fetch the currently trending cryptocurrencies on CoinGecko based on search activity. Returns a list of trending coins with their name, symbol, CoinGecko ID, and market cap rank. |
| market_get_top_tokensA | Retrieve the top cryptocurrencies by market capitalization from CoinGecko. Returns name, symbol, current price, market cap, 24h price change percentage, and trading volume for each token. |
| market_search_tokenA | Search for cryptocurrencies, exchanges, and NFTs on CoinGecko by keyword. Returns matching coins with their CoinGecko ID, symbol, name, and market cap rank. |
| market_get_categoriesA | Fetch a list of cryptocurrency categories from CoinGecko with their aggregate market data. Returns category name, total market cap, 24h market cap change, and top-3 coins for each category. |
| market_get_tickerA | Deprecated: prefer ccxt_public_call and ccxt_describe_exchange for new integrations. Fetch real-time 24-hour ticker statistics for a trading pair from Binance. Returns last price, price change, high/low, volume, bid/ask, and quote volume for the specified symbol. |
| market_get_klinesA | Deprecated: prefer ccxt_public_call and ccxt_describe_exchange for new integrations. Fetch candlestick (OHLCV) chart data for a trading pair from Binance at a specified interval. Returns open, high, low, close price, volume, and timestamp for each candle in the requested range. |
| market_get_order_bookA | Deprecated: prefer ccxt_public_call and ccxt_describe_exchange for new integrations. Fetch the current order book depth for a trading pair from Binance. Returns bid and ask price levels with their quantities up to the requested depth. |
| market_get_funding_ratesA | Deprecated: prefer ccxt_public_call and ccxt_describe_exchange for new integrations. Fetch the current perpetual futures funding rates for one or all symbols from Binance. Returns the funding rate, funding time, and mark price for each perpetual contract, which is useful for tracking carry costs in leveraged positions. |
| research_contract_securityA | Analyze the security posture of a smart contract by querying GoPlus Security. Returns audit flags such as honeypot detection, proxy patterns, ownership renouncement, trading restrictions, and other risk indicators for the given contract address. |
| research_token_due_diligenceA | Perform comprehensive due diligence on a token by aggregating security, holder distribution, and market data from multiple sources. Returns a structured risk assessment covering contract safety flags, top holder concentration, and liquidity metrics to support informed investment decisions. |
| research_token_holdersA | Retrieve the top token holders for a given contract address using GoPlus Security data. Returns a ranked list of holder addresses with their balance and percentage share of the total supply, enabling analysis of holder concentration and whale exposure. |
| research_yield_opportunitiesA | Discover DeFi yield farming and liquidity pool opportunities from DefiLlama's yields API. Returns a filtered and ranked list of pools with APY, TVL, chain, protocol, and pool metadata to help identify the best yield strategies across the ecosystem. |
| research_compare_yieldsA | Compare yield opportunities for a specific token across multiple DeFi protocols and chains. Returns matching pools sorted by APY so you can quickly identify where a given token earns the most yield, including TVL and protocol information for each option. |
| research_protocol_infoA | Get detailed information about a DeFi protocol including TVL, chain breakdown, category, audit history, and funding rounds from DefiLlama. If the protocol has a CoinGecko-listed token, also returns developer activity, community stats, and sentiment data. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Apegurus/web3agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server