CALCULATE_ARR_MRR
Calculates ARR, MRR, growth rates, churn, and net revenue retention from subscription data. Outputs an .xlsx with trends and charts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
output_path | string | yes | Output .xlsx path |
monthly_data | array | yes | Array of monthly records: [{month, new_mrr, churned_mrr, expansion_mrr, total_customers}] |
company_name | string | — | Company 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.