Skip to main content
Glama

Singapore Salary and Income Tax Calculator

Employer cost of a salary in Singapore

employer_cost
Read-onlyIdempotent

What a salary in Singapore costs the employer (employer social contributions itemised), or the reverse: the gross salary a total budget allows. Give gross_annual or budget_annual.

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

Input Schema

NameRequiredDescriptionDefault
ageNoAge; changes the result here (young-worker reliefs, senior slabs, surcharges). Default 35.
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).
bonus_annualNoYearly bonus in SGD. Default 0.
gross_annualNoGross yearly salary in SGD
budget_annualNoTotal yearly employer budget in SGD, to find the gross salary it allows
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.8/5.0
Behavior4/5

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

The annotations already establish readOnly, idempotent, closed-world, and non-destructive, so safety is covered. The description adds behaviour beyond that: the result itemises employer social contributions, and the tool runs in reverse to solve for gross from a budget. It does not say what happens if both amounts are given or what currency/units the response uses.

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 tight sentences: the dual purpose is front-loaded, and the required-input instruction closes the definition. No filler, no restatement of the title, and the highest-value constraint (which parameter to supply) is placed last where it is easy to act on.

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?

With 12 parameters, a tax/CPF domain, and no output schema, the definition is thinner than the tool's complexity warrants. The rich per-parameter schema descriptions compensate for input semantics, but there is no indication of what the itemised result contains, defaults applied, or how relief parameters interact with the cost calculation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description earns above baseline by clarifying the either/or relationship between gross_annual and budget_annual — the schema lists both as optional numbers without stating they select different computation modes. The remaining ten parameters (age, status, reliefs, fx rate) are left entirely to the schema text.

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?

States a specific computation in both directions: employer cost of a gross salary (with contributions itemised), and the gross salary a given budget affords. That is a clear verb+resource pair an agent can distinguish from a plain net-salary tool. It does not name any sibling (e.g. net_salary or gross_for_target_net) to sharpen the boundary, so it stops short of a 5.

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?

The closing line 'Give gross_annual or budget_annual' tells the agent which input selects which mode, which is genuine usage guidance. However, it never says when to prefer this over net_salary or gross_for_target_net, and never states that exactly one of the two amounts should be supplied. Usage is implied rather than prescribed.

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