Skip to main content
Glama

Out-the-door price with the dealer's fees and tax

quote_out_the_door
Read-onlyIdempotent

Use this when the shopper asks what one car will really cost them, its total or out-the-door price, or how much the dealer's fees add: the price with that dealer's own fees and, where the store quotes them, sales tax, title and registration for the shopper's ZIP, e.g. vin: "3GNKBKRS6PS118420", buyer_location: {"zip": "74133"}. Do not use it for monthly payments, loan or lease terms, or what a trade-in is worth.

The ZIP where the shopper will register the car sets the sales tax, the registration and the title fee, and the same car costs a different amount in the next state. It goes in buyer_location: {"zip": ...}, or {"state": ..., "county": ...} when only the state is known. Without it the car is priced at the store's own location, with binding: false, and estimate_note says so.

binding: true means every input is on file and current. binding: false means part of it rests on missing or out-of-date data. When estimate_note is set, it says what the figure rests on. Every line_items entry says where it came from in source: listing and dealer_profile are the dealer's, and state_table is the tax table for the location in buyer_location.

taxes_included: false means the store quotes before government charges: the figure is the price, any discount and the dealer's own fees, with no sales tax, title or registration lines, so it is the price before tax, title and registration and not the full out-the-door price.

total is what it costs to drive the car away. A trade-in or a deposit does not reduce it: pass trade_allowance and the tax drops where the buyer's state gives credit for a trade, but what the buyer still owes after their trade is a financing question this tool does not answer.

A car CarEdge does not hold for these stores answers not_found. A store CarEdge has no pricing arrangement with answers quote_unavailable: that car can be described but not quoted. quote_id, passed to lead_prepare, records on the lead the figures the shopper actually saw.

A car with a rooftop_slug of the form dealer-<id> is at a dealer CarEdge has no pricing setup for, and its answer has participating: false. listing_price is the dealer's own advertised price; estimate holds the out-the-door total for the buyer's ZIP (priced_for: "dealer_zip" when none was given): that price plus the fees and tax in its line_items, each saying in source and detail where its figure came from; a line with included_in_price: true is already in listing_price and not added to total. dti_grade, dti_score and dti_grade_reason are the dealer's Dealer Transparency Index grade where one exists; caredge_car_url is the car's page on caredge.com and caredge_dealer_url the dealer's, null when it cannot be resolved. A VIN not in the marketplace answers not_found.

Fields: money is a decimal string in US dollars. priced_for_zip is the ZIP whose tax, title and registration were used. expires_at is when quote_id stops working. listed_price, when present, is the dealer's own advertised price, not a CarEdge quote. In nearby_prices, sample_complete false means more cars matched than were read. offers, when present, are the dealer's offers the shopper may qualify for, each a label and amount, not taken off total.

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": {
      "vin": "<vin>"
    },
    "name": "quote_out_the_door"
  }
}

Input Schema

NameRequiredDescriptionDefault
vinYesThe 17-character VIN of the car.
rooftop_slugNoWhich store's copy, when the VIN is listed at more than one.
buyer_locationNoWhere the buyer will register the car. Sets the tax.
trade_allowanceNoWhat the dealer allows for a trade-in, e.g. "12000.00".0.00

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the readOnly/idempotent annotations: it explains what binding:true vs false mean, that taxes_included:false yields a figure that is not the full out-the-door price, that total excludes trade/deposit offsets, that trade_allowance lowers tax only in credit states, and the full error taxonomy (not_found, quote_unavailable, participating:false for dealer-<id> rooftops). It also discloses that quote_id expires and is meant to be passed to lead_prepare, and that offers are not deducted from total — behavioral context an agent could not get from annotations.

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

Conciseness3/5

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

Strongly front-loaded with the use case and the ZIP logic prioritized, but the back half is an extended field-by-field glossary (listing_price, dti_grade, caredge_car_url, expires_at, nearby_prices.sample_complete, offers) even though an output schema exists, and not_found is stated twice in different paragraphs. The size is defensible for a complex quoting tool but carries avoidable repetition.

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

Completeness5/5

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

Covers origin of each figure via line_items.source, ZIP substitution fallback, binding/estimate_note semantics, error outcomes, and the handoff of quote_id to lead_prepare — everything an agent needs to call it and interpret the answer given a rich output schema and four parameters.

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, but the description adds real meaning beyond the schema: buyer_location sets sales tax, title and registration, omitting it falls back to the store's ZIP with binding:false and an estimate_note, and trade_allowance changes the tax where the buyer's state allows trade credit. rooftop_slug's 'which store's copy' behavior largely restates the schema, so it is not a full 5.

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 in plain shopper terms ('what one car will really cost them, its total or out-the-door price') and immediately enumerates the exclusions — monthly payments, loan/lease terms, trade-in value — which is exactly what separates it from calculate_finance_payment and estimate_trade_in. An agent can route correctly without opening any schema.

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

Usage Guidelines4/5

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

Opening sentence gives the triggering shopper question and the closing sentence of that paragraph gives explicit when-not guidance ('Do not use it for monthly payments, loan or lease terms...'). It stops short of naming the sibling tools to use instead, so the agent must infer that a payment question belongs to calculate_finance_payment, but the domain boundaries are unambiguous.

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