zora_explore_new
Discover recently created coins on the Zora Coins ecosystem to explore new market opportunities and analyze emerging digital assets.
Instructions
Most recently created coins.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| after | No |
Implementation Reference
- src/index.ts:312-318 (registration)Registers the "zora_explore_new" tool, delegating execution to CoinsSDK.getCoinsNew via the exploreTool helper which handles pagination input (after, count) and response formatting."zora_explore_new", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsNew, "New coins", "Most recently created coins." ); exploreTool(
- src/index.ts:267-288 (helper)Helper function that registers MCP explore tools with shared input schema for pagination (count, after), title, description, and a generic handler that invokes the provided SDK function and returns JSON-formatted response.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) }] }; } ); }