Skip to main content
Glama

Out-the-door estimate

out_the_door
Read-onlyIdempotent

Itemizes the out-the-door price of a car from its selling price: rebates, doc fee, add-ons, sales tax with the state's rules and, given a city or county, its local rate (7,000+ places in 23 states), and title and registration. Optionally adds a trade-in (and the tax it saves where the state credits it), a down payment and a loan payment, and compares the doc fee with the state's cap and the total with a walk line. Use it for the total cost of a price; for a dealer's quote, use check_quote. Returns each line, the total and a planner link.

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": {
      "price": "<price>",
      "state": "<state>"
    },
    "name": "out_the_door"
  }
}

Input Schema

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_onsNoDealer add-ons and their prices (paint protection, VIN etching, a service contract)
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / add_ons / description
      Added value: +"Dealer add-ons and their prices (paint protection, VIN etching, a service contract)"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavioral context beyond them: it discloses lookup coverage (7,000+ places in 23 states), jurisdictional rules (trade-in tax credit where the state allows, Chicago/Cook buyer nuances implied), that the doc fee is compared to the state cap, that the total is compared to a walk line, and that a planner link is returned. It stops short of describing default-filling behavior in prose, though the schema carries those defaults.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core computation is front-loaded in the first clause, followed by optional add-ons, the routing exclusion, and the return shape. It is dense and nearly waste-free, though the middle sentence is long enough that the optional-input list takes some parsing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 22-parameter, high-complexity estimator with no output schema, the description says what comes back (each line, the total, a planner link) and signals the jurisdiction-dependent edge cases (state cap comparisons, local rate tables, trade-in tax credit, walk line). Minor gaps remain around default substitution for omitted doc fee/title and reg, but those live in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above baseline by grouping the 22 parameters into coherent feature sets (trade-in plus the tax it saves, down payment plus loan payment via apr/term_months, optional city/county rate lookup, walk-line and doc-fee-cap comparisons). This tells an agent which parameters are interdependent, which individual schema entries do not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Itemizes the out-the-door price of a car from its selling price') and enumerates the components it computes: rebates, doc fee, add-ons, sales tax, local rate, title and registration. It also explicitly names the sibling it is not (check_quote), so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing sentence: 'Use it for the total cost of a price; for a dealer's quote, use check_quote.' This gives both the positive case and the exclusion with the named alternative, which is exactly what disambiguates it from the quote-oriented siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources