Skip to main content
Glama

listPrompts

Retrieve all available prompts in the MCP Ethers Wallet system to facilitate interactions with Ethereum networks, manage wallets, and execute smart contract operations.

Instructions

List all available prompts in the system

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'listPrompts' tool. Returns a hardcoded list of available prompts (currently only 'resolveEnsAcrossNetworks') in JSON format, wrapped in MCP tool response content.
    async () => { return { content: [{ type: "text", text: JSON.stringify({ prompts: [ { name: "resolveEnsAcrossNetworks", description: "A prompt that guides resolving ENS names on Ethereum mainnet and performing operations with the resolved address on other networks.", arguments: [ { name: "ensName", description: "The ENS name to resolve (e.g., 'vitalik.eth')", required: true }, { name: "targetNetwork", description: "The target network to perform operations on (e.g., 'MEGA Testnet', 'Optimism')", required: true }, { name: "operation", description: "The operation to perform: 'balance' for ETH balance, 'txCount' for transaction count, 'code' for contract code", required: true } ] } ] }, null, 2) }] }; }
  • Registration of the 'listPrompts' tool on the MCP server within the registerPromptTools function. Includes name, description, empty input schema ({}), and inline handler.
    "listPrompts", "List all available prompts in the system", {}, async () => { return { content: [{ type: "text", text: JSON.stringify({ prompts: [ { name: "resolveEnsAcrossNetworks", description: "A prompt that guides resolving ENS names on Ethereum mainnet and performing operations with the resolved address on other networks.", arguments: [ { name: "ensName", description: "The ENS name to resolve (e.g., 'vitalik.eth')", required: true }, { name: "targetNetwork", description: "The target network to perform operations on (e.g., 'MEGA Testnet', 'Optimism')", required: true }, { name: "operation", description: "The operation to perform: 'balance' for ETH balance, 'txCount' for transaction count, 'code' for contract code", required: true } ] } ] }, null, 2) }] }; } );

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