{"uid":"cap_zovJM54blf4W_D8EnPz4o","slug":"business-frameworks-reinvest-or-distribute-decision-engine-636ba873","name":"Business Frameworks: Reinvest or Distribute Decision Engine","description":"","url":"https://business-frameworks.matryoshka-paradigms.workers.dev/apply/value/decide/reinvest-or-distribute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["r_pct","cash_available","runway_target","candidates"],"properties":{"r_pct":{"type":"number"},"candidates":{"type":"array","items":{"type":"object","required":["name","cash_required","expected_return_pct"],"properties":{"name":{"type":"string"},"probability":{"type":"number","maximum":1,"minimum":0,"description":"below $5M: probability the use works"},"cash_required":{"type":"number","minimum":0},"expected_return_pct":{"type":"number"}}}},"revenue_usd":{"type":"number","description":"below $5M each candidate's probability is applied"},"runway_target":{"type":"number","minimum":0,"description":"cash to hold before any distribution"},"cash_available":{"type":"number","minimum":0}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_ydACtBs1o2Q2btUGvMHVY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies the reinvest-or-distribute framework to caller-supplied financials, ranking candidate uses by expected return, identifying which to fund, where to stop, and how much to distribute.","exampleAgentPrompt":"I have $400,000 in cash, a runway target of $150,000, and a hurdle rate of 12%. My candidates are: hiring a sales rep ($80k required, 18% expected return, 0.7 probability), a marketing campaign ($50k required, 22% expected return, 0.6 probability), and new equipment ($120k required, 9% expected return, 0.8 probability). Rank them, tell me which to fund, where to stop, and how much I can distribute.","exampleUseCases":[{"title":"Startup capital allocation after funding round","prompt":"We just closed a seed round and have $600,000 available. Our runway target is $200,000 and our hurdle rate is 15%. We have three candidates: expanding engineering headcount ($150k, 20% expected return, 0.65 probability), an SEO content push ($40k, 25% expected return, 0.8 probability), and opening a second office ($300k, 11% expected return, 0.7 probability). Tell me which to fund, in what order, where to stop, and what's left to distribute."},{"title":"SMB owner deciding year-end profit distribution","prompt":"My business has $180,000 in cash at year-end, I want to hold $60,000 as runway, and my hurdle rate is 10%. Candidates are: buying delivery vans ($70k, 14% return, 0.9 probability) and upgrading POS software ($20k, 18% return, 0.95 probability). Run the reinvest-or-distribute decision and tell me what I can safely pay out."},{"title":"CFO evaluating Q3 reinvestment options","prompt":"We have $1.2M available, a $400k runway target, and a hurdle rate of 8%. Our investment candidates are: a product feature sprint ($200k required, 12% expected return, 0.75 probability), a trade show sponsorship ($80k required, 9% expected return, 0.6 probability), and a warehouse lease ($500k required, 7% expected return, 0.85 probability). Rank these, show me which clear the hurdle, where to stop, and how much we should distribute."}],"resultDescription":"Returns a ranked list of candidate investments ordered by risk-adjusted expected return, identifies which candidates to fund and where to stop (the cutoff), calculates the distributable cash remainder after funding approved candidates and reserving runway, and provides the full worked decision rationale along with the framework node text and its public citations.","failureModes":["Missing required fields (r_pct, cash_available, runway_target, candidates) returns a validation error","candidates array empty or malformed causes a schema rejection","probability values outside 0–1 range are rejected by schema validation","cash_available less than runway_target may result in zero distributable cash and no funded candidates","Incorrect bodyType or method returns an HTTP 400 or 405 error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, rules-based capital allocation decision applied to your own specific numbers — not a generic explanation of the reinvest-or-distribute concept. It is ideal when you have a concrete list of investment candidates with expected returns and need to know the funding cutoff and distributable amount in a single call, without relying on an LLM's probabilistic reasoning for financial arithmetic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:37:53.015Z","isFirstParty":false,"canonicalSlug":"business-frameworks-reinvest-or-distribute-decision-engine-636ba873"}