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_info

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

list_sessions

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

get_policies

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

get_tokens

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

send_token

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

get_balance

Get the current balance of the wallet.

get_addressC

Get the public address of the wallet.

get_assets

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

list_transactions

List transaction history with cursor-based pagination.

get_transaction

Get details of a specific transaction by ID.

get_nonce

Get a nonce for owner wallet signature verification.

call_contract

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

approve_token

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

send_batch

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

get_wallet_info

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

encode_calldata

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_transaction

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

x402_fetch

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_connect

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_disconnect

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

list_incoming_transactions

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

get_incoming_summary

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

waiaas_get_defi_positions

Get DeFi lending positions with health factor and USD amounts.

waiaas_get_health_factorB

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

simulate_transaction

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

erc8004_get_agent_info

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

erc8004_get_reputation

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

erc8004_get_validation_status

Get ERC-8004 validation request status.

get_provider_status

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

sign_message

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

erc8128_sign_request

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_signature

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

list_nfts

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

get_nft_metadata

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

transfer_nft

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

build_userop

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_positions

Get Hyperliquid perpetual positions for a wallet.

waiaas_hl_get_open_orders

Get Hyperliquid open orders for a wallet.

waiaas_hl_get_markets

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

waiaas_hl_get_funding_rates

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_history

Get Hyperliquid trade history (fills) for a wallet.

waiaas_hl_get_spot_balances

Get Hyperliquid spot token balances for a wallet.

waiaas_hl_get_spot_markets

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

waiaas_hl_list_sub_accounts

List Hyperliquid sub-accounts for a wallet.

waiaas_hl_get_sub_positionsB

Get positions for a Hyperliquid sub-account.

waiaas_pm_get_positions

Get Polymarket prediction market positions for a wallet.

waiaas_pm_get_ordersC

Get Polymarket CLOB orders for a wallet.

waiaas_pm_get_markets

Browse Polymarket prediction markets with optional filters.

waiaas_pm_get_market_detail

Get detailed information about a specific Polymarket prediction market.

waiaas_pm_get_events

Get Polymarket events (groups of related markets).

waiaas_pm_get_balance

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

waiaas_pm_get_pnl

Get Polymarket profit and loss summary for a wallet.

waiaas_pm_setup

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

list_offchain_actions

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_url

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_asset

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