merit_get_profit_report
Generate a profit and loss report for a chosen end date and months back, with an optional department filter to isolate performance.
Instructions
Income statement / P&L (POST /api/v1/getprofitrep). endDate is ISO YYYY-MM-DD; periodCount is the number of months back. Optional departmentFilter.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endDate": "<endDate>",
"periodCount": "<periodCount>"
},
"name": "merit_get_profit_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Period end date (YYYY-MM-DD, required) | |
| periodCount | Yes | Number of months back (required) | |
| departmentFilter | No | Department code filter (DepFilter) |