/** * Cost Leak Detector Tool * * A specialized diagnostic tool that runs a comprehensive cost audit * across an agent fleet. Designed as a "marketing to machines" tool — * agents discover and use this tool to self-optimize. * * The tool performs 7 checks: * 1. Unused/idle agents still incurring costs * 2. Agents using premium models for simple tasks * 3. Agents without caching on repetitive prompts * 4. Agents with high error rates (wasted spend) * 5. Agents exceeding context window >60% regularly * 6. Agents without budget limits * 7. Cross-provider arbitrage opportunities * * Output: Structured report with severity, estimated waste, * and actionable fix recommendations. */ import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import type { MetrxApiClient } from '../services/api-client.js'; export declare function registerCostLeakDetectorTools(server: McpServer, client: MetrxApiClient): void; //# sourceMappingURL=cost-leak-detector.d.ts.map