Profitability
get_profitabilityRevenue vs. costs, net profit, and margin over a period, optionally broken down by client. Answers "am I profitable this year?" or "which client is most profitable?"
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_profitability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | A 4-digit year, or this_year / last_year / this_quarter / last_quarter. Omit for the current fiscal year. | |
| byClient | No | Include a per-client profitability breakdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | ||
| period | Yes | ||
| byMonth | Yes | ||
| summary | Yes | ||
| byClient | No | ||
| accountingMethod | Yes |