Skip to main content
Glama

Old vs new income tax regime (India, tax year 2026-27)

compare_tax_regimes
Read-onlyIdempotent

Estimate income tax under both regimes for a resident individual and say which is cheaper. Excludes capital gains and other special-rate income.

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_tax_regimes"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNo
npsNo
salaryNoYearly gross salary in rupees (0 if none).
hraExemptNo
investmentsNoTax-saving investments (capped at 1.5 lakh).
otherIncomeNoOther income taxed at slab rates.
healthInsuranceNo
homeLoanInterestNo

Output Schema

NameRequiredDescriptionDefault
newYes
oldYes
betterYes
clinicNo
savingYesRupees saved by the cheaper regime.
disclaimerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without description help. The description adds two useful behavioral facts beyond that: the calculation is restricted to resident individuals and excludes capital-gains/special-rate income. It says nothing about the assumptions baked in (which deductions apply under the new regime, whether the result includes cess/surcharge), which is meaningful context for a tax estimator.

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

Conciseness5/5

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

Two sentences, both load-bearing: one defines the computation and its output, the other carves out the excluded income types. The primary purpose is front-loaded and there is no filler.

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

Completeness3/5

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

An output schema exists and annotations are rich, so the description need not explain return values, and the tax-year context comes from the title. However, for an 8-parameter financial calculator with only 38% schema coverage, the description leaves too much undefined — deduction caps, units, and what each input contributes to the comparison are not addressed.

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

Parameters2/5

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

Schema coverage is only 38%, so the description is expected to carry parameter meaning — but it mentions no parameter at all. Six of the eight inputs (age, nps, hraExempt, healthInsurance, homeLoanInterest) have no documentation anywhere, leaving the agent to infer deduction semantics and units from field names alone.

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

Purpose4/5

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

The description names a specific verb and resource ("Estimate income tax") and states the scope that defines the tool: both regimes, resident individual, with a comparative verdict ("say which is cheaper"). It does not name any sibling tool, but the sibling list is dominated by unrelated utilities, so the purpose stands on its own.

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?

It gives a real usage boundary — "Excludes capital gains and other special-rate income" — telling the agent when this tool is NOT sufficient. What it lacks is an explicit alternative for those cases (e.g., a capital-gains calculator) or a pointer to salary_in_hand for take-home pay, so the routing guidance stops short of the top score.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources