Skip to main content
Glama

zora_explore_last_traded

Retrieve recently traded coins on Zora Coins to track market activity and identify trading opportunities.

Instructions

Coins most recently traded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
afterNo

Implementation Reference

  • src/index.ts:318-324 (registration)
    Registration of the 'zora_explore_last_traded' MCP tool. Calls exploreTool helper, which registers a paginated query tool that invokes CoinsSDK.getCoinsLastTraded({after?, count?}) and returns formatted JSON response.
    exploreTool( "zora_explore_last_traded", // @ts-expect-error - TypeScript can't resolve barrel exports properly CoinsSDK.getCoinsLastTraded, "Last traded", "Coins most recently traded." );
  • Helper function exploreTool that handles registration, schema (Zod inputSchema for pagination: count (1-100), after), and shared handler logic for explore tools. Wraps the SDK function call and formats output.
    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) }] }; } ); }
  • Zod input schema for the tool: optional 'count' (int 1-100) and 'after' (string) for pagination.
    inputSchema: { count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), },

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