{"uid":"cap_lLBv1LKzpALrL4IdAguSp","slug":"vibes-coded-mcp-catalog-token-tax-analyzer-53039e8e","name":"Vibes-Coded MCP Catalog Token Tax Analyzer","description":"Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.","url":"https://vibes-coded.com/api/v1/outcomes/mcp-catalog-token-tax?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"encoding":"cl100k_base","resource":"mcp-catalog-token-tax","tool_count":12,"generated_at":"2026-08-16T20:00:00Z","total_tokens":28410,"recommendation":"Top 4/12 tools cost 61% of the catalog context. Load only those; lazy-load or drop the tail.","prune_candidates":[{"name":"database_query","chars":8900,"tokens":4102,"cumulative_pct":14.4,"cumulative_tokens":4102},{"name":"web_search","chars":4700,"tokens":2180,"cumulative_pct":22.1,"cumulative_tokens":6282},{"name":"file_read","chars":4200,"tokens":1993,"cumulative_pct":29.1,"cumulative_tokens":8275}],"approx_context_share_pct":22.2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T7WU2Bt80mHG2QX6kSE7b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an MCP tool catalog to count tokens per tool, identify bloated tools, and recommend which to prune or lazy-load to reduce context window overhead.","exampleAgentPrompt":"Can you analyze my MCP tool catalog called 'mcp-catalog-token-tax' and tell me which tools are eating the most tokens — I want to know what to prune so my agent's context window isn't wasted on tools nobody calls?","exampleUseCases":[{"title":"Prune bloated agent tool catalog","prompt":"My agent is running out of context space and I think it's because the tool definitions are too large. Can you run the token tax analysis on my MCP catalog 'mcp-catalog-token-tax' and tell me which tools I should drop or lazy-load to get my context usage under control?"},{"title":"Audit new MCP catalog before deployment","prompt":"Before I ship this new agent, I want to audit the tool catalog token footprint. Run the token tax check on 'mcp-catalog-token-tax' and give me a breakdown of which tools cost the most tokens and what share of the total context they're eating."},{"title":"Optimize context for cost-sensitive agent","prompt":"I'm paying per token on every agent run and my tool schemas are killing me. Analyze the 'mcp-catalog-token-tax' catalog and recommend exactly which tools to cut so the top tools don't dominate the whole context budget."}],"resultDescription":"Returns a JSON object with the total token count for the catalog, a per-tool breakdown showing character count, token count, and cumulative token percentage, the approximate percentage of the context window consumed by the catalog, and a human-readable recommendation identifying the top token-heavy tools and suggesting which to load eagerly versus lazy-load or drop entirely.","failureModes":["Catalog identifier not found — returns error with unknown resource","Malformed catalog input — returns 400 with parsing error","Payment not included — returns HTTP 402 requiring USDC payment","Catalog too large to process — may timeout or return partial results","Token encoding mismatch if catalog uses non-standard characters"],"whenToPreferThis":"Choose this endpoint when you need to specifically quantify and rank the token cost of MCP tool definitions in an agent's context window. It is purpose-built for MCP catalog token auditing rather than generic text token counting, and provides actionable prune recommendations rather than just raw counts. Prefer it when optimizing agent deployments where context window budget is constrained or per-token costs are significant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:49:39.517Z","isFirstParty":false,"canonicalSlug":"vibes-coded-mcp-catalog-token-tax-analyzer-53039e8e"}