Skip to main content
Glama

Compute income from house property

compute_house_property
Read-only

Works out income from house property for each house from rent, municipal tax and home-loan interest, applying the 30% deduction and regime-specific interest caps.

Instructions

Work out the head "Income from house property" per house from rent, municipal tax and home-loan interest: annual value, the 30% standard deduction (s.24(a)), interest with the self-occupied cap of Rs 2,00,000 shared across self-occupied houses (Rs 30,000 for an older loan; nil under the new regime), pre-construction interest in 5 instalments, and houses past the 2-house self-occupied limit deemed let out (FY 2025-26 figures). compute_tax and compare_regimes take the same houses input and fold the result in themselves; use this tool to show the working.

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

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
housesYesEvery house the taxpayer owns, one entry each. The tool works out the head (annual value, 30% standard deduction, capped interest) per regime, so do not also pass housePropertyLoss.
regimeYesTax regime: self-occupied interest is nil under the new regime (s.115BAC(2)(i)) and capped in the old

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description carries the real behavioural load by disclosing the computation rules applied, including the 30% s.24(a) deduction, the Rs 2,00,000 self-occupied cap shared across houses (Rs 30,000 for older loans), nil interest under the new regime, the 5-instalment pre-construction treatment, and deemed-let-out status past the two-house limit. It stops short of describing the shape of the returned working or how per-house entries are labelled, which keeps it from a 5 given there is no output schema.

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?

Two sentences, front-loaded with the computation scope, then the routing statement. The clause list is dense but every element (cap, instalments, deemed let-out, FY basis) is decision-relevant, and there is no filler or hedging.

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 read-only computation tool with no output schema, the description covers the statutory rules, regime interaction, cross-house cap sharing, and the relationship to compute_tax/compare_regimes, which is enough to call it correctly. The only real gap is that it does not describe what the returned working contains, leaving the result shape to inference.

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 the baseline is 3; the schema already documents `use`, `grossAnnualValue`, `loanQualifiesForHigherCap`, `preConstructionInterest` and `regime` at length. The description does add cross-parameter semantics the schema does not state in one place — the self-occupied cap shared across self-occupied houses and the 2-house deemed-let-out boundary — but most of its parameter-level content restates 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 ("Work out the head 'Income from house property' per house") and enumerates the exact inputs it consumes: rent, municipal tax, home-loan interest. The second sentence explicitly separates it from compute_tax and compare_regimes, which fold the same `houses` input in themselves, so an agent can pick this one when it needs the itemised working.

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

Usage Guidelines5/5

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

Names two concrete alternatives (compute_tax, compare_regimes) and gives the selecting condition: those tools consume the same `houses` input and fold the result in, so this tool is for showing the working. That is an explicit when-to-use/when-not-to-use pairing rather than an inferred one.

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