Linear three-step TRID remediation chain. Computes the actual APR from Reg Z Appendix J parameters, verifies APR accuracy against the disclosed figure, and produces a complete TRID fee tolerance cure package. Use this chain when you need to both diagnose an APR disclosure error and quantify the cure amount for loan remediation.
compute_reg_z_appendix_j_apr{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "compute_reg_z_appendix_j_apr",
"arguments": {
"loan_amount": 400000,
"payment_amount": 2528.27,
"num_payments": 360,
"periods_per_year": 12
}
},
"id": 1
}
verify_trid_apr_accuracy{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "verify_trid_apr_accuracy",
"arguments": {
"disclosed_apr_pct": 6.875,
"actual_apr_pct": 6.875
}
},
"id": 2
}
compute_trid_tolerance_cure{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "compute_trid_tolerance_cure",
"arguments": {
"fees": [
{"name": "Origination fee", "bucket": "zero_tolerance", "le_amount": 1500, "cd_amount": 1500},
{"name": "Appraisal fee", "bucket": "ten_pct_cumulative", "le_amount": 600, "cd_amount": 640},
{"name": "Title service", "bucket": "ten_pct_cumulative", "le_amount": 1200, "cd_amount": 1250}
]
}
},
"id": 3
}
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 disclosed APR sits a few basis points above our recomputation. Does it stay inside the Reg Z tolerance?
Run the AINumbers MCP tool `run_chain` with {"chain":"mortgage-apr-accuracy-and-tolerance-cure"} and read `art-217-trid-apr-accuracy.verdict`.
Re-run with `inputs` for `art-217-trid-apr-accuracy`, reusing the values that result echoed, with `disclosed_apr_pct` set to 7.5. 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/mortgage-apr-accuracy-and-tolerance-cure.html