{"uid":"cap__zr6D5cuN_RUuUuYnKC3i","slug":"business-utils-agent-kpi-calculator-a83d222d","name":"Business Utils Agent – KPI Calculator","description":"A comprehensive business utilities agent offering KPI calculations, ROI analysis, profit margin calculations, customer acquisition cost analysis, churn rate calculations, and AI-powered business plan reviews.","url":"https://business-utils-agent.up.railway.app/kpi/calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object","description":"Dictionary containing business metrics (e.g., {'revenue': 100000, 'cost': 50000})"},"kpis":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"default":null,"description":"Optional list of specific KPIs to calculate (e.g., ['roi', 'profit_margin'])"}}},"responseSchema":{"type":"json","example":{"results":{"roi":2,"profit_margin":0.5,"roi_percentage":200,"profit_margin_percentage":50},"formulas":{"roi":"gain / cost","profit_margin":"profit / revenue"},"explanations":{"roi":"Return on Investment: For every dollar invested, you earn $2.00","profit_margin":"Profit Margin: 50.00% of revenue is profit"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NO21I86fltOk-_vqL7GIG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates business KPIs such as ROI, profit margin, customer acquisition cost, and churn rate from raw business metrics, returning formulas, values, and plain-English explanations.","exampleAgentPrompt":"Calculate my ROI and profit margin — my revenue is $100,000 and my total costs are $50,000. Give me the formulas and a plain-English explanation of what the numbers mean.","exampleUseCases":[{"title":"Startup ROI and profit margin check","prompt":"My startup brought in $250,000 in revenue last quarter with $180,000 in costs. Can you calculate the ROI and profit margin for me, and explain what those numbers actually mean for the business?"},{"title":"E-commerce KPI dashboard refresh","prompt":"Here are my e-commerce numbers: revenue $500,000, cost of goods $300,000, marketing spend $40,000, and I lost 200 out of 2,000 customers. Can you calculate profit margin, ROI, and churn rate and show me the formulas?"},{"title":"Investor pitch KPI preparation","prompt":"I need to prepare KPIs for an investor meeting. My business data: revenue $1,200,000, total costs $800,000. Please calculate ROI and profit margin with explanations I can use to present to investors."}],"resultDescription":"A JSON object containing: 'results' with numeric KPI values and percentages (e.g. roi, profit_margin, roi_percentage, profit_margin_percentage), 'formulas' with the mathematical formula used for each KPI, and 'explanations' with human-readable interpretations of each metric.","failureModes":["Missing required 'data' field returns a validation error","Providing non-numeric values for metrics (e.g. strings instead of numbers) causes computation failure","Requesting an unsupported KPI name in the 'kpis' list may return null or an error for that metric","Supplying a zero cost value can cause division-by-zero errors in ROI calculations","Network timeout or service unavailability on the Railway.app host"],"whenToPreferThis":"Choose this endpoint when you need structured, formula-backed KPI computations with human-readable explanations rather than manual spreadsheet work. It is ideal when you want ROI, profit margin, CAC, or churn rate computed consistently from raw business metric dictionaries, especially when explanations and formulas are needed alongside numbers for reporting or presentation purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:53.586Z","isFirstParty":false}