zora_get_profile
Fetch profile data for a wallet address or @handle to analyze user activity and holdings within the Zora Coins ecosystem on Base mainnet.
Instructions
Fetch profile for a wallet or @handle.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes |
Implementation Reference
- src/index.ts:212-226 (registration)Registration of the 'zora_get_profile' tool using server.registerTool, including schema and inline handler.server.registerTool( "zora_get_profile", { title: "Get profile", description: "Fetch profile for a wallet or @handle.", inputSchema: { identifier: z.string().min(1, "identifier (wallet or handle) is required"), }, }, async ({ identifier }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfile({ identifier }); return { content: [{ type: "text", text: json(resp) }] }; } );
- src/index.ts:221-225 (handler)The handler function that executes the tool: calls CoinsSDK.getProfile(identifier) and formats the response as MCP content.async ({ identifier }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfile({ identifier }); return { content: [{ type: "text", text: json(resp) }] }; }
- src/index.ts:217-219 (schema)Input schema using Zod: requires a string 'identifier' for wallet address or handle.inputSchema: { identifier: z.string().min(1, "identifier (wallet or handle) is required"), },