Analyse an aged-debtors CSV
analyse_aged_debtors_csvAnalyse a user-supplied aged-debtors CSV and supplied Bank Rate to return review-only UK B2B chase wording with indicative statutory-interest and fixed-compensation calculations. Returns draft text and structured calculations without storing the CSV or sending messages.
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": {
"csv_text": "<csv_text>",
"sender_name": "<sender_name>",
"bank_rate_percent": "<bank_rate_percent>"
},
"name": "analyse_aged_debtors_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_text | Yes | User-supplied aged-debtors export with customer, invoice number, due date and outstanding amount columns. Supports at most 50 invoice rows; split larger exports before calling. | |
| as_of_date | No | Date to calculate overdue days and interest as at; omit to use today in UTC. | |
| draft_stage | No | Tone for the review-only reminder: gentle, formal or final. Omit to use formal wording. | |
| sender_name | Yes | Business or sign-off name used in the review-only draft. | |
| bank_rate_percent | Yes | Bank Rate percentage to use for this indicative calculation. SHVL adds the statutory 8 percentage points. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drafts | Yes | ||
| summary | Yes | ||
| currency | Yes | ||
| as_of_date | Yes | ||
| data_notice | Yes | ||
| review_required | Yes | ||
| not_legal_advice | Yes | ||
| bank_rate_percent | Yes | ||
| annual_rate_percent | Yes | ||
| not_overdue_invoices | Yes |