Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INFURA_API_KEYNoYour Infura API key
ALCHEMY_API_KEYNoYour Alchemy API key
DEFAULT_NETWORKNoThe default network to usemainnet

Tools

Functions exposed to the LLM to take actions

NameDescription
getSupportedNetworks

Get a list of all supported networks and their configurations. For more detailed information about networks, use the getAllNetworks and getNetwork tools.

getBlockNumber-
getGasPrice-
getFeeData-
generateWallet-
loadWallet-
checkWalletExists-
getWalletBalance-
formatEther-
parseEther-
formatUnits-
getWalletTransactionCount-
getBlockDetails-
getTransactionDetails-
getContractCode-
contractCall-
signMessage-
ethSign-
resolveName-
lookupAddress-
sendTransaction-
sendTransactionWithOptions-
prepareTransaction

Prepare a basic ETH transfer transaction for signing. Returns transaction data that can be signed and broadcast.

prepareContractTransaction

Prepare a smart contract interaction transaction for signing. Returns transaction data that can be signed and broadcast.

sendSignedTransaction

Send a signed transaction to the blockchain network. Returns transaction hash and receipt.

getERC20TokenInfo

Get detailed information about an ERC20 token including its name, symbol, decimals, and total supply. Requires the contract address of the token.

erc20_getTokenInfo

Get detailed information about an ERC20 token including its name, symbol, decimals, and total supply. Alternative naming for compatibility with MCP client tests.

getERC20Balance

Get the ERC20 token balance for a specific address. Returns the balance amount along with the token symbol for easy reading.

erc20_balanceOf

Get the ERC20 token balance for a specific address. Alternative naming for compatibility with MCP client tests.

getERC20Allowance

Get the amount of tokens that a spender is approved to spend on behalf of a token owner. Used to check ERC20 approval amounts.

prepareERC20Transfer

Prepare an ERC20 token transfer transaction for signing. Returns transaction data that can be signed and broadcast.

prepareERC20Approval

Prepare an ERC20 token approval transaction for signing. Returns transaction data that can be signed and broadcast.

getNFTInfo

Get information about an ERC721 NFT collection including its name, symbol, and total supply. Provides basic details about the NFT contract.

getNFTOwner

Get the current owner of a specific ERC721 NFT token. Returns the Ethereum address that owns the specified token ID.

erc721_balanceOf

Get the number of ERC721 NFTs owned by a specific address. Alternative naming for compatibility with MCP client tests.

getNFTTokenURI-
erc721_tokenURI-
getNFTMetadata-
transferNFT-
approveNFT-
setNFTApprovalForAll-
prepareERC721Transfer

Prepare an ERC721 NFT transfer transaction for signing. Returns transaction data that can be signed and broadcast.

prepareERC721Approval

Prepare an ERC721 NFT approval transaction for signing. Returns transaction data that can be signed and broadcast.

prepareERC721SetApprovalForAll

Prepare an ERC721 NFT setApprovalForAll transaction for signing. Returns transaction data that can be signed and broadcast.

erc1155_balanceOf-
erc1155_uri-
erc1155_balanceOfBatch-
prepareERC1155Transfer

Prepare an ERC1155 token transfer transaction for signing. Returns transaction data that can be signed and broadcast.

prepareERC1155BatchTransfer

Prepare an ERC1155 batch transfer transaction for signing. Returns transaction data that can be signed and broadcast.

prepareERC1155SetApprovalForAll

Prepare an ERC1155 setApprovalForAll transaction for signing. Returns transaction data that can be signed and broadcast.

getAllNetworks

Get information about all available blockchain networks. Use this to identify network names, chain IDs, and RPC URLs that can be used with other Ethereum tools. When using other tools with a 'provider' parameter, you can specify any of these network names.

getNetwork

Get detailed information about a specific blockchain network. This provides the network's chain ID, native token, and RPC URL that can be used with other Ethereum tools. This network name can be used as the 'provider' parameter in other tools.

listPrompts

List all available prompts in the system

getEnsResolutionGuidance

Get guidance for resolving ENS names across networks and performing operations

Prompts

Interactive templates invoked by user choice

NameDescription
resolveEnsAcrossNetworksA prompt that guides resolving ENS names on Ethereum mainnet and performing operations with the resolved address on other networks.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/crazyrabbitLTC/mcp-ethers-server'

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