Mortgage Offer Grader
grade_mortgage_offerIs this mortgage offer good? Grades a written offer (rate, points, lender fees) A–D against the live Optimal Blue index of actual locked rates for the same product, term, credit score and LTV. Returns spread vs market in basis points, monthly and total cost vs market over the expected holding period, and a plain-language verdict with next step. Price: $0.50 USDC per call via x402 (Base or Solana).
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": {
"rate": "<rate>",
"loan_amount": "<loan_amount>"
},
"name": "grade_mortgage_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ltv | No | Loan-to-value percent | |
| rate | Yes | Offered note rate in percent, e.g. 6.875 | |
| term | No | Loan term in years (default 30) | |
| points | No | Discount points as percent of loan; negative for lender credits (default 0) | |
| loan_type | No | Loan program (default conventional) | |
| lender_fees | No | Lender origination/underwriting fees in USD, excluding third-party costs (default 0) | |
| loan_amount | Yes | Loan amount in USD | |
| credit_score | No | Borrower FICO score | |
| years_in_home | No | Years the borrower expects to keep the loan (default 7) |