Monthly recurring revenue
get_mrrCalculates current MRR and ARR per currency from active and past-due subscriptions, normalizing billing periods and applying active discounts without combining currencies.
Instructions
Current MRR and ARR per currency. Counts active and past_due subscriptions, normalizes yearly/weekly/daily/multi-month prices and quantities to a monthly amount, and applies percent_off / amount_off discounts that are active right now. Amounts are in minor units (cents); currencies are never combined.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_mrr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||