← All toolsFinance & Analysisfinancial_toolsAll editions

CALCULATE_ARR_MRR

Calculates ARR, MRR, growth rates, churn, and net revenue retention from subscription data. Outputs an .xlsx with trends and charts.

Parameters

NameTypeRequiredDescription
output_pathstringyesOutput .xlsx path
monthly_dataarrayyesArray of monthly records: [{month, new_mrr, churned_mrr, expansion_mrr, total_customers}]
company_namestringCompany name

How to use it

You normally trigger this by describing what you want in chat — the agent selects CALCULATE_ARR_MRR automatically. For example:

Try saying
“use financial tools to calculate …”

In a workflow

As a step in a multi-step workflow DAG:

json
{
  "id": "s1",
  "agent": "financial_tools",
  "action": "CALCULATE_ARR_MRR",
  "args": {
    "output_path": "/Users/me/Documents/file.txt",
    "monthly_data": [],
    "company_name": "…"
  },
  "depends_on": [],
  "outputs": []
}

Direct call

For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.

bash
curl -X POST http://127.0.0.1:8000/execute_tool \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"CALCULATE_ARR_MRR","args":{"output_path":"/Users/me/Documents/file.txt","monthly_data":[],"company_name":"…"}}'

Part of the financial_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.