Linear two-step chain for TMS straight-through reconciliation. Step 1 classifies ISO 20022 camt.053 BkTxCd entries (Domain/Family/SubFamily), validates the OPBD+Σ=CLBD balance equation, and scores structured-remittance match rate against the CGI-MP camt.053 Usage Guide v5.0. Step 2 scores AFP Cash Forecasting Survey 2024 MAPE and directional bias of the treasury cash forecasts against the reconciled actual transaction amounts, closing the TMS forecast-vs-actual cycle. No personal data is processed.
parse_camt053_reconciliation{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "parse_camt053_reconciliation",
"arguments": {
"opening_balance": 100000,
"closing_balance": 105000,
"day_count_convention": "ACT/360",
"transactions": [
{"amount":3000,"credit_debit_indicator":"CRDT","bk_tx_cd":{"domain":"PMNT","family":"RCDT"},"remittance_info":{"structured":true,"end_to_end_id":"E2E-001"}},
{"amount":2000,"credit_debit_indicator":"CRDT","bk_tx_cd":{"domain":"PMNT","family":"BOOK"},"remittance_info":{"structured":true,"end_to_end_id":"E2E-002"}},
{"amount":1500,"credit_debit_indicator":"DBIT","bk_tx_cd":{"domain":"FEES","family":""},"remittance_info":{"structured":false,"end_to_end_id":"NOTPROVIDED"}},
{"amount":500,"credit_debit_indicator":"DBIT","bk_tx_cd":{"domain":"PMNT","family":"ICDT"},"remittance_info":{"structured":true,"end_to_end_id":"E2E-003"}}
]
}
},
"id": 1
}
score_cash_forecast_accuracy{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "score_cash_forecast_accuracy",
"arguments": {
"forecasts": [
{"actual_amount": 3000, "forecast_amount": 3100, "horizon_days": 1, "label": "PMNT/RCDT Day 1"},
{"actual_amount": 2000, "forecast_amount": 1900, "horizon_days": 1, "label": "PMNT/BOOK Day 1"},
{"actual_amount": 1500, "forecast_amount": 1600, "horizon_days": 3, "label": "FEES T+3"},
{"actual_amount": 500, "forecast_amount": 520, "horizon_days": 5, "label": "PMNT/ICDT T+5"}
]
}
},
"id": 2
}
Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this whole workflow on the server and check one field that answers a real question.
Question: The bank statement closed at 10500 against a 10000 opening balance. Does the closing balance tie to opening plus booked activity?
Run the AINumbers MCP tool `run_chain` with {"chain":"corporate-treasury-statement-reconciliation"} and read `art-258-parse-camt053-reconciliation.reconciliation_status`.
Re-run with `inputs` for `art-258-parse-camt053-reconciliation`, reusing the values that result echoed, with `transactions` changed so it carries no transactions, so the closing balance cannot tie. Compare the same field.
Verify: call `verify_execution_hash` (https://mcp.ainumbers.co/mcp) with `claimed_hash` set to `composite_execution_hash` and the full `composite_artifact`.
Ledger, for a human re-check: https://ledger.ainumbers.co/
PII rule: send synthetic or anonymised inputs only. The MCP server runs these kernels and logs no payloads.
Chain page: https://ainumbers.co/chaingraph/chains/corporate-treasury-statement-reconciliation.html