UNPKG

@withpica/mcp-server

Version:

MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog

41 lines • 1.23 kB
import { PicaClient } from "@withpica/mcp-sdk"; import type { ToolDefinition, ToolExecutor } from "./index.js"; export declare class RoyaltiesTools { private pica; constructor(pica: PicaClient); getTools(): Array<{ definition: ToolDefinition; executor: ToolExecutor; }>; private listPayments; private getEarnings; private getBlockers; private listStatements; private getStatement; private listUnmatched; private attributePayment; } /** * The one-line message for a song's blockers. It never calls a song clear * unless `state` is "clear" — the honesty rule in the tool description, made * true in the text an agent reads first. */ export declare function songBlockersMessage(result: { state?: string; blockers?: unknown[]; unchecked?: Array<{ reason?: string; }>; }): string; /** The one-line message for the catalogue roll-up. Same honesty rule. */ export declare function catalogueBlockersMessage(data: { summary?: { total?: number; clear?: number; blocked?: number; unknown?: number; unchecked?: unknown[]; }; total_listed?: number; }): string; //# sourceMappingURL=royalties.d.ts.map