Skip to main content
Glama

zora_get_coin_comments

Fetch paginated comments for any Zora coin on Base mainnet to analyze community feedback and discussions.

Instructions

Fetch comments associated with a coin (paginated).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
chainIdNo
afterNo
countNo

Implementation Reference

  • The handler function for the 'zora_get_coin_comments' tool. It takes input parameters, calls CoinsSDK.getCoinComments to fetch the comments, and returns the response as formatted JSON text.
    async ({ address, chainId, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getCoinComments({ address, chain: chainId, after, count, }); return { content: [{ type: "text", text: json(resp) }] }; }
  • Zod input schema defining the parameters for the tool: coin address, chain ID (default), pagination cursor, and count.
    inputSchema: { address: z.string(), chainId: z.number().default(DEFAULT_CHAIN.id), after: z.string().optional(), count: z.number().int().min(1).max(100).optional(), },
  • src/index.ts:188-210 (registration)
    The server.registerTool call that registers the 'zora_get_coin_comments' tool with the MCP server, providing name, metadata, schema, and handler.
    server.registerTool( "zora_get_coin_comments", { title: "Get coin comments", description: "Fetch comments associated with a coin (paginated).", inputSchema: { address: z.string(), chainId: z.number().default(DEFAULT_CHAIN.id), after: z.string().optional(), count: z.number().int().min(1).max(100).optional(), }, }, async ({ address, chainId, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getCoinComments({ address, chain: chainId, 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