Skip to main content
Glama

Compare old vs new tax regime

compare_regimes
Read-only

Compute income tax under both old and new regimes for the same income, compare them side by side, and see the recommended regime, savings amount, and breakeven deductions.

Instructions

Compute tax under BOTH regimes for the same income and return a side-by-side comparison with the recommended regime and the savings amount. Pass the old-regime deductions you could actually claim; the new regime ignores them. breakeven says, from code, the smallest old-regime deductions at which the old regime costs no more than the new one and how much more that is than what was passed (null when no amount gets there). Quote it rather than estimating.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_regimes"
  }
}

Input Schema

NameRequiredDescriptionDefault
fyNoFiscal year, e.g. '2025-26' (AY 2026-27); '2026-27' is tax year 2026-27 under the Income-tax Act 20252025-26
housesNoOptional: every house owned, one entry each, INSTEAD of housePropertyLoss. The tool works out income from house property per regime (nil self-occupied interest under the new regime) and folds it in, so never add it to otherIncome yourself.
ageBandNoAge band: below60, senior (60-79), superSenior (80+). Affects old-regime exemption only.below60
ltcg112ANoLong-term capital gains under section 112A in INR, BEFORE the Rs 1,25,000 exemption
stcg111ANoShort-term capital gains under section 111A (listed equity, STT paid) in INR
deductionsNoOld regime only: total Chapter VI-A deductions (80C, 80D, ...) in INR, EXCLUDING employer NPS (use employerNps80CCD2). Ignored under the new regime.
otherIncomeNoOther normal-rate income in INR (interest, net rent, etc.)
salaryIncomeNoGross salary income in INR, before standard deduction
employerNps80CCD2NoEmployer's NPS contribution under s.80CCD(2) in INR. Allowed in BOTH regimes (the one Chapter VI-A deduction 115BAC keeps); capped at 14% of salary in the new regime, 10% (private) / 14% (government) in the old (FY 2025-26).
housePropertyLossNoLoss under the head house property as a POSITIVE number: home-loan interest on the house you live in, or a let-out property's net loss. Requires housePropertyType. Old regime: set off against other heads up to Rs 2,00,000 (s.71(3A)). New regime: no inter-head set-off (s.115BAC(2)). Figures for FY 2025-26.
housePropertyTypeNoRequired when housePropertyLoss is above 0. 'selfOccupied': the home you live in; its interest is deductible only up to Rs 2,00,000 in the old regime (s.24(b)) and not at all in the new regime (s.115BAC(2)(i)), and what is above that is neither set off nor carried forward. 'letOut': no s.24(b) cap; the part not set off is carried forward (s.71B).
governmentEmployerNoCentral/State Government employer (raises the old-regime 80CCD(2) cap to 14% for FY 2025-26)
presumptiveBusinessNoOptional: presumptive business or profession (44AD / 44ADA / 44AE). The tool works out the deemed income and adds it to otherIncome itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.7.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / fy / description
      Previous value: -"Fiscal year, e.g. '2025-26' (AY 2026-27)"New value: +"Fiscal year, e.g. '2025-26' (AY 2026-27); '2026-27' is tax year 2026-27 under the Income-tax Act 2025"
    • addedInput schema / properties / houses
      Added value: +{
      +  "description": "Optional: every house owned, one entry each, INSTEAD of housePropertyLoss. The tool works out income from house property per regime (nil self-occupied interest under the new regime) and folds it in, so never add it to otherIncome yourself.",
      +  "items": {
      +    "properties": {
      +      "constructionCompletedFy": {
      +        "description": "Financial year the purchase or construction was completed, e.g. '2023-24'",
      +        "pattern": "^\\d{4}-\\d{2}$",
      +        "type": "string"
      +      },
      +      "grossAnnualValue": {
      +        "description": "Let out: rent received or receivable for the year (the owner's share if co-owned). Self-occupied: leave out, unless this house is past the self-occupied limit, when it is the rent it could fetch.",
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "interestPayable": {
      +        "description": "Home-loan interest for the year (interest only; principal is 80C, not this)",
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "label": {
      +        "description": "Name echoed back in the result, e.g. 'Pune flat'",
      +        "maxLength": 80,
      +        "type": "string"
      +      },
      +      "loanQualifiesForHigherCap": {
      +        "description": "Self-occupied only. Default true: the loan was taken on or after 1 April 1999 to buy or build the house and it was finished within five years, so interest is capped at Rs 2,00,000. False for an older loan, a repair loan or a late completion (cap Rs 30,000).",
      +        "type": "boolean"
      +      },
      +      "municipalTaxesPaid": {
      +        "description": "Municipal tax the OWNER paid in the year (tenant-paid tax does not count)",
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "preConstructionInterest": {
      +        "description": "TOTAL interest for the years before the house was completed; the tool works out this year's 1/5 instalment from constructionCompletedFy",
      +        "maximum": 1000000000000,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "use": {
      +        "description": "'selfOccupied': the owner lives in it (or cannot, because work keeps them elsewhere); up to 2 such houses are valued at nil (s.23(2)), any more are deemed let out. 'letOut': let for the whole or any part of the year.",
      +        "enum": [
      +          "selfOccupied",
      +          "letOut"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "use"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / presumptiveBusiness
      Added value: +{
      +  "description": "Optional: presumptive business or profession (44AD / 44ADA / 44AE). The tool works out the deemed income and adds it to otherIncome itself.",
      +  "properties": {
      +    "carriages": {
      +      "description": "44AE: each goods carriage owned in the year (the scheme allows at most 10 at any time)",
      +      "items": {
      +        "properties": {
      +          "grossWeightTons": {
      +            "description": "Gross vehicle weight in tons; required for heavy",
      +            "exclusiveMinimum": 0,
      +            "maximum": 1000,
      +            "type": "number"
      +          },
      +          "monthsOwned": {
      +            "description": "Months owned in the year; a part month counts as full",
      +            "maximum": 12,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "type": {
      +            "description": "heavy: gross vehicle weight above 12 tons (Rs 1,000 per ton a month); other: Rs 7,500 a month",
      +            "enum": [
      +              "heavy",
      +              "other"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "monthsOwned"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 50,
      +      "type": "array"
      +    },
      +    "cashReceiptsWithin5Pct": {
      +      "description": "Cash receipts are at most 5% of the total, which lifts the ceiling to Rs 3,00,00,000 (44AD) or Rs 75,00,000 (44ADA). Required for 44ADA; for 44AD it is worked out from the two turnover figures when left out.",
      +      "type": "boolean"
      +    },
      +    "declaredProfit": {
      +      "description": "A higher profit the taxpayer declares; the scheme taxes the deemed figure or more",
      +      "maximum": 1000000000000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "digitalTurnover": {
      +      "description": "44AD: turnover received by account-payee cheque, bank transfer, UPI or other digital modes (deemed profit 6%)",
      +      "maximum": 1000000000000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "grossReceipts": {
      +      "description": "44ADA: gross professional receipts (deemed profit 50%)",
      +      "maximum": 1000000000000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "maxCarriagesAtAnyTime": {
      +      "description": "44AE: the most carriages owned at any one time; defaults to the number listed",
      +      "maximum": 1000,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "otherTurnover": {
      +      "description": "44AD: the rest of turnover, cash included (deemed profit 8%)",
      +      "maximum": 1000000000000,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "scheme": {
      +      "description": "44AD: small business on turnover. 44ADA: specified profession on gross receipts. 44AE: goods carriages.",
      +      "enum": [
      +        "44AD",
      +        "44ADA",
      +        "44AE"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "scheme"
      +  ],
      +  "type": "object"
      +}
  2. Changed5 schema fields changedv0.6.0
    • changedInput schema / properties / employerNps80CCD2 / description
      Previous value: -"Employer's NPS contribution under s.80CCD(2) in INR. Allowed in BOTH regimes (the one Chapter VI-A deduction 115BAC keeps); capped at 14% of salary in the new regime, 10% (private) / 14% (government) in the old."New value: +"Employer's NPS contribution under s.80CCD(2) in INR. Allowed in BOTH regimes (the one Chapter VI-A deduction 115BAC keeps); capped at 14% of salary in the new regime, 10% (private) / 14% (government) in the old (FY 2025-26)."
    • changedInput schema / properties / governmentEmployer / description
      Previous value: -"Central/State Government employer (raises the old-regime 80CCD(2) cap to 14%)"New value: +"Central/State Government employer (raises the old-regime 80CCD(2) cap to 14% for FY 2025-26)"
    • changedInput schema / properties / housePropertyLoss / description
      Previous value: -"Loss under the head house property as a POSITIVE number (e.g. s.24(b) home-loan interest on a self-occupied house). Old regime: set off against other heads up to Rs 2 lakh (s.71(3A)), rest carried forward. New regime: no inter-head set-off (s.115BAC(2)), reported as carried forward."New value: +"Loss under the head house property as a POSITIVE number: home-loan interest on the house you live in, or a let-out property's net loss. Requires housePropertyType. Old regime: set off against other heads up to Rs 2,00,000 (s.71(3A)). New regime: no inter-head set-off (s.115BAC(2)). Figures for FY 2025-26."
    • addedInput schema / properties / housePropertyType
      Added value: +{
      +  "description": "Required when housePropertyLoss is above 0. 'selfOccupied': the home you live in; its interest is deductible only up to Rs 2,00,000 in the old regime (s.24(b)) and not at all in the new regime (s.115BAC(2)(i)), and what is above that is neither set off nor carried forward. 'letOut': no s.24(b) cap; the part not set off is carried forward (s.71B).",
      +  "enum": [
      +    "selfOccupied",
      +    "letOut"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / ltcg112A / description
      Previous value: -"Long-term capital gains under section 112A in INR, BEFORE the 1.25L exemption"New value: +"Long-term capital gains under section 112A in INR, BEFORE the Rs 1,25,000 exemption"
  3. Addedv0.5.3
  4. Removedv0.3.0
  5. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, and the description adds real value on top: it discloses the returned artifacts (side-by-side comparison, recommendation, savings) and explains the `breakeven` field's semantics including its null case and that it is 'from code'. It doesn't describe the remaining return shape (per-regime liability figures), which keeps it short of a 5.

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?

Three sentences, front-loaded with the outcome, then input guidance, then the breakeven caveat. Every sentence carries information; the breakeven sentence is dense but earns its place by preventing fabricated estimates.

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 13-parameter tool with nested objects and no output schema, the description covers the core return elements (comparison, recommendation, savings, breakeven) and the key input caveat about deductions. It stops short of naming the per-regime liability outputs, but the safety profile is covered by annotations and the schema is fully documented.

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

Parameters3/5

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

Schema description coverage is 100%, so all 13 parameters (including nested houses and presumptiveBusiness) are already documented; baseline is therefore 3. The description only reinforces the deductions/new-regime interaction, which the schema itself already states ('Ignored under the new regime'), and otherwise adds nothing about parameters beyond the schema.

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

Purpose5/5

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

States a specific verb and resource ('Compute tax under BOTH regimes') plus the exact deliverable: a side-by-side comparison, a recommended regime, and the savings amount. The 'BOTH' framing cleanly separates it from a single-regime compute_tax sibling without naming it.

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

Usage Guidelines3/5

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

Usage is only implied: the agent infers it should call this when choosing a regime, but the description never says when to prefer it over compute_tax, nor states prerequisites or exclusions. The 'Pass the old-regime deductions you could actually claim' line is input guidance, not tool-selection guidance.

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