Skip to main content
Glama

zora_explore_most_valuable

Query coins with the highest market capitalization on Zora's Base mainnet to identify top-value assets for market analysis and investment decisions.

Instructions

Coins with highest market capitalization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
afterNo

Implementation Reference

  • src/index.ts:304-310 (registration)
    Registers the 'zora_explore_most_valuable' tool using the exploreTool helper, which calls CoinsSDK.getCoinsMostValuable for the core logic.
    exploreTool( "zora_explore_most_valuable", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsMostValuable, "Most valuable", "Coins with highest market capitalization." );
  • Helper function that defines the shared schema, registration pattern, and wrapper handler for paginated explore tools like 'zora_explore_most_valuable'.
    function exploreTool( name: string, fn: (args: { after?: string; count?: number }) => Promise<unknown>, title: string, description: string ) { server.registerTool( name, { title, description, inputSchema: { count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, }, async ({ after, count }) => { const resp = await fn({ after, count }); return { content: [{ type: "text", text: json(resp) }] }; } ); }
  • Input schema for pagination parameters (count, after) used by the exploreTool, including for 'zora_explore_most_valuable'.
    count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), },
  • Wrapper handler function inside exploreTool that executes the provided fn (CoinsSDK.getCoinsMostValuable for this tool) and formats the response.
    async ({ after, count }) => { const resp = await fn({ after, count }); return { content: [{ type: "text", text: json(resp) }] }; }

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/r4topunk/zora-coins-mcp-server'

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