Skip to main content
Glama

Car Loan Interest Deduction Calculator

Car loan interest deduction (2025-2028)

calculate_car_loan_interest_deduction
Read-onlyIdempotent

Calculates the 2025-2028 federal deduction for car loan interest created by the One Big Beautiful Bill Act (P.L. 119-21, IRC 163(h)(4)) the way IRS Schedule 1-A Part IV does: up to $10,000 of qualified passenger vehicle loan interest, then $200 off for each $1,000 or part of $1,000 of MAGI over $100,000 ($200,000 married filing jointly), so it reaches $0 at $149,001 ($249,001 joint). Checks the eligibility tests: loan originated after Dec 31 2024, new vehicle, final assembly in the US, personal use, car/minivan/van/SUV/pickup/motorcycle under 14,000 lb GVWR, first lien, not a lease. Available whether or not you itemize. Rules copied from the 2025 Schedule 1-A, Form 1040 instructions and IRS Notice 2025-57.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filing_status": "<filing_status>",
      "magi": "<magi>",
      "tax_year": "<tax_year>",
      "interest_paid": "<interest_paid>"
    },
    "name": "calculate_car_loan_interest_deduction"
  }
}

Input Schema

NameRequiredDescriptionDefault
magiYesModified adjusted gross income in USD (Form 1040 line 11b plus excluded foreign and Puerto Rico income).
is_leaseNoTrue if this is a lease. Lease payments never qualify.
tax_yearYesTax year, 2025 to 2028. The deduction ends after 2028.
new_vehicleNoTrue if the original use starts with you (new). Used vehicles do not qualify.
personal_useNoTrue if you expect personal use more than 50% of the time.
vehicle_typeNocar, minivan, van, suv, pickup, motorcycle or other.
filing_statusYesFederal filing status.
interest_paidYesInterest paid or accrued on the vehicle loan in the year, in USD (the lender's year-end statement).
marginal_tax_rateNoYour federal marginal rate as a decimal (e.g. 0.22) to estimate the tax saved.
us_final_assemblyNoTrue if final assembly was in the United States (vehicle label or NHTSA VIN decoder).
gvwr_under_14000_lbsNoTrue if the gross vehicle weight rating is under 14,000 pounds.
loan_origination_dateNoDate the loan was originated, YYYY-MM-DD. Must be after 2024-12-31.
secured_by_first_lienNoTrue if the loan is secured by a first lien on the vehicle.
interest_deducted_elsewhereNoPart of that interest already deducted on Schedule C, E or F. It cannot be deducted twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-annotated behavior: the $10,000 cap, the exact phase-out mechanics ($200 per $1,000 of MAGI over $100,000/$200,000, reaching $0 at $149,001/$249,001), and the eligibility gates. It does not describe the return payload (e.g. whether it reports the deductible amount and estimated tax saved via marginal_tax_rate), which is the remaining gap.

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

Conciseness4/5

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

Front-loaded with the core calculation and phase-out math, then the eligibility checklist, then provenance. The middle eligibility run-on is dense but every clause carries a distinct rule; nothing is filler, though the single-sentence block could be broken for scanability.

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

Completeness4/5

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

For a 14-parameter, no-output-schema tool, the description covers the domain rules, the computation, and the eligibility gates thoroughly. The one omission is what the tool actually returns (deductible amount, phase-out-reduced figure, estimated tax savings), which an agent cannot infer since there is no output schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still adds meaning beyond the schema by explaining the phase-out formula that governs how magi and interest_paid interact, the $10,000 cap, and by enumerating the eligibility tests that map to the boolean flags (new_vehicle, us_final_assembly, secured_by_first_lien, is_lease, gvwr_under_14000_lbs). It does not explain marginal_tax_rate or interest_deducted_elsewhere, leaving a small residual gap.

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

Purpose5/5

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

States a specific verb and resource ('Calculates the 2025-2028 federal deduction for car loan interest'), cites the exact statutory authority (P.L. 119-21, IRC 163(h)(4)) and the IRS form it mirrors (Schedule 1-A Part IV). This is unmistakably distinct from the SALT, bracket, and child tax credit siblings without needing to open any schema.

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

Usage Guidelines4/5

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

The tax-year window (2025-2028, 'deduction ends after 2028'), the eligibility checklist, and 'available whether or not you itemize' give clear conditions for when this applies. It never names an alternative tool or states when not to use it, but the sibling deductions are conceptually disjoint so the routing risk is low.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.