Skip to main content
Glama

Singapore Salary and Income Tax Calculator

Gross salary needed for a net amount in Singapore

gross_for_target_net
Read-onlyIdempotent

The gross yearly salary in Singapore that leaves a given take-home pay, with the same situation options as net_salary. Use it to set a salary ask or check an offer.

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": {
      "net_target": "<net_target>"
    },
    "name": "gross_for_target_net"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAge; changes the result here (young-worker reliefs, senior slabs, surcharges). Default 35.
periodNoWhether net_target is per year or per month. Default year.
statusNoCPF status. CPF is compulsory for citizens and permanent residents only.: citizen = Citizen, or PR from the 3rd year; pr1 = PR, 1st year (graduated rates); pr2 = PR, 2nd year (graduated rates); foreigner = Foreigner (no CPF). Default citizen.
marriedNoMarried or registered partner. Default false.
childrenNoNumber of dependent children. Default 0.
residenceNoTax residence. Non-residents get no personal reliefs and pay at least 15% on employment income.: resident = Tax resident (183 days or more); nonresident = Non-resident. Default resident.
fx_per_eurNoExchange rate: 1 euro = this many SGD, for the euro amounts. Default 1.5 (indicative).
net_targetYesTake-home pay wanted, in SGD
bonus_annualNoYearly bonus in SGD. Default 0.
parents_apartNoParents supported but living apart. S$5,500 per dependent parent you support but who lives apart, under the same IRAS conditions.. Default 0.
spouse_incomeNoPartner's gross yearly income in SGD, for joint taxation and spouse allowances. Default 0.
parents_livingNoParents living with you (Parent Relief). S$9,000 per dependent parent who lives with you; IRAS sets conditions on the age and income of the parent.. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds only that the situation options mirror net_salary; it says nothing about whether the gross figure is solved iteratively, how FX or bonus interact, or what the result contains.

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 tight sentences with the core purpose front-loaded and no filler. The only friction is the word 'yearly' in the lead, which sits slightly at odds with the period parameter allowing monthly targets.

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?

For a 12-parameter tool with no output schema, the description never says what comes back (a single gross figure or a breakdown) or that period changes the units of the answer. The rich schema compensates for inputs, but the output side is left 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% across all 12 parameters, including enum definitions for status, residence and period, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond pointing at net_salary for the option set, which is the expected baseline.

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 states the specific resource and direction: the gross yearly salary in Singapore that yields a given take-home pay. That cleanly inverts the sibling net_salary, so an agent can tell the two apart, though the verb ('calculate') is only implied by the noun phrase rather than stated.

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?

'Use it to set a salary ask or check an offer' gives a concrete usage context, and 'same situation options as net_salary' ties it to the sibling. It stops short of an explicit routing rule (e.g., use net_salary when you start from gross), so the when-not case is left implicit.

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