Get profile
zora_get_profileFetch 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>"
},
"name": "zora_get_profile"
}
}Input 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"), },