Revenue summary
revenue_summarySummarize account revenue, cost, profit, and margin for a chosen period, optionally comparing results with the previous period or the same days last month.
Instructions
Account revenue, cost, profit and margin for any period (yesterday, last7d, a month, a date range), optionally compared with the previous period or the same days last month.
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": "revenue_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | today | yesterday | last7d | last30d (both end yesterday) | thisMonth | lastMonth | "YYYY-MM" | {from, to} (YYYY-MM-DD, max 12 months) | thisMonth |
| audience | No | paying = money from paying users (what you earn); all = includes free-plan users. | paying |
| compareTo | No | Adds the same figures for the comparison period and the change. | |
| includeDaily | No | Add one revenue/profit row per day (periods up to 62 days). |