Skip to main content
Glama

Out-the-door estimate

out_the_door
Read-onlyIdempotent

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.

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_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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral value beyond that: it discloses that a trade-in's tax saving applies only 'where the state credits it', and that the result includes a doc-fee-vs-cap comparison and a total-vs-walk-line comparison — output behavior not visible in the schema.

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

Conciseness5/5

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

Three dense sentences that front-load the core computation and then layer optional branches in the order an agent would consider them. No filler, and the size is proportionate to a 22-parameter tool.

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?

With 22 parameters, no output schema, and rich schema descriptions, the description covers the main computation and even the comparative outputs. Gaps are minor: it never mentions the city/county rate-table dependency or that DC and Illinois require extra inputs, which an agent would only discover by reading 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 95%, so the baseline is 3, but the description earns more by tying parameters to outcomes: the trade-in parameter pair is explained via the tax it saves, down payment and loan are framed as producing 'the payment', and the doc fee is framed as being checked against the state cap. It still doesn't touch the DC-only weight/MPG or Illinois buyer-residence switches, leaving those entirely to the schema.

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 artifact — 'Itemizes an out-the-door estimate for a vehicle price' — then enumerates exactly what goes into it (rebates, doc fee, add-ons, sales tax with rebate/cap rules, title and registration). This is clearly distinguishable from narrow siblings like loan_payment or state_rules because it composes the full OTD figure.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the tool for a full out-the-door total when it has a selling price and a state. There is no explicit when-not or routing to siblings (e.g., 'use state_rules first to check which states have city rate tables', or 'use loan_payment for payment-only math'), so the agent must infer boundaries.

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