Skip to main content
Glama

zora_get_profile_balances

Retrieve coin balances for a wallet or handle on the Zora Coins ecosystem. This tool queries the Base mainnet to list token holdings and profile asset data.

Instructions

List coin balances for a wallet or handle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identifierYes
countNo
afterNo

Implementation Reference

  • Handler function that invokes CoinsSDK.getProfileBalances with provided parameters (identifier, after, count) and returns formatted JSON response.
    async ({ identifier, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileBalances({ identifier, after, count }); return { content: [{ type: "text", text: json(resp) }] }; }
  • Tool metadata including title, description, and Zod input schema for identifier (string), optional count (1-100), and after (string).
    { title: "Get profile balances", description: "List coin balances for a wallet or handle.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, },
  • src/index.ts:248-264 (registration)
    Registers the 'zora_get_profile_balances' tool on the MCP server with schema and handler implementation.
    server.registerTool( "zora_get_profile_balances", { title: "Get profile balances", description: "List coin balances for a wallet or handle.", inputSchema: { identifier: z.string(), count: z.number().int().min(1).max(100).optional(), after: z.string().optional(), }, }, async ({ identifier, after, count }) => { // @ts-expect-error - TypeScript can't resolve barrel exports properly const resp = await CoinsSDK.getProfileBalances({ identifier, 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