Skip to main content
Glama

China Salary and Income Tax Calculator

Net salary: China vs the Netherlands

compare_with_netherlands
Read-onlyIdempotent

Take-home pay of a job in China (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
cityNoCity: shanghai = Shanghai; beijing = Beijing; shenzhen = Shenzhen; guangzhou = Guangzhou. Default shanghai.
elderlyNoSupporting parents aged 60+: none = No; only = Yes, only child (¥3,000/month); shared = Yes, shared with siblings (¥1,500/month). Default none.
si_baseNoContribution base on your payslip (a month). Employers often use a base different from your pay. Leave at 0 to use your pay within the city limits. (¥ / month). Default 0.
childrenNoNumber of dependent children. Default 0.
educationNoContinuing education (¥400/month) Default false.
no_socialNoNot enrolled in social insurance and housing fund. Some foreign nationals are exempt, for example under a social security agreement. Check your payslip. Default false.
extra_fundNoSupplementary housing fund rate. Only if your employer runs one; the employer pays the same. (%). Default 0.
fx_per_eurNoExchange rate: 1 euro = this many CNY, for the euro amounts. Default 7.6 (indicative).
housing_dedNoHousing deduction: none = None; tier1 = Rent, tier-1 city (¥1,500/month); tier2 = Rent, large city (¥1,100/month); tier3 = Rent, other city (¥800/month); mortgage = First-home mortgage interest (¥1,000/month). Default none.
bonus_annualNoYearly bonus in CNY. Default 0.
housing_fundNoHousing fund rate (%). Default 7.
bonus_separateNoTax the year-end bonus separately. Uses the bonus amount field above. Separate taxation is usually cheaper at moderate incomes. Default true.
nl_gross_annualYesGross yearly salary in the Netherlands, in euros, without holiday allowance
expat_allowancesNoTax-free expat allowances. Foreign nationals: housing, language training and children's school fees paid against receipts. (¥ / year). Default 0.
other_deductionsNoOther deductions (a year). Amounts you have worked out yourself, such as serious illness costs or donations. (¥ / year). Default 0.
personal_pensionNoPersonal pension contribution (a year). Your own payments into a personal pension account: deductible up to ¥12,000 a year. (¥ / year). Default 0.
home_gross_annualYesGross yearly salary in China, in CNY
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 / extra_fund
      Added value: +{
      +  "description": "Supplementary housing fund rate. Only if your employer runs one; the employer pays the same. (%). Default 0.",
      +  "maximum": 8,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / no_social
      Added value: +{
      +  "description": "Not enrolled in social insurance and housing fund. Some foreign nationals are exempt, for example under a social security agreement. Check your payslip. Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / other_deductions
      Added value: +{
      +  "description": "Other deductions (a year). Amounts you have worked out yourself, such as serious illness costs or donations. (¥ / year). Default 0.",
      +  "maximum": 2000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / personal_pension
      Added value: +{
      +  "description": "Personal pension contribution (a year). Your own payments into a personal pension account: deductible up to ¥12,000 a year. (¥ / year). Default 0.",
      +  "maximum": 12000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / si_base
      Added value: +{
      +  "description": "Contribution base on your payslip (a month). Employers often use a base different from your pay. Leave at 0 to use your pay within the city limits. (¥ / month). Default 0.",
      +  "maximum": 200000,
      +  "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 readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered and the description is not required to repeat it. Beyond that it adds real context: the Netherlands side is pinned to 2026, the 8% holiday allowance and 30% ruling are optional toggles, and results are expressed in euros with an annual delta. It does not mention that China amounts are converted via the fx_per_eur rate or what tax year/assumptions apply to the China side, which matters for a 19-parameter comparison.

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?

A single front-loaded sentence with no filler, and the distinguishing details (euros, Netherlands 2026, optional allowances, yearly difference) come in an efficient order. The closing phrase 'with the difference a year' is slightly awkward and could be tighter, but nothing is 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 19-parameter tool with no output schema, the description does state what comes back (euro amounts plus the annual difference), and the input schema is fully self-documenting with units and defaults. The only real gap is that it does not clarify that the China result is converted to euros using fx_per_eur or which year's Chinese rules apply, but this is a minor omission rather than an obstacle to calling the tool.

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%, including per-parameter defaults, enums and units (CNY/month, %, EUR/year), so the schema carries nearly all parameter meaning. The description only echoes two of the nineteen (holiday allowance, 30% ruling) and otherwise defers to net_salary's option set. With full schema coverage the baseline of 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 both resources (a China job and a Netherlands job), the metric (take-home pay), the currency (euros) and the output (yearly difference), which is far more specific than a title restatement. It also signals the relationship to the sibling net_salary by saying the China side uses 'the situation options of net_salary', so an agent can tell this is the two-country comparator rather than the single-country calculator.

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: comparing a China offer against a Netherlands offer with the resulting yearly gap. There is no explicit 'use this when.../do not use when...' statement, and it never says to use net_salary or gross_for_target_net for single-country lookups. The reference to net_salary hints at the alternative but does not spell out the routing rule.

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