Skip to main content
Glama

What do I owe: tax, interest and fee in one call

tax_summary
Read-only

Computes net tax payable or refund for the year by netting TDS/TCS, advance and self-assessment tax, then adding s.234A/B/C interest and the s.234F late-filing fee from your dates.

Instructions

One computation of what is payable or refundable for the year: tax (compute_tax, with houses and presumptiveBusiness folded in), less TDS and TCS read from the Form 26AS file itself (creditable status F rows), advance tax and self-assessment tax, plus s.234A, s.234B and s.234C interest with every month count taken from the dates, and the s.234F fee (Rs 5,000, Rs 1,000 up to Rs 5,00,000 of income) when filed after the due date. The due date comes from the rule pack by form; the filing date defaults to today in India. Net is rounded under s.288B; negative is a refund. Use this instead of subtracting TDS or counting months yourself.

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": {
      "regime": "<regime>"
    },
    "name": "tax_summary"
  }
}

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
formNoITR form, to take the non-audit s.139(1) due date from the rule pack (use recommend_itr_form if unsure)
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.
regimeYesTax regime. 'new' (115BAC) is the default regime since FY 2023-24.
ageBandNoAge band: below60, senior (60-79), superSenior (80+). Affects old-regime exemption only.below60
dueDateNoExplicit s.139(1) due date (YYYY-MM-DD), e.g. for an audit case. Overrides `form`.
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
tcsCreditNoOnly without form26asPath: TCS credit in INR (default 0)
tdsCreditNoOnly without form26asPath: TDS credit in INR, e.g. from Form 16 Part A. 0 when no tax was deducted.
deductionsNoOld regime only: total Chapter VI-A deductions (80C, 80D, ...) in INR, EXCLUDING employer NPS (use employerNps80CCD2). Ignored under the new regime.
filingDateNoDate the return is or will be filed (YYYY-MM-DD); defaults to today in India
otherIncomeNoOther normal-rate income in INR (interest, net rent, etc.)
form26asPathNoAbsolute path to the Form 26AS Text export from TRACES. Preferred: the tool takes TDS credit as the creditable (status F) total and TCS from Part VI itself.
salaryIncomeNoGross salary income in INR, before standard deduction
businessIncomeNoWhether any of the income is from business or profession (counted in otherIncome). Required for a senior or super senior without presumptiveBusiness: a resident senior with none owes no advance tax (s.207(2)), so no s.234B or s.234C.
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).
advanceTaxPaymentsNoEach advance tax payment made during the FY, with its date; the tool works out s.234B and s.234C from them
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.
selfAssessmentPaymentsNoSelf-assessment tax (s.140A) paid after the FY, each with its date; each stops s.234B on its amount from that month

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint and closed-world behavior, and the description does add real value: filing date defaults to today in India, the due date comes from the rule pack by form, TDS is taken from creditable status-F rows in the 26AS file, net is rounded under s.288B and a negative net is a refund. It stops short of disclosing failure modes (e.g. what happens with an unparseable 26AS path or when both tdsCredit and form26asPath are supplied).

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 computation sequence before the scoping directive, and each clause carries information (statutory sections, sources, rounding, sign convention). The single very long sentence is dense but not padded; minor structural improvement would be splitting the component list from the default/rounding notes.

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 23-parameter tool with nested objects and no output schema, the description conveys the computation order, the source of credits, the interest and fee treatment, defaults, and the sign convention of the result. What remains thin is return-value shape and error behavior, which is partly unavoidable absent an output schema.

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 coverage is 100% and the schema already explains mutual exclusivity (houses vs housePropertyLoss), the dueDate-overrides-form behavior, and the form26asPath-versus-tdsCredit precedence. The description mostly restates that these are folded in rather than additive, so it adds modest meaning beyond the schema; baseline 3 is appropriate.

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: "One computation of what is payable or refundable for the year," then enumerates the components (tax, TDS/TCS credits, advance and self-assessment tax, s.234A/B/C interest, s.234F fee). It explicitly distinguishes itself from siblings by naming compute_tax and saying houses and presumptiveBusiness are folded in, so an agent knows not to chain those separately.

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?

Gives a clear directive: "Use this instead of subtracting TDS or counting months yourself," which steers the agent away from manual arithmetic and from reassembling sibling outputs. It does not, however, state when to prefer a narrower sibling such as compute_interest_234 alone or when this tool is inappropriate (e.g. non-ITR entities).

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