RepairWorth Auto Repair Quote Checker
v0.1.1Checks US auto repair quote arithmetic and looks up state repair estimate laws.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_quote Analyze a Repair Quote
Checks the arithmetic of one US auto repair quote or estimate from the amounts read on it: the communicated total and the itemized lines (parts, labor, fees, tax, credits, refundable core charges). Returns the result of the repairworth.com engine unchanged: `basis` (communicated-total, complete-known-breakdown or partial-known-breakdown), the total the quote supports (`displayLowCents`, `displayHighCents`), the sum of the known lines, the lines with no amount (`unknown`), the refundable amounts, and `reconciliation`, the gap between the communicated total and the itemized lines, given only whe…
| Parameter | Type | Description |
|---|---|---|
lines | array | Itemized lines of the quote: parts, labor, fees, tax, credits, refundable charges. |
totalHigh | number | string | Upper bound of the communicated total (range only). US dollars with at most two decimals: a number, or a string such as "85", "85.50" or "$1,234.50". |
totalLow | number | string | Communicated total, or its lower bound. US dollars with at most two decimals: a number, or a string such as "85", "85.50" or "$1,234.50". |
totalMode | string | Status of the total written on the quote. fixed: one amount in `totalLow`. range: `totalLow` to `totalHigh`. unknown, included or not-applicable: no total was communicated, and the known lines are sum… |
compare_quotes Compare Two Repair Quotes
Compares two US auto repair quotes for the same job, A and B, from the amounts read on them. Returns the result of the repairworth.com engine unchanged: `deltaLowCents` and `deltaHighCents` (B minus A, an interval when a quote is a range), `direction` (equal, overlap, a-higher or b-higher), `lineDifferences` (lines matched by `key`: same-amount, amount-differs, status-differs, only-in-a, only-in-b, both-unspecified, same-status) and the scope items the two quotes state differently (`scopeDifferences`, `comparableScope`). When the two ranges overlap the direction is `overlap` and no quote is re…
| Parameter | Type | Description |
|---|---|---|
a * | object | Quote A. |
b * | object | Quote B. |
scopes | object | Optional. What each quote says it covers, so that a price gap is not read without the scope gap. |
maintenance_plan Build a Maintenance Plan
Turns the maintenance services a driver already has a price for, plus an optional monthly reserve, into a total and a monthly amount over a planning horizon. Every service, month and amount comes from the caller: the engine holds no maintenance schedule, no service interval and no price, and it adds none. Returns the result of the repairworth.com engine unchanged: the services in month order, `plannedLowCents` and `plannedHighCents`, the reserve over the horizon, `totalLowCents` and `totalHighCents`, the monthly amounts, and the flags `totalIsPartial` and `monthlyRounded`. Amounts come back in…
| Parameter | Type | Description |
|---|---|---|
months * | integer | string | Planning horizon in whole months, from 1 to 240. Required. |
events | array | Planned services, at most 24 (a row with every field blank is skipped). A plan needs at least one service or a monthly reserve. |
reserveMonthly | number | string | Optional amount set aside each month for unplanned work. When it is left out the total is flagged as partial. US dollars with at most two decimals: a number, or a string such as "85", "85.50" or "$1,2… |
towing_estimate Rebuild a Towing Quote
Rebuilds a towing quote or invoice from its own terms: base fee, distance covered by the base fee, total distance, rate per mile or per kilometer, and other fees. Every rate comes from the quote being checked. Returns the result of the repairworth.com engine unchanged: `billableMiles`, `mileageCents`, `totalCents`, and the flags `totalIsPartial` (other fees unknown) and `mileageRounded`. Distances come back in miles and amounts in integer US cents. The tool holds no market price and no typical range: it does not say what the work should cost or whether a price is fair. An input the engine refu…
| Parameter | Type | Description |
|---|---|---|
base * | number | string | Base or hook-up fee on the towing quote. US dollars with at most two decimals: a number, or a string such as "85", "85.50" or "$1,234.50". |
includedDistance * | number | string | Distance covered by the base fee. 0 when none is included. In the unit given by `unit`, with at most two decimals when sent as a string. |
perDistance * | number | string | Rate per mile or per kilometer on the towing quote. US dollars with at most two decimals: a number, or a string such as "85", "85.50" or "$1,234.50". |
totalDistance * | number | string | Total distance of the tow. In the unit given by `unit`, with at most two decimals when sent as a string. |
unit * | string | Unit of the two distances and of the rate: miles or kilometers. |
fees | number | string | Optional. Other fees on the quote (storage, winching, after-hours). When it is left out the total is flagged as partial. US dollars with at most two decimals: a number, or a string such as "85", "85.5… |
state_estimate_law Look Up a State Estimate Law
Looks up one US state, or the District of Columbia, in the dataset "U.S. State Auto Repair Estimate Laws" published by RepairWorth. Returns the row as published: its `status` (verified, no_statute_found or lead), the statute citation, the URL of the official state source, the rules on written estimates, on exceeding the estimate without new consent and on returning replaced parts, a verbatim quote of the official text, and the date it was checked. An empty value means "not established from the source read", not "no rule". Only state-level law is covered. Not legal advice. Verify the official t…
| Parameter | Type | Description |
|---|---|---|
state * | string | Two-letter USPS code of a US state, or DC. |