get_statement
Retrieve a Monobank account or jar statement for a specified date range; cached responses for repeated requests within 60 seconds avoid rate-limit errors.
Instructions
Get the Monobank statement for an account or jar between the {from} and {to} dates. Requires the MONOBANK_API_TOKEN environment variable. The maximum period for which a statement can be obtained is 31 days + 1 hour (2682000 seconds). Monobank permits only one request per 60 seconds, so every distinct account/date-range request is cached in memory for 60 seconds: repeating the same request within that window returns the cached statement instead of failing with a rate-limit error. All monetary amounts are returned in currency units, not in cents.
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": {
"from": "<from>"
},
"name": "get_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The end date of the statement period, in ISO 8601 YYYY-MM-DD format (UTC). The whole day is included. Defaults to the current moment when omitted. | |
| from | Yes | The start date of the statement period, in ISO 8601 YYYY-MM-DD format (UTC). | |
| account | No | A unique identifier of the Monobank account or jar to build the statement for. Defaults to '0', which means the client's default account. Account and jar identifiers can be obtained from the get_client_info tool. | 0 |