Skip to main content
Glama

Indonesia Salary and Income Tax Calculator

Net salary: Indonesia vs the Netherlands

compare_with_netherlands
Read-onlyIdempotent

Take-home pay of a job in Indonesia (with the situation options of net_salary) next to a job in the Netherlands (2026, optionally with the 8% holiday allowance and the 30% ruling), in euros, with the difference a year.

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": {
      "home_gross_annual": "<home_gross_annual>",
      "nl_gross_annual": "<nl_gross_annual>"
    },
    "name": "compare_with_netherlands"
  }
}

Input Schema

NameRequiredDescriptionDefault
dtpNoEmployer in a sector with government-borne PPh 21. 2026: footwear, textiles and clothing, furniture, leather goods and tourism, for regular pay up to Rp10 million a month. Default false.
dplkNoVoluntary pension contribution (a year). To an approved pension fund, such as a DPLK. (Rp). Default 0.
zakatNoZakat or religious donation (a year). Deductible when paid to a body approved by the government. (Rp). Default 0.
marriedNoMarried or registered partner. Default false.
childrenNoNumber of dependent children. Default 0.
foreignerNoForeign employee without BPJS pension. Check your payslip: many foreign employees pay no JP contribution. Default false.
fx_per_eurNoExchange rate: 1 euro = this many IDR, for the euro amounts. Default 17000 (indicative).
tax_paid_byNoWho bears the income tax?: self = Deducted from my pay; employer = My employer (gross-up contract). Default self.
bonus_annualNoYearly bonus in IDR. Default 0.
spouse_incomeNoPartner's gross yearly income in IDR, for joint taxation and spouse allowances. Default 0.
combine_spouseNoSpouse's income is combined with yours. Only when the wife has no separate NPWP; PTKP then adds 54 million. Default false.
nl_gross_annualYesGross yearly salary in the Netherlands, in euros, without holiday allowance
home_gross_annualYesGross yearly salary in Indonesia, in IDR
nl_holiday_allowanceNoThe Dutch job pays 8% holiday allowance on top. Default true.
nl_thirty_percent_rulingNoThe 30% ruling applies in the Netherlands. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / dplk
      Added value: +{
      +  "description": "Voluntary pension contribution (a year). To an approved pension fund, such as a DPLK. (Rp). Default 0.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / dtp
      Added value: +{
      +  "description": "Employer in a sector with government-borne PPh 21. 2026: footwear, textiles and clothing, furniture, leather goods and tourism, for regular pay up to Rp10 million a month. Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / foreigner
      Added value: +{
      +  "description": "Foreign employee without BPJS pension. Check your payslip: many foreign employees pay no JP contribution. Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / tax_paid_by
      Added value: +{
      +  "description": "Who bears the income tax?: self = Deducted from my pay; employer = My employer (gross-up contract). Default self.",
      +  "enum": [
      +    "self",
      +    "employer"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / zakat
      Added value: +{
      +  "description": "Zakat or religious donation (a year). Deductible when paid to a body approved by the government. (Rp). Default 0.",
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. 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 this a safe, read-only, idempotent, closed-world calculation, so the safety profile is covered. The description adds real context beyond that: the Dutch side is 2026, results are expressed in euros even though Indonesian inputs are in IDR, and the output includes the yearly difference. It does not state assumptions or caveats, such as how the exchange rate is applied or whether a breakdown per side is returned.

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 definition is a single front-loaded sentence that leads with the comparison and ends with the returned difference, with no filler. The nested parenthetical about the Dutch options is slightly dense but earns its place by flagging the key flags.

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 15-parameter calculator with full schema coverage and no output schema, the description supplies the essentials: what is compared, the 2026 basis, the euro output and the annual delta. The main gap is reliance on the sibling net_salary for the Indonesian 'situation options' and the absence of any note on result structure.

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?

The input schema has 100% description coverage, so every one of the 15 parameters, including dtp, dplk, zakat, fx_per_eur and the two gross figures, is already documented in detail. The description adds only the framing that the Dutch salary may optionally include holiday allowance and the 30% ruling, information the schema already carries. Baseline 3 is appropriate.

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 concrete computation: take-home pay for a job in Indonesia alongside one in the Netherlands, expressed in euros with the annual difference. This clearly separates it from net_salary, which computes a single side. The phrasing 'with the situation options of net_salary' is a bit indirect, but an agent can still tell what the tool produces.

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 is only implied: the reference to 'the situation options of net_salary' suggests this is the comparison variant of that tool, and the mention of the 2026 Dutch rules and optional holiday allowance/30% ruling hints at when those flags matter. There is no explicit 'use this instead of net_salary when...' statement or statement of preconditions, so the agent must infer the choice.

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