{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "beforethelot.com",
    "site": "beforethelot.com",
    "addresses": [
      {
        "address": "172.67.217.84",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.208.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.16.247",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.16.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::6815:10f7",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3035::ac43:d954",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3035::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.217.84",
          "104.21.16.247",
          "2606:4700:3033::6815:10f7",
          "2606:4700:3035::ac43:d954"
        ],
        "first_seen": "2026-11-24T08:09:02.301Z",
        "last_seen": "2026-11-24T08:09:02.301Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.21.16.247",
          "172.67.217.84",
          "2606:4700:3033::6815:10f7",
          "2606:4700:3035::ac43:d954"
        ],
        "first_seen": "2026-11-23T08:00:09.920Z",
        "last_seen": "2026-11-23T08:00:09.920Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.217.84",
          "104.21.16.247",
          "2606:4700:3035::ac43:d954",
          "2606:4700:3033::6815:10f7"
        ],
        "first_seen": "2026-11-22T07:59:01.963Z",
        "last_seen": "2026-11-22T07:59:01.963Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "Before the Lot",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.beforethelot",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "7247",
    "server_name": "com.beforethelot/before-the-lot",
    "url": "https://beforethelot.com/mcp",
    "host": "beforethelot.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T08:09:02.301Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "3fb5897d821bc140e796e5483084778754304a621f4030b21d1450d53de433a9",
    "first_listed_at": "2026-11-21T07:21:02.989Z",
    "created_at": "2026-11-21T05:20:09.334Z",
    "resolved_addresses": [
      "172.67.217.84",
      "104.21.16.247",
      "2606:4700:3033::6815:10f7",
      "2606:4700:3035::ac43:d954"
    ]
  },
  "server": {
    "name": "com.beforethelot/before-the-lot",
    "title": "Before the Lot",
    "description": "Car-buying math and state rules: out-the-door prices, quote checks, leases and trade-ins",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://beforethelot.com",
    "published_at": "2026-10-28T17:45:35.055Z",
    "updated_at": "2026-10-28T17:45:35.055Z",
    "first_seen": "2026-11-21T05:20:08.740Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:02:06.393Z"
  },
  "operator": {
    "key": "beforethelot.com",
    "name": "beforethelot.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 399,
    "first_check_in_window": "2026-11-21T07:21:02.989Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "3fb5897d821bc140e796e5483084778754304a621f4030b21d1450d53de433a9",
    "tools": 16,
    "resources": 25,
    "prompts": 4,
    "first_seen": "2026-11-21T07:21:03.315Z",
    "tool_names": [
      "what_can_i_afford",
      "out_the_door",
      "check_quote",
      "compare_quotes",
      "rebate_vs_apr",
      "loan_payment",
      "lease_check",
      "refinance_check",
      "trade_in_position",
      "payoff_plan",
      "get_method",
      "state_rules",
      "dealer_email",
      "offers_page",
      "desk_script",
      "plan_link"
    ],
    "declared": {
      "tools": [
        {
          "name": "what_can_i_afford",
          "title": "What can I afford",
          "description": "Works out a car budget from the monthly payment someone is comfortable with: 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 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. Use it before shopping, when the starting point is a payment rather than a price. Numbers only; nothing is stored.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "max_payment",
              "apr",
              "term_months",
              "state"
            ],
            "properties": {
              "apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "Loan APR in percent (6.49 means 6.49%); a pre-approval rate if they have one"
              },
              "city": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "City 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"
              },
              "down": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Cash down payment"
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "county": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "County 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_fee": {
                "type": "number",
                "maximum": 5000,
                "minimum": 0,
                "description": "Expected doc fee; leave out to assume the state's cap, or a typical $450 where there is none"
              },
              "invoice": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Dealer invoice, for a new car, if known"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined sales tax rate as a decimal (0.08 for 8%); leave out to use the state's rate"
              },
              "condition": {
                "enum": [
                  "new",
                  "used"
                ],
                "type": "string",
                "default": "new",
                "description": "New or used: a state's tax can differ by condition"
              },
              "title_reg": {
                "type": "number",
                "maximum": 10000,
                "minimum": 0,
                "description": "Expected title and registration"
              },
              "fair_price": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "A fair vehicle price from research, before tax and fees"
              },
              "max_payment": {
                "type": "number",
                "maximum": 20000,
                "minimum": 0,
                "description": "The highest monthly payment the person is comfortable with"
              },
              "term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "Loan term in months"
              },
              "trade_offer": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Best written trade-in offer, if any"
              },
              "trade_payoff": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "What is still owed on the trade-in"
              }
            }
          },
          "annotations": {
            "title": "What can I afford",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "out_the_door",
          "title": "Out-the-door estimate",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "price",
              "state"
            ],
            "properties": {
              "apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "Loan APR in percent, for the payment"
              },
              "city": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "City 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"
              },
              "down": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Cash down payment"
              },
              "price": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Vehicle selling price before rebates, fees and tax"
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "county": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "County 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_ons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "amount"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "What the dealer calls the add-on"
                    },
                    "amount": {
                      "type": "number",
                      "maximum": 100000,
                      "minimum": 0,
                      "description": "Its price"
                    }
                  }
                },
                "default": [],
                "maxItems": 12,
                "description": "Dealer add-ons and their prices (paint protection, VIN etching, a service contract)"
              },
              "doc_fee": {
                "type": "number",
                "maximum": 5000,
                "minimum": 0,
                "description": "Doc fee; leave out to assume the state's cap, or a typical $450 where there is none"
              },
              "rebates": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Maker rebates taken off at signing"
              },
              "city_mpg": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 200,
                    "minimum": 1
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+(\\.\\d+)?$"
                  }
                ],
                "description": "Washington DC only: the vehicle's EPA city MPG, with its weight"
              },
              "electric": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  }
                ],
                "description": "Washington DC only: a battery-electric vehicle (its own, lower column)"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined sales tax rate as a decimal; leave out to use the state's rate"
              },
              "condition": {
                "enum": [
                  "new",
                  "used"
                ],
                "type": "string",
                "default": "new",
                "description": "New or used: a state's tax can apply to new cars only (Oregon)"
              },
              "title_reg": {
                "type": "number",
                "maximum": 10000,
                "minimum": 0,
                "description": "Title and registration; leave out for a typical $250"
              },
              "walk_line": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The walk line, out the door"
              },
              "other_fees": {
                "type": "number",
                "default": 0,
                "maximum": 50000,
                "minimum": 0,
                "description": "Any other fees"
              },
              "term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "Loan term in months, for the payment"
              },
              "trade_offer": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Best written trade-in offer"
              },
              "trade_payoff": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "What is still owed on the trade-in"
              },
              "buyer_in_chicago": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  }
                ],
                "description": "Illinois only: the buyer's address is in the City of Chicago (the city and county given are the dealer's)"
              },
              "vehicle_weight_lbs": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 20000,
                    "minimum": 500
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+(\\.\\d+)?$"
                  }
                ],
                "description": "Washington DC only: the vehicle's unladen weight in pounds (DC's excise rate goes by weight and city MPG)"
              },
              "buyer_in_cook_county": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "enum": [
                      "true",
                      "false"
                    ],
                    "type": "string"
                  }
                ],
                "description": "Illinois only: the buyer's address is in Cook County"
              }
            }
          },
          "annotations": {
            "title": "Out-the-door estimate",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_quote",
          "title": "Check a dealer's quote",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "state"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 8192,
                "description": "The quote as pasted (an email or a buyer's order). Leave out to send lines instead."
              },
              "lines": {
                "type": "object",
                "required": [
                  "vehicle_price"
                ],
                "properties": {
                  "dealer": {
                    "type": "string",
                    "pattern": "^[^\\r\\n]*$",
                    "maxLength": 60,
                    "minLength": 1,
                    "description": "The dealership's name (a business, never a person)"
                  },
                  "doc_fee": {
                    "type": "number",
                    "default": 0,
                    "maximum": 5000,
                    "minimum": 0,
                    "description": "Doc fee"
                  },
                  "rebates": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "Rebates or discounts shown below the price"
                  },
                  "sales_tax": {
                    "type": "number",
                    "default": 0,
                    "maximum": 200000,
                    "minimum": 0,
                    "description": "The quote's sales tax line"
                  },
                  "title_reg": {
                    "type": "number",
                    "default": 0,
                    "maximum": 10000,
                    "minimum": 0,
                    "description": "Title, registration and other government fees"
                  },
                  "other_fees": {
                    "type": "number",
                    "default": 0,
                    "maximum": 50000,
                    "minimum": 0,
                    "description": "Any other fee"
                  },
                  "vehicle_price": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "Selling price before rebates, fees and tax"
                  }
                },
                "description": "The quote as line items, instead of text (its add-ons go in add_ons)",
                "additionalProperties": false
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "add_ons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "amount"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "What the dealer calls the add-on"
                    },
                    "amount": {
                      "type": "number",
                      "maximum": 100000,
                      "minimum": 0,
                      "description": "Its price"
                    }
                  }
                },
                "maxItems": 12,
                "description": "With lines: the dealer add-ons and their prices (paint protection, VIN etching, a service contract)"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined sales tax rate as a decimal; leave out to use the state's rate"
              },
              "walk_line": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The walk line, out the door"
              },
              "trade_offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "amount"
                  ],
                  "properties": {
                    "amount": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "The offer"
                    },
                    "source": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "Who made the offer: CarMax, Carvana, a dealer. Never a person."
                    },
                    "expires": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Its last day, yyyy-mm-dd"
                    }
                  }
                },
                "maxItems": 6,
                "minItems": 1,
                "description": "Written trade-in offers, to compare the best open one with the allowance"
              },
              "trade_allowance": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The trade-in allowance on the quote, when sending lines (read from text otherwise)"
              },
              "best_trade_offer": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The best written trade-in offer still open (CarMax, Carvana...), to compare with the allowance"
              }
            }
          },
          "annotations": {
            "title": "Check a dealer's quote",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_quotes",
          "title": "Compare dealer quotes",
          "description": "Ranks two to ten itemized dealer quotes for the same car by out-the-door total, 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. Use it once several dealers have quoted; to read one quote line by line, use check_quote. Returns the ranking and a planner link with the quotes filled in.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "quotes"
            ],
            "properties": {
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "vehicle_price"
                  ],
                  "properties": {
                    "dealer": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "The dealership's name (a business, never a person)"
                    },
                    "doc_fee": {
                      "type": "number",
                      "default": 0,
                      "maximum": 5000,
                      "minimum": 0,
                      "description": "Doc fee"
                    },
                    "rebates": {
                      "type": "number",
                      "default": 0,
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "Rebates or discounts shown below the price"
                    },
                    "sales_tax": {
                      "type": "number",
                      "default": 0,
                      "maximum": 200000,
                      "minimum": 0,
                      "description": "The quote's sales tax line"
                    },
                    "title_reg": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Title, registration and other government fees"
                    },
                    "other_fees": {
                      "type": "number",
                      "default": 0,
                      "maximum": 50000,
                      "minimum": 0,
                      "description": "Any other fee"
                    },
                    "vehicle_price": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "Selling price before rebates, fees and tax"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "minItems": 2,
                "description": "Each dealer's quote as line items: price, rebates, doc fee, tax and fees (the add-ons go in add_ons)"
              },
              "add_ons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "quote",
                    "name",
                    "amount"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "What the dealer calls the add-on"
                    },
                    "quote": {
                      "type": "integer",
                      "maximum": 10,
                      "minimum": 1,
                      "description": "Which quote it is on: 1 for the first in quotes, 2 for the second"
                    },
                    "amount": {
                      "type": "number",
                      "maximum": 100000,
                      "minimum": 0,
                      "description": "Its price"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 120,
                "description": "Every quote's dealer add-ons (paint protection, VIN etching, a service contract), each with the number of the quote it is on"
              },
              "walk_line": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The walk line, out the door"
              }
            }
          },
          "annotations": {
            "title": "Compare dealer quotes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "rebate_vs_apr",
          "title": "Cash rebate or special APR",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "rebate",
              "own_apr",
              "promo_apr",
              "term_months",
              "state"
            ],
            "properties": {
              "city": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "City 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"
              },
              "down": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Cash down payment"
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "county": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "County 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"
              },
              "rebate": {
                "type": "number",
                "maximum": 100000,
                "minimum": 0,
                "description": "Cash rebate available with your own loan or cash"
              },
              "doc_fee": {
                "type": "number",
                "maximum": 5000,
                "minimum": 0,
                "description": "Doc fee; leave out to assume the state's cap, or a typical $450 where there is none"
              },
              "own_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "Your own loan APR in percent (a pre-approval)"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined sales tax rate as a decimal; leave out to use the state's rate"
              },
              "promo_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "The maker's special APR in percent"
              },
              "title_reg": {
                "type": "number",
                "maximum": 10000,
                "minimum": 0,
                "description": "Title and registration"
              },
              "promo_cash": {
                "type": "number",
                "default": 0,
                "maximum": 100000,
                "minimum": 0,
                "description": "Cash that combines with the special APR"
              },
              "term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "Loan term in months"
              },
              "trade_offer": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Trade-in offer"
              },
              "trade_payoff": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Owed on the trade-in"
              },
              "vehicle_price": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Vehicle price, to work out the amount financed instead"
              },
              "promo_term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "The special APR's longest term, if shorter"
              },
              "amount_financed_before_rebate": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Out-the-door price before the rebate, less down payment and trade equity"
              }
            }
          },
          "annotations": {
            "title": "Cash rebate or special APR",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "loan_payment",
          "title": "Loan payment",
          "description": "The monthly payment, total interest and total paid on a car loan from the amount financed, APR and term, with what a term over 60 months adds in interest compared with 60. Use it for a loan on its own; out_the_door works the payment from a car price, and refinance_check compares a new loan with an existing one.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "amount",
              "apr",
              "term_months"
            ],
            "properties": {
              "apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "APR in percent (6.49 means 6.49%)"
              },
              "amount": {
                "type": "number",
                "maximum": 2000000,
                "minimum": 0,
                "description": "Amount financed: the out-the-door price less the down payment and trade equity"
              },
              "term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "Loan term in months, like 60"
              }
            }
          },
          "annotations": {
            "title": "Loan payment",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lease_check",
          "title": "Check a lease",
          "description": "Works a lease quote from the MSRP, selling price, residual and money factor (or the lease's APR): the depreciation and rent charges, the monthly payment with the state's lease tax, the money factor as an APR, and the total cost, including any tax charged once at the start (Texas, Ohio and others). With a loan APR and term, it also compares leasing with buying the same car over the lease's months. Use it to check a lease offer's numbers; for buying, use out_the_door.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "msrp",
              "selling_price",
              "residual_percent",
              "term_months",
              "state"
            ],
            "properties": {
              "city": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "City 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"
              },
              "fees": {
                "type": "number",
                "default": 0,
                "maximum": 20000,
                "minimum": 0,
                "description": "Acquisition and other fees rolled into the lease"
              },
              "msrp": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "MSRP (sticker price)"
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code (DC included), like PA"
              },
              "county": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "County 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_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "A loan APR, to compare with buying"
              },
              "doc_fee": {
                "type": "number",
                "maximum": 5000,
                "minimum": 0,
                "description": "Doc 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_down": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Down payment when buying"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined 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_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "The lease's rate as an APR, instead of the money factor"
              },
              "term_months": {
                "type": "integer",
                "maximum": 60,
                "minimum": 6,
                "description": "Lease term in months"
              },
              "money_factor": {
                "type": "number",
                "maximum": 0.01,
                "minimum": 0,
                "description": "Money factor, e.g. 0.0025"
              },
              "selling_price": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The negotiated price the lease is built on"
              },
              "due_at_signing": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "Cash down, lease rebates and trade equity that lower the price"
              },
              "buy_term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "Loan term, to compare with buying"
              },
              "disposition_fee": {
                "type": "number",
                "default": 0,
                "maximum": 5000,
                "minimum": 0,
                "description": "Turn-in fee at the end"
              },
              "buy_out_the_door": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Out-the-door price when buying; leave out to estimate it"
              },
              "residual_percent": {
                "type": "number",
                "maximum": 95,
                "minimum": 5,
                "description": "Residual as a percent of MSRP (58 for 58%)"
              }
            }
          },
          "annotations": {
            "title": "Check a lease",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "refinance_check",
          "title": "Check a refinance",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "balance",
              "current_apr",
              "current_payment",
              "new_apr"
            ],
            "properties": {
              "fees": {
                "type": "number",
                "default": 0,
                "maximum": 10000,
                "minimum": 0,
                "description": "Fees for the new loan"
              },
              "balance": {
                "type": "number",
                "maximum": 2000000,
                "minimum": 0,
                "description": "What is owed today"
              },
              "new_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "The APR a lender quoted for the new loan"
              },
              "current_apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "Current APR in percent"
              },
              "current_payment": {
                "type": "number",
                "maximum": 50000,
                "minimum": 0,
                "description": "Current monthly payment"
              },
              "new_term_months": {
                "type": "integer",
                "maximum": 120,
                "minimum": 6,
                "description": "New term; leave out to keep the months left"
              }
            }
          },
          "annotations": {
            "title": "Check a refinance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "trade_in_position",
          "title": "Trade-in position",
          "description": "Sizes up a trade-in from written offers (CarMax, Carvana, dealers) and what's still owed: the best offer still open, which is 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. Use it before visiting dealers; check_quote compares a quote's trade allowance with these offers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "offers"
            ],
            "properties": {
              "city": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "City 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"
              },
              "state": {
                "enum": [
                  "AK",
                  "AL",
                  "AR",
                  "AZ",
                  "CA",
                  "CO",
                  "CT",
                  "DC",
                  "DE",
                  "FL",
                  "GA",
                  "HI",
                  "IA",
                  "ID",
                  "IL",
                  "IN",
                  "KS",
                  "KY",
                  "LA",
                  "MA",
                  "MD",
                  "ME",
                  "MI",
                  "MN",
                  "MO",
                  "MS",
                  "MT",
                  "NC",
                  "ND",
                  "NE",
                  "NH",
                  "NJ",
                  "NM",
                  "NV",
                  "NY",
                  "OH",
                  "OK",
                  "OR",
                  "PA",
                  "RI",
                  "SC",
                  "SD",
                  "TN",
                  "TX",
                  "UT",
                  "VA",
                  "VT",
                  "WA",
                  "WI",
                  "WV",
                  "WY"
                ],
                "type": "string",
                "description": "Two-letter state code, for the tax the trade saves"
              },
              "county": {
                "type": "string",
                "pattern": "^[^\\r\\n]*$",
                "maxLength": 60,
                "minLength": 1,
                "description": "County 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"
              },
              "offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "amount"
                  ],
                  "properties": {
                    "amount": {
                      "type": "number",
                      "maximum": 1000000,
                      "minimum": 0,
                      "description": "The offer"
                    },
                    "source": {
                      "type": "string",
                      "pattern": "^[^\\r\\n]*$",
                      "maxLength": 60,
                      "minLength": 1,
                      "description": "Who made the offer: CarMax, Carvana, a dealer. Never a person."
                    },
                    "expires": {
                      "type": "string",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Its last day, yyyy-mm-dd"
                    }
                  }
                },
                "maxItems": 6,
                "minItems": 1,
                "description": "Written trade-in offers, each with who made it, the amount and its last day"
              },
              "payoff": {
                "type": "number",
                "default": 0,
                "maximum": 1000000,
                "minimum": 0,
                "description": "What is still owed on the car being traded"
              },
              "doc_fee": {
                "type": "number",
                "maximum": 5000,
                "minimum": 0,
                "description": "Doc fee; leave out to assume the state's cap, or a typical $450 where there is none"
              },
              "tax_rate": {
                "type": "number",
                "maximum": 0.25,
                "minimum": 0,
                "description": "Combined sales tax rate as a decimal, local tax included (0.07 for 7%); leave out to use the state's rate"
              },
              "vehicle_price": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "The price of the car being bought, for the tax the trade saves"
              }
            }
          },
          "annotations": {
            "title": "Trade-in position",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "payoff_plan",
          "title": "Payoff plan",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "balance",
              "apr",
              "extra_monthly"
            ],
            "properties": {
              "apr": {
                "type": "number",
                "maximum": 40,
                "minimum": 0,
                "description": "The loan APR in percent"
              },
              "balance": {
                "type": "number",
                "maximum": 2000000,
                "minimum": 0,
                "description": "What is owed today"
              },
              "payment": {
                "type": "number",
                "maximum": 50000,
                "minimum": 0,
                "description": "The regular monthly payment; or give months_left instead"
              },
              "months_left": {
                "type": "integer",
                "maximum": 120,
                "minimum": 1,
                "description": "Payments left at the regular payment; or give payment instead"
              },
              "skip_months": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 1200,
                  "minimum": 1
                },
                "default": [],
                "maxItems": 120,
                "description": "Months (1 is the next payment) with nothing extra paid"
              },
              "extra_monthly": {
                "type": "number",
                "maximum": 50000,
                "minimum": 0,
                "description": "Extra paid toward principal each month"
              },
              "extra_for_months": {
                "type": "integer",
                "maximum": 1200,
                "minimum": 0,
                "description": "Pay the extra for only the first this-many months; leave out for every month"
              }
            }
          },
          "annotations": {
            "title": "Payoff plan",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_method",
          "title": "Get the Before the Lot method",
          "description": "The Before the Lot method for buying a car: an overview and its seven stages, from setting the budget at home to signing. Each stage says what to collect, what it produces, which guides, tools and email templates apply, and when it's done. Use it to plan a purchase step by step or to see where a step fits; pass a stage id for that stage alone. Returns text with a link to the method's page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "stage": {
                "enum": [
                  "see-the-four-square",
                  "lock-three-squares",
                  "price-as-out-the-door",
                  "set-your-numbers",
                  "dealers-compete",
                  "at-the-desk",
                  "after-the-lot"
                ],
                "type": "string",
                "description": "One stage id; leave out for the whole method"
              }
            }
          },
          "annotations": {
            "title": "Get the Before the Lot method",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "state_rules",
          "title": "State rules for buying a car",
          "description": "A state's car-buying rules: the dealer doc-fee cap or rule, sales tax (state rate, local add-on range, any cap), whether a trade-in lowers the taxed price, how a maker's rebate is taxed, and cancellation rights where on file. Each comes with its source, as-of date and confidence, plus the link to the state's page. Use it for the rules themselves; for a price with a city's local tax, use out_the_door.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "state"
            ],
            "properties": {
              "state": {
                "type": "string",
                "pattern": "^[A-Za-z]{2}$",
                "description": "Two-letter state code, like PA"
              }
            }
          },
          "annotations": {
            "title": "State rules for buying a car",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "dealer_email",
          "title": "Draft an email to a dealer or lender",
          "description": "Drafts an email to a dealer or lender from one of six Before the Lot templates: request an itemized out-the-door quote, make an offer, share a competing quote, confirm the deal, decline, or give a lender the deal's numbers. Returns a subject and body for the person to review and send from their own inbox; nothing is sent. Details are numbers and short labels; contact details are refused, and an offer over the walk line given isn't drafted.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "request-quote",
                  "make-offer",
                  "competing-quote",
                  "confirm-deal",
                  "decline",
                  "lender-deal"
                ],
                "type": "string",
                "description": "Which email: request-quote, make-offer, competing-quote, confirm-deal, decline, lender-deal"
              },
              "details": {
                "type": "object",
                "default": {},
                "properties": {
                  "car": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "The car, like \"2024 Honda CR-V EX\""
                  },
                  "offer": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "The out-the-door price offered"
                  },
                  "dealer": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Dealer name"
                  },
                  "lender": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Lender name"
                  },
                  "used_car": {
                    "type": "boolean",
                    "description": "The car is used"
                  },
                  "decide_by": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "A date or \"Friday\""
                  },
                  "walk_line": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "The walk line, out the door. The templates never state it; an offer above it is not drafted"
                  },
                  "apr_percent": {
                    "type": "number",
                    "maximum": 40,
                    "minimum": 0,
                    "description": "Loan APR in percent"
                  },
                  "term_months": {
                    "type": "integer",
                    "maximum": 120,
                    "minimum": 1,
                    "description": "Loan term in months"
                  },
                  "down_payment": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "Cash down payment"
                  },
                  "pre_approved": {
                    "type": "boolean",
                    "description": "The buyer has a loan pre-approval"
                  },
                  "stock_or_vin": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "The dealer's stock number or the VIN"
                  },
                  "trade_equity": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": -1000000,
                    "description": "Trade-in value less what is owed on it (negative when more is owed)"
                  },
                  "amount_to_finance": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "The amount to finance, for a lender"
                  },
                  "out_the_door_price": {
                    "type": "number",
                    "maximum": 1000000,
                    "minimum": 0,
                    "description": "An out-the-door price: the competing quote, or the agreed price to confirm"
                  }
                },
                "description": "What the email needs: the car, dealer, prices and loan terms. Leave out what does not apply",
                "additionalProperties": false
              }
            }
          },
          "annotations": {
            "title": "Draft an email to a dealer or lender",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "offers_page",
          "title": "A maker's official offers page",
          "description": "The address of a car maker's own page of current offers (rebates, special APRs, lease deals), and of a model's page where one can be built, with whether the maker lists national offers at all and when the address was checked. Use it to point someone to the maker's official offers before comparing a rebate with a special APR (rebate_vs_apr). Returns links only, not the offers themselves, which change often and can vary by region.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "make"
            ],
            "properties": {
              "make": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1,
                "description": "The car maker, like Toyota or Ford"
              },
              "model": {
                "type": "string",
                "maxLength": 40,
                "description": "Model, like Corolla Cross, for the model's own offers page where there is one"
              }
            }
          },
          "annotations": {
            "title": "A maker's official offers page",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "desk_script",
          "title": "A line to say at the dealership",
          "description": "A short line a buyer can say at a moment in the dealership's sales or finance office, such as being asked for a monthly payment, a credit check before a price, or a pitch for an add-on, with when it applies and why it works. Use it when someone describes what's happening 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; returns the one or two lines that fit, or the list of situations on file when none does.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "situation"
            ],
            "properties": {
              "situation": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "A script id or a short description, like \"they keep asking my monthly payment\""
              }
            }
          },
          "annotations": {
            "title": "A line to say at the dealership",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "plan_link",
          "title": "A link to continue in the planner",
          "description": "Builds a link to the free Before the Lot planner that opens with the numbers given already filled in, so the person can carry on in the web planner with their trade-in, loan, budget and quotes. Use it after working out numbers in the chat. The plan travels in the link itself, so nothing is stored. Numbers and short labels only; names, phone numbers and emails are refused.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "car": {
                "type": "object",
                "properties": {
                  "make": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Make"
                  },
                  "trim": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Trim"
                  },
                  "year": {
                    "type": "integer",
                    "maximum": 2100,
                    "minimum": 1980
                  },
                  "model": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Model"
                  },
                  "condition": {
                    "enum": [
                      "new",
                      "used"
                    ],
                    "type": "string"
                  },
                  "targetPrice": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "description": "The car: year, make, model, trim, new or used, and a target price",
                "additionalProperties": false
              },
              "down": {
                "type": "object",
                "properties": {
                  "amount": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "description": "The down payment",
                "additionalProperties": false
              },
              "price": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "pattern": "^[A-Za-z]{2}$"
                  },
                  "taxRate": {
                    "type": "number",
                    "maximum": 0.2,
                    "minimum": 0
                  },
                  "walkLine": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fairPrice": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "description": "The price: state, tax rate as a decimal, a fair price and the walk line, out the door",
                "additionalProperties": false
              },
              "trade": {
                "type": "object",
                "properties": {
                  "payoff": {
                    "type": "number",
                    "maximum": 10000000,
                    "minimum": 0
                  },
                  "estimate": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "hasTrade": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "description": "The trade-in: whether there is one, its estimated value and the loan payoff on it",
                "additionalProperties": false
              },
              "budget": {
                "type": "object",
                "properties": {
                  "maxPayment": {
                    "type": "number",
                    "maximum": 10000000,
                    "minimum": 0
                  },
                  "termMonths": {
                    "type": "integer",
                    "maximum": 120,
                    "minimum": 1
                  }
                },
                "description": "The budget: the most per month and the loan term in months",
                "additionalProperties": false
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "dealer": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1,
                      "description": "Dealer"
                    },
                    "docFee": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "rebates": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "salesTax": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "titleReg": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "otherFees": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "receivedOn": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "When it came"
                    },
                    "vehiclePrice": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Dealers' quotes as line items (their add-ons go in quote_add_ons)"
              },
              "financing": {
                "type": "object",
                "properties": {
                  "lender": {
                    "type": "string",
                    "maxLength": 80,
                    "minLength": 1,
                    "description": "Lender"
                  },
                  "maxAmount": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 10000000,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "aprPercent": {
                    "anyOf": [
                      {
                        "type": "number",
                        "maximum": 40,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "termMonths": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 120,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "description": "A loan pre-approval: the lender, the APR in percent, the most it lends and its term",
                "additionalProperties": false
              },
              "trade_offers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    },
                    "source": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1,
                      "description": "Where the offer came from"
                    },
                    "expires": {
                      "type": "string",
                      "maxLength": 40,
                      "description": "Its last day"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 10,
                "description": "Written trade-in offers: who made each, the amount and its last day"
              },
              "quote_add_ons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "quote"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1,
                      "description": "Add-on"
                    },
                    "quote": {
                      "type": "integer",
                      "maximum": 10,
                      "minimum": 1,
                      "description": "Which quote it is on: 1 for the first in quotes"
                    },
                    "amount": {
                      "type": "number",
                      "maximum": 10000000,
                      "minimum": 0
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 200,
                "description": "The quotes' add-ons, each with the number of the quote it is on"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "A link to continue in the planner",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "view",
          "uri": "ui://beforethelot/view",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Draws what a tool returned as a card: the figures, the planner link, what-if buttons and next steps. Read-only; it loads nothing from the network."
        },
        {
          "name": "method",
          "uri": "btl://method",
          "mimeType": "text/markdown",
          "description": "The method overview and its stages."
        },
        {
          "name": "method-four-square",
          "uri": "btl://method/four-square",
          "mimeType": "text/markdown",
          "description": "The dealer's worksheet has four squares so the deal can move between them. Lock three before you go."
        },
        {
          "name": "method-silent-devaluation",
          "uri": "btl://method/silent-devaluation",
          "mimeType": "text/markdown",
          "description": "The walk-around that finds every scuff is building a case for a low trade number."
        },
        {
          "name": "method-three-offers",
          "uri": "btl://method/three-offers",
          "mimeType": "text/markdown",
          "description": "A real, written offer for your car beats any estimate. Get two or three before you talk to a dealer."
        },
        {
          "name": "method-trade-last",
          "uri": "btl://method/trade-last",
          "mimeType": "text/markdown",
          "description": "Settle the price as if you have no trade. Bring it up after, so neither number can hide in the other."
        },
        {
          "name": "method-numbers-meant-to-offend",
          "uri": "btl://method/numbers-meant-to-offend",
          "mimeType": "text/markdown",
          "description": "The first numbers on the sheet are often set high on purpose, so beating them down feels like a win."
        },
        {
          "name": "method-out-the-door",
          "uri": "btl://method/out-the-door",
          "mimeType": "text/markdown",
          "description": "Price, fees, add-ons, tax and title, all in. Dealer quotes only compare fairly as out-the-door totals."
        },
        {
          "name": "method-walk-line",
          "uri": "btl://method/walk-line",
          "mimeType": "text/markdown",
          "description": "Decide at home the out-the-door number above which you leave, then let that number decide for you."
        },
        {
          "name": "method-down-payment-first",
          "uri": "btl://method/down-payment-first",
          "mimeType": "text/markdown",
          "description": "Asking about your down payment early finds the cash you have and steers the talk toward a monthly payment."
        },
        {
          "name": "method-underwater",
          "uri": "btl://method/underwater",
          "mimeType": "text/markdown",
          "description": "If you owe more than the car is worth, you're underwater. Your down payment and term decide for how long."
        },
        {
          "name": "method-payment-output",
          "uri": "btl://method/payment-output",
          "mimeType": "text/markdown",
          "description": "Your monthly payment is math on price, APR and term. Settle those three and the payment follows."
        },
        {
          "name": "method-fourteen-dollars",
          "uri": "btl://method/fourteen-dollars",
          "mimeType": "text/markdown",
          "description": "A few dollars a month sounds small. Over a long loan, it adds up to more than a thousand dollars."
        },
        {
          "name": "method-own-financing",
          "uri": "btl://method/own-financing",
          "mimeType": "text/markdown",
          "description": "A pre-approval from your bank or credit union sets the rate a dealer has to beat to earn your loan."
        },
        {
          "name": "method-rebate-vs-apr",
          "uri": "btl://method/rebate-vs-apr",
          "mimeType": "text/markdown",
          "description": "Manufacturers often offer cash back or a low promotional rate, not both. Run the numbers before you choose."
        },
        {
          "name": "method-initial-trick",
          "uri": "btl://method/initial-trick",
          "mimeType": "text/markdown",
          "description": "Being asked to initial the worksheet is a small yes that makes the bigger yes feel already decided."
        },
        {
          "name": "method-fi-office",
          "uri": "btl://method/fi-office",
          "mimeType": "text/markdown",
          "description": "After you agree on a price, a finance manager offers optional products. Some can make sense, at the right price."
        },
        {
          "name": "method-paying-extra",
          "uri": "btl://method/paying-extra",
          "mimeType": "text/markdown",
          "description": "Extra payments go straight to the balance, so a little more each month can cut months and interest from a loan."
        },
        {
          "name": "scripts",
          "uri": "btl://scripts",
          "mimeType": "text/markdown",
          "description": "The desk scripts and when each fits."
        },
        {
          "name": "email-request-quote",
          "uri": "btl://emails/request-quote",
          "mimeType": "text/markdown",
          "description": "Email template: Ask for an itemized out-the-door quote"
        },
        {
          "name": "email-competing-quote",
          "uri": "btl://emails/competing-quote",
          "mimeType": "text/markdown",
          "description": "Email template: Invite a dealer to beat a better quote"
        },
        {
          "name": "email-make-offer",
          "uri": "btl://emails/make-offer",
          "mimeType": "text/markdown",
          "description": "Email template: Make an out-the-door offer"
        },
        {
          "name": "email-confirm-deal",
          "uri": "btl://emails/confirm-deal",
          "mimeType": "text/markdown",
          "description": "Email template: Confirm the deal in writing before you go"
        },
        {
          "name": "email-lender-deal",
          "uri": "btl://emails/lender-deal",
          "mimeType": "text/markdown",
          "description": "Email template: Email your lender about the car and the numbers"
        },
        {
          "name": "email-decline",
          "uri": "btl://emails/decline",
          "mimeType": "text/markdown",
          "description": "Email template: Politely say no thanks"
        }
      ],
      "prompts": [
        {
          "name": "plan-car-purchase",
          "description": "Plan a car purchase stage by stage with the Before the Lot method.",
          "arguments": [
            {
              "name": "state",
              "required": true,
              "description": "Two-letter state code"
            },
            {
              "name": "new_or_used",
              "required": true
            },
            {
              "name": "budget",
              "required": false
            }
          ]
        },
        {
          "name": "review-dealer-quote",
          "description": "Read a dealer's quote line by line and compare it with the walk line.",
          "arguments": [
            {
              "name": "state",
              "required": true,
              "description": "Two-letter state code"
            }
          ]
        },
        {
          "name": "prepare-for-the-desk",
          "description": "Prepare for the desk: the lines for common moments and the walk line."
        },
        {
          "name": "after-buying",
          "description": "See what extra payments do to the loan after the purchase."
        }
      ]
    },
    "instructions": "Before the Lot is a free car-buying planner built on one method: see the dealer's four-square for what it is; lock three squares at home, in order, each backed by a document (trade-in offers in writing, a down payment, a loan pre-approval); leave the price open and talk only about the out-the-door total; set a budget ceiling, a fair price and a walk line before any dealer speaks; ask dealers for itemized quotes in writing and compare them line by line; and at the desk, take the trade-in last and treat the finance office's products as optional and separately priced. get_method returns the stages. The tools run the planner's own tested math and the sourced state rules (tax, doc-fee caps). They describe and compare numbers; they don't recommend a choice, and every result is an educational estimate, not financial, legal or tax advice. Most results include a planner link that opens with those numbers filled in. Send numbers and short labels only: names, phone numbers and email addresses are refused and nothing is stored."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}