Skip to main content
Glama

Server Details

Car-buying math and state rules for all 50 states: out-the-door prices with local tax for 7,000+ cities and counties, dealer quote checks, leases, trade-ins, rebates and loans. Free, no account.

Ownership verified
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

16 tools
check_quoteCheck a dealer's quote
Read-onlyIdempotent
Inspect

Reads a dealer's out-the-door quote, pasted as text (up to 8 KB) or given as line items, and checks it line by line: the out-the-door total, the doc fee against the state's cap (and capped service fees such as Ohio's $50 convenience fee), the tax line against the state's rate, finance-office add-ons with typical prices, the trade allowance against written trade-in offers, the trade equity and amount financed, and the walk line. Lines with an email address or phone number are removed before reading and never returned. Nothing is stored.

NameRequiredDescriptionDefault
textNoThe quote as pasted (an email or a buyer's order). Leave out to send lines instead.
linesNoThe quote as line items, instead of text
stateYesTwo-letter state code (DC included), like PA
tax_rateNoCombined sales tax rate as a decimal; leave out to use the state's rate
walk_lineNoThe walk line, out the door
trade_offersNoWritten trade-in offers, to compare the best open one with the allowance
trade_allowanceNoThe trade-in allowance on the quote, when sending lines (read from text otherwise)
best_trade_offerNoThe best written trade-in offer still open (CarMax, Carvana...), to compare with the allowance
compare_quotesCompare dealer quotes
Read-onlyIdempotent
Inspect

Ranks two to ten itemized dealer quotes by out-the-door price, with each one's gap to the lowest and to the walk line, and (with a state) each doc fee against the state's cap.

NameRequiredDescriptionDefault
stateNoTwo-letter state code (DC included), like PA
quotesYes
walk_lineNoThe walk line, out the door
dealer_emailDraft an email to a dealer or lender
Read-onlyIdempotent
Inspect

Fills one of the six Before the Lot email templates (request a quote, make an offer, a competing quote, confirm the deal, decline, tell a lender) with the details given and returns the subject and body. Details are numbers and short labels; contact details are refused.

NameRequiredDescriptionDefault
kindYesWhich email
detailsNo
desk_scriptA line to say at the dealership
Read-onlyIdempotent
Inspect

The Before the Lot line for a moment at the desk. Pass a script id (monthly-payment, trade-first, down-payment, credit-check, numbers-changed, preinstalled-add-ons, initial-worksheet, decide-today, beat-my-rate, fi-product, only-a-month, paint-or-markup, below-invoice, trade-below-offer, leaving) or a short description of the situation.

NameRequiredDescriptionDefault
situationYesA script id or a short description, like "they keep asking my monthly payment"
get_methodGet the Before the Lot method
Read-onlyIdempotent
Inspect

The Before the Lot method: an overview and its seven stages (what to collect, what each produces, which guides, tools and email templates apply, and when the stage is done). Pass a stage id for one stage.

NameRequiredDescriptionDefault
stageNoOne stage id; leave out for the whole method
lease_checkCheck a lease
Read-onlyIdempotent
Inspect

Works a lease quote from MSRP, selling price, residual and money factor (or the lease's APR): the depreciation and rent charges, the payment with tax (and a state lease tax on top where there is one, such as Pennsylvania's 3%; Alabama's 1.5% and West Virginia's 5% lease-payment rates in place of their sales rates; in states that tax a lease once at the start, such as Texas and Ohio, the payment carries no tax and the result says so), the money factor as an APR, and the total cost. With a loan APR and term, it also compares leasing with buying the same car over the lease's months (on a labelled depreciation assumption).

NameRequiredDescriptionDefault
cityNoCity or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP
feesNoAcquisition and other fees rolled into the lease
msrpYesMSRP (sticker price)
stateYesTwo-letter state code (DC included), like PA
countyNoCounty from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP
buy_aprNoA loan APR, to compare with buying
doc_feeNoDoc fee when buying, for the estimated out-the-door; leave out to assume the state's cap, or a typical $450 where there is none
buy_downNoDown payment when buying
tax_rateNoCombined sales tax rate as a decimal (state and local); leave out to use the state's rate. A state lease tax (Pennsylvania's 3%) is added on top either way; Alabama's and West Virginia's own lease-payment rates replace their state sales rate; where the state taxes a lease once at the start (Texas, Ohio), this is that tax's rate and the payments carry none
lease_aprNoThe lease's rate as an APR, instead of the money factor
term_monthsYesLease term in months
money_factorNoMoney factor, e.g. 0.0025
selling_priceYesThe negotiated price the lease is built on
due_at_signingNoCash down, lease rebates and trade equity that lower the price
buy_term_monthsNoLoan term, to compare with buying
disposition_feeNoTurn-in fee at the end
buy_out_the_doorNoOut-the-door price when buying; leave out to estimate it
residual_percentYesResidual as a percent of MSRP (58 for 58%)
loan_paymentLoan payment
Read-onlyIdempotent
Inspect

The monthly payment, total interest and total paid on a car loan, with what a term over 60 months adds in interest compared with 60.

NameRequiredDescriptionDefault
aprYesAPR in percent
amountYesAmount financed
term_monthsYesTerm in months
offers_pageA maker's official offers page
Read-onlyIdempotent
Inspect

Where a maker lists its own current offers (and a model's own page where one can be built), with whether the maker lists national offers at all.

NameRequiredDescriptionDefault
makeYesMake, like Toyota
modelNoModel, like Corolla Cross
out_the_doorOut-the-door estimate
Read-onlyIdempotent
Inspect

Itemizes an out-the-door estimate for a vehicle price: rebates, doc fee, add-ons, the state's sales tax (with its rules on rebates and caps), title and registration. Optionally adds a trade-in (and the tax it saves where the state credits it), a down payment and a loan for the payment. Compares the doc fee with the state's cap and the total with a walk line.

NameRequiredDescriptionDefault
aprNoLoan APR in percent, for the payment
cityNoCity or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP
downNoCash down payment
priceYesVehicle selling price before rebates, fees and tax
stateYesTwo-letter state code (DC included), like PA
countyNoCounty from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP
add_onsNo
doc_feeNoDoc fee; leave out to assume the state's cap, or a typical $450 where there is none
rebatesNoMaker rebates taken off at signing
city_mpgNoWashington DC only: the vehicle's EPA city MPG, with its weight
electricNoWashington DC only: a battery-electric vehicle (its own, lower column)
tax_rateNoCombined sales tax rate as a decimal; leave out to use the state's rate
conditionNoNew or used: a state's tax can apply to new cars only (Oregon)new
title_regNoTitle and registration; leave out for a typical $250
walk_lineNoThe walk line, out the door
other_feesNoAny other fees
term_monthsNoLoan term in months, for the payment
trade_offerNoBest written trade-in offer
trade_payoffNoWhat is still owed on the trade-in
buyer_in_chicagoNoIllinois only: the buyer's address is in the City of Chicago (the city and county given are the dealer's)
vehicle_weight_lbsNoWashington DC only: the vehicle's unladen weight in pounds (DC's excise rate goes by weight and city MPG)
buyer_in_cook_countyNoIllinois only: the buyer's address is in Cook County
payoff_planPayoff plan
Read-onlyIdempotent
Inspect

A payoff plan for a car loan, for paying it off early with an extra payment each month: the months and total interest at the regular payment, and with an extra amount toward principal each month (optionally for only the first so many months, or skipping some), with the months and interest the extra saves and the payoff month each way. Give the balance, the APR, and the months left or the regular payment. Lenders differ in how they apply extra payments, and some charge a prepayment penalty.

NameRequiredDescriptionDefault
aprYesThe loan APR in percent
balanceYesWhat is owed today
paymentNoThe regular monthly payment; or give months_left instead
months_leftNoPayments left at the regular payment; or give payment instead
skip_monthsNoMonths (1 is the next payment) with nothing extra paid
extra_monthlyYesExtra paid toward principal each month
extra_for_monthsNoPay the extra for only the first this-many months; leave out for every month
rebate_vs_aprCash rebate or special APR
Read-onlyIdempotent
Inspect

Compares a maker's cash rebate taken with the person's own loan against the maker's special APR (with any cash that combines with it): each side's payment, interest and total, the difference, the own-loan rate where the two cost the same, and the sales tax a rebate saves in states that tax the price after it. Give the amount financed before the rebate, or a vehicle price to work it out.

NameRequiredDescriptionDefault
cityNoCity or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP
downNoCash down payment
stateYesTwo-letter state code (DC included), like PA
countyNoCounty from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP
rebateYesCash rebate available with your own loan or cash
doc_feeNoDoc fee; leave out to assume the state's cap, or a typical $450 where there is none
own_aprYesYour own loan APR in percent (a pre-approval)
tax_rateNo
promo_aprYesThe maker's special APR in percent
title_regNoTitle and registration
promo_cashNoCash that combines with the special APR
term_monthsYesLoan term in months
trade_offerNoTrade-in offer
trade_payoffNoOwed on the trade-in
vehicle_priceNoVehicle price, to work out the amount financed instead
promo_term_monthsNoThe special APR's longest term, if shorter
amount_financed_before_rebateNoOut-the-door price before the rebate, less down payment and trade equity
refinance_checkCheck a refinance
Read-onlyIdempotent
Inspect

Compares a car loan as it stands with a new loan at a quoted rate, by default over the same months left so a lower payment cannot hide a longer loan, with any fees counted: the new payment, the monthly difference and the total interest saved or added.

NameRequiredDescriptionDefault
feesNoFees for the new loan
balanceYesWhat is owed today
new_aprYesThe APR a lender quoted for the new loan
current_aprYesCurrent APR in percent
current_paymentYesCurrent monthly payment
new_term_monthsNoNew term; leave out to keep the months left
state_rulesState rules for buying a car
Read-onlyIdempotent
Inspect

A state's rules on dealer doc fees, sales tax (state rate, local add-on range, cap), trade-in tax credit, how a maker's rebate is taxed, and cancellation rights where on file, each with its source, as-of date and confidence, plus the link to the state's page.

NameRequiredDescriptionDefault
stateYesTwo-letter state code, like PA
trade_in_positionTrade-in position
Read-onlyIdempotent
Inspect

From written trade-in offers and the payoff: the best offer still open (the floor a dealer's trade number is compared with), the equity or negative equity, and, with a state and vehicle price, the sales tax the trade saves where the state credits it.

NameRequiredDescriptionDefault
cityNoCity or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP
stateNoTwo-letter state code (DC included), like PA
countyNoCounty from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP
offersYes
payoffNoWhat is still owed on the car
doc_feeNoDoc fee; leave out to assume the state's cap, or a typical $450 where there is none
tax_rateNoCombined sales tax rate as a decimal, local tax included (0.07 for 7%); leave out to use the state's rate
vehicle_priceNoThe new vehicle price, for the tax the trade saves
what_can_i_affordWhat can I afford
Read-onlyIdempotent
Inspect

Works out the budget ceiling from a monthly payment: the most that can be financed, the highest out-the-door price after the trade-in tax credit, that ceiling as dealers quote it (before the trade-in credit), and the vehicle price it leaves after the state's tax and typical fees. With a fair price from research, it also gives an opening offer and a walk line. Numbers only; nothing is stored.

NameRequiredDescriptionDefault
aprYesLoan APR in percent (6.49 means 6.49%); a pre-approval rate if they have one
cityNoCity or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP
downNoCash down payment
stateYesTwo-letter state code (DC included), like PA
countyNoCounty from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP
doc_feeNoExpected doc fee; leave out to assume the state's cap, or a typical $450 where there is none
invoiceNoDealer invoice, for a new car, if known
tax_rateNoCombined sales tax rate as a decimal (0.08 for 8%); leave out to use the state's rate
conditionNonew
title_regNoExpected title and registration
fair_priceNoA fair vehicle price from research, before tax and fees
max_paymentYesThe highest monthly payment the person is comfortable with
term_monthsYesLoan term in months
trade_offerNoBest written trade-in offer, if any
trade_payoffNoWhat is still owed on the trade-in

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 16 tool updates
    • First observedcheck_quote
    • First observedcompare_quotes
    • First observeddealer_email
    • First observeddesk_script
    • First observedget_method
    • First observedlease_check
    • First observedloan_payment
    • First observedoffers_page
    • First observedout_the_door
    • First observedpayoff_plan
    • First observedplan_link
    • First observedrebate_vs_apr
    • First observedrefinance_check
    • First observedstate_rules
    • First observedtrade_in_position
    • First observedwhat_can_i_afford

Publisher details

Operator
Volocent Labs LLC · Publisher source
Operator website
https://beforethelot.com
Vendor relationship
First-party
Restrictions
None

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables calculation of vehicle registration, title, and out-the-door fees, state-specific fee lookups, and VIN validation.
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    39 tax tools for US individual taxpayers — federal/state tax calculations, credits, deductions, retirement strategies, audit risk, and tax planning. All calculations run locally, no data leaves the machine. Supports TY2024 and TY2025 (One Big Beautiful Bill Act).
    44
    140 npm
    13
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables an MCP client to check whether a US auto repair quote's total agrees with its itemized lines, compare two quotes line by line, rebuild a towing bill from its own terms, spread planned maintenance over a chosen horizon, and look up one state's law on written repair estimates. It returns only arithmetic computed from caller-supplied amounts — no market price, typical range, or fairness verdict.
    25 npm
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 1099 gig workers and freelancers to calculate 2026 quarterly federal estimates, self-employment tax, safe-harbor minimum payments, and mileage or actual-expense deductions, including the mid-year business mileage rate change from 72.5 to 76 cents. It also compares standard mileage against actual vehicle costs and exposes every tax constant with its source.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources