Skip to main content
Glama

Numbers.sg: Singapore rates and prices

Singapore income tax for a year of assessment

calculate_income_tax
Read-onlyIdempotent

Resident income tax from pay, bonus and other income, with every relief IRAS allows that the page counts (earned income, CPF, spouse, children, working mother, parents, NSman, life insurance, CPF top-ups, SRS), the relief cap, donations at 2.5 times, the Parenthood Tax Rebate, the band-by-band sum, and what an SRS or CPF top-up before 31 December would save. Worked out by the engine behind https://numbers.sg/tax/income-tax-calculator/, with the rules used, their dates, sources and the official examples it matches. General information, not advice.

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": "calculate_income_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
nsNoNSman Relief for yourself: none, gen (non-key), gen_act (non-key, did activities), kah (key appointment holder), kah_act.none
yaNoYear of assessment (tax on the year before’s income).2027
ageNoAge on 31 December of the income year (sets Earned Income Relief and the CPF rate).
cpfNoThe year’s compulsory employee CPF in S$, if known; otherwise worked out from CPF Board’s rates.
payNoMonthly pay before CPF in S$. Give pay (and bonus), or employment_income.
ptrNoParenthood Tax Rebate you still have, S$.
resNosc citizen, pr permanent resident (CPF from the 3rd year assumed), fr foreigner who is a tax resident (no CPF).sc
sexNoFor NSman and working mother’s reliefs.m
srsNoSRS contributions in the income year, S$.
kidsNoChildren for Qualifying Child Relief, comma-separated: old (born before 2024) or new (born or adopted from 2024), add -dis for a child with disability, and :share for your share of the relief in %, e.g. "new,old-dis:50".
rentNoNet rental income in S$.
bonusNoThe year’s bonus in S$.
otherNoOther taxable income in S$.
tradeNoNet trade, business or self-employed income in S$.
spouseNoSpouse Relief: 0 none, 1 spouse with income of S$4,000 or less, 2 disabled spouse.
ns_wifeNoNSman Relief as the wife of an NSman.
parentsNoParents or grandparents claimed, comma-separated: stay (living with you) or apart, add -dis for disability, e.g. "stay,apart".
disabledNoEarned Income Relief at the disability rate.
donationsNoApproved donations in S$ (deducted at 2.5 times).
ns_parentsNoNSman Relief as a parent: NSmen children (0 to 2).
topup_selfNoCPF cash top-ups to your own account, S$.
grandparentNoGrandparent Caregiver Relief (working mother with a child cared for by a grandparent).
life_insuredNoSum insured on that life policy, S$.
siblings_disNoSiblings with disability you support.
topup_familyNoCPF cash top-ups for family members, S$.
life_premiumsNoLife insurance premiums paid in the year, S$ (relief only if CPF is under the limit).
working_motherNoA working mother claiming Working Mother’s Child Relief (sex=f).
employment_incomeNoThe year’s employment income in S$, instead of pay and bonus (no CPF is worked out from it: give cpf).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/closed-world, so the bar is lower, and the description still adds real value: it names the engine and URL behind the result, says rules, effective dates, sources and matched official examples are included, and closes with a 'general information, not advice' limitation. It doesn't spell out what the returned payload looks like, but the enumeration of reliefs, cap, rebate and band sum substantially previews the calculation output.

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?

The core purpose is front-loaded in the first clause, followed by scope detail, provenance, and a disclaimer — a sensible ordering. The long parenthetical relief list is dense and partly redundant with the schema's own parameter descriptions, which keeps it from a 5, but nothing is truly wasted.

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 28-parameter tool with no output schema, the description does the needed work: it says what the calculation produces (relief breakdown, cap, rebate, band-by-band tax, potential top-up savings) and flags the informational-only nature. The remaining gap is that it never describes the shape of the returned figures, which matters given the absence of 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 description coverage is 100%, so every one of the 28 parameters is already documented with units, enums and defaults. The description adds only aggregate meaning — notably that donations are deducted at 2.5x, that reliefs are capped, and that top-ups made before 31 December matter — without explaining any individual parameter, which is the correct baseline-3 outcome when the schema carries the load.

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?

The description opens with a specific verb and resource — 'Resident income tax from pay, bonus and other income' — and then enumerates exactly what is computed (reliefs, relief cap, 2.5x donations, Parenthood Tax Rebate, band-by-band sum, top-up savings). It is unmistakably distinct from the sibling calculators (CPF contributions, take-home pay, stamp duty), so an agent can route to it without opening the schema.

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 context is implied by the word 'Resident' (non-residents out of scope) and by the SRS/CPF top-up framing, which signals a planning/estimate use case. However, it never states when to prefer this over calculate_take_home_pay or calculate_cpf_contribution, nor does it list exclusions explicitly; the agent must infer the boundary from the tool name and domain.

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.