Prime or SOFR plus margin loan rate
loan_rate_calculatorThe all-in variable rate today for a loan priced at an index plus a margin, such as an SBA 7(a) loan at prime + 2.75, a business line of credit at prime + 1 or a commercial loan at 30-day average SOFR + 2.5, with an optional floor or cap and the monthly payment for an amount and term.
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": {
"index": "<index>",
"margin_percent": "<margin_percent>"
},
"name": "loan_rate_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | The rate index the loan is priced on. | |
| years | No | Amortization term in years. Default 10. | |
| amount | No | Loan amount in dollars, for a monthly payment. | |
| cap_percent | No | Rate cap in percent, if the loan has one. | |
| floor_percent | No | Rate floor in percent, if the loan has one. | |
| margin_percent | Yes | Percentage points over the index, e.g. 2.75. |