Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WAIAAS_BASE_URLNoThe URL of the WAIaaS daemon (e.g., http://127.0.0.1:3100).http://127.0.0.1:3100
WAIAAS_SESSION_TOKENNoSession token for the AI agent to authenticate with the WAIaaS daemon.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
connect_infoA

Get self-discovery info: accessible wallets, policies, capabilities, and AI-ready prompt. Call this first to understand your environment.

list_sessionsA

List active sessions with pagination. Admin operation requiring master auth.

get_policiesA

Get policies applied to the wallet. Shows spending limits, whitelists, rate limits, and other rules.

get_tokensB

Get registered tokens (builtin + custom) for a specific network.

send_tokenB

Send SOL/ETH or tokens from the wallet. For token transfers, specify type and token info.

get_balanceC

Get the current balance of the wallet.

get_addressA

Get the public address of the wallet.

get_assetsB

Get all assets (native + tokens) held by the wallet.

list_transactionsB

List transaction history with cursor-based pagination.

get_transactionB

Get details of a specific transaction by ID.

get_nonceB

Get a nonce for owner wallet signature verification.

call_contractA

Call a whitelisted smart contract. Requires CONTRACT_WHITELIST policy. For EVM: provide calldata (hex). For Solana: provide programId + instructionData + accounts.

approve_tokenB

Approve a spender to transfer tokens on your behalf. Requires APPROVED_SPENDERS policy.

send_batchA

Send multiple instructions in a single atomic transaction (Solana only, 2-20 instructions).

get_wallet_infoA

Get wallet info including chain, address, environment, and available networks.

encode_calldataA

Encode EVM function call into calldata hex. Provide ABI fragment array, function name, and arguments. Returns hex calldata and function selector for use with call_contract.

sign_transactionA

Sign an unsigned transaction without broadcasting. Provide raw transaction (base64 for Solana, hex for EVM). Returns signed transaction, parsed operations, and policy evaluation.

x402_fetchA

Fetch a URL with automatic x402 payment. If the server responds with HTTP 402, automatically sign a cryptocurrency payment and retry. Returns the response along with payment details if payment was made.

wc_connectA

Start WalletConnect pairing. Returns a WC URI that the wallet owner can use to connect their external wallet (D'CENT, MetaMask, Phantom, etc). Share the URI with the user -- they can paste it into their wallet app.

wc_statusA

Get WalletConnect session status. Returns session info (peer wallet, chain, expiry) or error if no active session.

wc_disconnectA

Disconnect the active WalletConnect session. After disconnecting, a new pairing must be initiated to reconnect.

list_incoming_transactionsA

List incoming (received) transaction history with cursor-based pagination. Returns confirmed incoming transfers by default.

get_incoming_summaryB

Get a period-based summary of incoming transactions (daily/weekly/monthly totals with USD conversion).

waiaas_get_defi_positionsC

Get DeFi lending positions with health factor and USD amounts.

waiaas_get_health_factorB

Get lending health factor (safe/warning/danger/critical).

simulate_transactionA

Simulate a transaction without executing it. Returns policy tier, estimated fees, balance changes, and warnings. No side effects.

erc8004_get_agent_infoA

Get ERC-8004 agent identity info (on-chain ID, wallet, URI, metadata).

erc8004_get_reputationB

Get ERC-8004 agent reputation summary (score, count, decimals).

erc8004_get_validation_statusC

Get ERC-8004 validation request status.

get_provider_statusA

Get Smart Account provider status: provider name, supported chains, gas sponsorship (paymaster) status.

sign_messageA

Sign a message (personal_sign) or EIP-712 typed data (signTypedData). Returns the signature. EIP-712 is EVM-only.

erc8128_sign_requestA

Sign an HTTP request using ERC-8128 (RFC 9421 + EIP-191). Returns Signature-Input, Signature, and Content-Digest headers for the given HTTP method, URL, headers, and body.

erc8128_verify_signatureB

Verify an ERC-8128 HTTP message signature. Checks RFC 9421 signature validity, recovers the signer's Ethereum address, and validates expiry.

list_nftsA

List NFTs (ERC-721, ERC-1155, Metaplex) owned by the wallet for a specific network. Requires NFT indexer API key.

get_nft_metadataB

Get detailed metadata for a specific NFT (name, image, attributes, CAIP-19 assetId). EVM: contractAddress:tokenId, Solana: mintAddress.

transfer_nftB

Transfer an NFT (ERC-721/ERC-1155/Metaplex) to a recipient address. Default tier: APPROVAL.

build_useropA

Build an unsigned ERC-4337 UserOperation from a transaction request. Returns sender, nonce, callData, buildId. Platform fills gas/paymaster fields before signing.

sign_useropA

Sign a completed UserOperation (with gas/paymaster fields). Returns signed UserOperation with signature and txId for tracking.

waiaas_hl_get_positionsB

Get Hyperliquid perpetual positions for a wallet.

waiaas_hl_get_open_ordersC

Get Hyperliquid open orders for a wallet.

waiaas_hl_get_marketsA

Get Hyperliquid perpetual market list with metadata (leverage limits, etc.).

waiaas_hl_get_funding_ratesB

Get funding rate history for a Hyperliquid perpetual market.

waiaas_hl_get_account_stateB

Get Hyperliquid account state (balances, margins, positions).

waiaas_hl_get_trade_historyB

Get Hyperliquid trade history (fills) for a wallet.

waiaas_hl_get_spot_balancesB

Get Hyperliquid spot token balances for a wallet.

waiaas_hl_get_spot_marketsA

Get Hyperliquid spot market list (trading pairs, token info).

waiaas_hl_list_sub_accountsB

List Hyperliquid sub-accounts for a wallet.

waiaas_hl_get_sub_positionsA

Get positions for a Hyperliquid sub-account.

waiaas_pm_get_positionsB

Get Polymarket prediction market positions for a wallet.

waiaas_pm_get_ordersC

Get Polymarket CLOB orders for a wallet.

waiaas_pm_get_marketsB

Browse Polymarket prediction markets with optional filters.

waiaas_pm_get_market_detailB

Get detailed information about a specific Polymarket prediction market.

waiaas_pm_get_eventsC

Get Polymarket events (groups of related markets).

waiaas_pm_get_balanceB

Get Polymarket USDC.e balance and CTF token positions for a wallet.

waiaas_pm_get_pnlA

Get Polymarket profit and loss summary for a wallet.

waiaas_pm_setupA

Set up Polymarket API keys and optional CTF contract approval for a wallet.

list_offchain_actionsA

List off-chain action history (signedData/signedHttp) with venue/status filter and pagination.

list_credentialsA

List credential metadata for a wallet (names, types, expiry -- never shows values).

get_rpc_proxy_urlA

Get the EVM RPC proxy URL for a wallet and chain. Use this URL as --rpc-url for Forge, Hardhat, ethers.js, or viem.

resolve_assetA

Resolve a CAIP-19 asset identifier to token metadata. Returns address, decimals, symbol, name, network, chainId, isNative, isRegistered.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Wallet BalanceCurrent balance of the wallet
Wallet AddressPublic address of the wallet
System StatusWAIaaS daemon system status
quickstart skillAPI reference: quickstart
wallet skillAPI reference: wallet
transactions skillAPI reference: transactions
policies skillAPI reference: policies
admin skillAPI reference: admin
actions skillAPI reference: actions
x402 skillAPI reference: x402
erc8128 skillAPI reference: erc8128

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/minhoyoo-iotrust/WAIaaS'

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