Skip to main content
Glama

Germany Salary and Income Tax Calculator

Tax in the year you move between Germany and another country

cross_border_year
Read-onlyIdempotent

Estimates the employment income tax in BOTH countries for the tax year in which someone moves from one country to another: residency status in each country by its own rules (India's 182-day financial-year test, US substantial presence and dual-status, UK split year, Dutch migration year, German part-year liability), the income each country taxes, tax before and after relief for tax paid abroad, social contributions, the combined total in euros and a comparison with staying. Covers 19 countries; each country is taxed for its own tax year containing the move date. Returns what is not covered, assumptions, and for researched corridors (India with the Netherlands, US, UK or Germany; Netherlands with Germany or the UK) the forms and deadlines, treaty notes and official sources. Salaries are full-year rates in each country's own currency.

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": {
      "other_country": "<other_country>",
      "direction": "<direction>",
      "move_date": "<move_date>",
      "salary_before_move": "<salary_before_move>",
      "salary_after_move": "<salary_after_move>"
    },
    "name": "cross_border_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAge (16 to 100), default 35
marriedNo
childrenNoNumber of children (0 to 10)
directionYesmoving_from_here: you leave Germany for the other country; moving_to_here: you arrive in Germany from the other country
move_dateYesFirst day living in the new country, YYYY-MM-DD
india_rnorNoIndia: not ordinarily resident (non-resident 9 of the last 10 years, or 729 days or fewer in India in 7 years)
detail_afterNoOptional tax details for the country you move to, as on its net pay page: married, spouse_income, children, age, pension_pct, bonus (yearly, extra) and options (the country's own options by key, see tax_rules_covered)
return_afterNoOptional full tax return arguments for the country you move to: the same arguments as that country's income tax return tool. Its salary and part-year residence are filled in from the dates; everything else is yours.
detail_beforeNoOptional tax details for the country you leave, as on its net pay page: married, spouse_income, children, age, pension_pct, bonus (yearly, extra) and options (the country's own options by key, see tax_rules_covered)
other_countryYesThe other country (ISO code): AE, BE, BG, CN, ES, FR, GB, GR, ID, IN, IT, MA, NL, PL, RO, SG, TR, US
return_beforeNoOptional full tax return arguments for the country you leave: the same arguments as that country's income tax return tool. Its salary and part-year residence are filled in from the dates; everything else is yours.
uk_split_yearNoUnited Kingdom: treat the UK part of the year as resident (split-year treatment); default true
indian_citizenNoIndia: you are an Indian citizen (default true)
home_after_moveNoWhere your home and family are after the move; decides the treaty tie-breaker (default new_country; none applies no tie-breaker)
salary_after_moveYesYearly salary rate in the country you move to, in its currency
us_days_last_yearNoDays spent in the US last year (substantial presence test)
salary_before_moveYesYearly salary rate in the country you leave, in its currency
us_days_year_beforeNoDays spent in the US the year before last
nl_30_percent_rulingNoNetherlands: the 30% ruling applies
us_citizen_or_green_cardNoUnited States: citizen or green card holder

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / other_country / description
      Previous value: -"The other country (ISO code): BE, BG, CN, ES, FR, GB, GR, ID, IN, IT, MA, NL, PL, RO, TR, US"New value: +"The other country (ISO code): AE, BE, BG, CN, ES, FR, GB, GR, ID, IN, IT, MA, NL, PL, RO, SG, TR, US"
    • changedInput schema / properties / other_country / enum
      Previous value: -[
      -  "BE",
      -  "BG",
      -  "CN",
      -  "ES",
      -  "FR",
      -  "GB",
      -  "GR",
      -  "ID",
      -  "IN",
      -  "IT",
      -  "MA",
      -  "NL",
      -  "PL",
      -  "RO",
      -  "TR",
      -  "US"
      -]New value: +[
      +  "AE",
      +  "BE",
      +  "BG",
      +  "CN",
      +  "ES",
      +  "FR",
      +  "GB",
      +  "GR",
      +  "ID",
      +  "IN",
      +  "IT",
      +  "MA",
      +  "NL",
      +  "PL",
      +  "RO",
      +  "SG",
      +  "TR",
      +  "US"
      +]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish this is a read-only, idempotent, non-destructive computation, so the description's job is to disclose result shape and caveats — which it does unusually well: it reports per-country residency determination, income taxed in each, tax before and after foreign tax relief, social contributions, a euro-denominated combined total, and a counterfactual comparison with not moving. It also warns what is returned when the answer is incomplete ('what is not covered, assumptions'), and scopes the richer corridor output (forms, deadlines, treaty notes, official sources) to a named subset of country pairs. A minor gap: no statement of latency or precision/rounding caveats, and the currency handling is only partly addressed by the closing note.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is enormously long, with nested parentheticals enumerating nine residency regimes, and only the final two sentences break the run. It is front-loaded with the core purpose, so skimming works, but the residency-rule list could be compressed or moved after the output description, and the trailing currency note reads like an afterthought. Nothing is strictly wasted, but the structure makes it harder to parse than necessary.

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?

Against a 20-parameter, nested-object tool with no output schema, the description does the heavy lifting expected of it: it explains what the return contains, what the two directions mean, and the limits of coverage. It is not fully complete — the interaction between the flat detail fields and the nested detail_before/detail_after/return_before/return_after arguments is left for the schema alone, and the age/married/children top-level fields are never contextualized. Given the rich schema text, that omission is tolerable but noticeable.

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 95%, so the schema already carries the parameter burden and the baseline applies. The description does add one genuinely useful semantic point not in the schema — that each country is taxed on its own tax year containing the move date — plus the note that salaries are full-year rates in each country's own currency. It does not explain how the two salary fields interact with part-year residence (pro-rating), nor how return_before/return_after override the detail_* objects.

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?

States a specific verb ('Estimates') and a precisely scoped resource: employment income tax in BOTH countries for the move year, Germany versus 18 named alternatives. The parenthetical list of residency rules (India 182-day, US substantial presence, UK split year, Dutch migration year, German part-year liability) makes clear this is a cross-border part-year tool, distinguishing it from the single-country siblings like income_tax_return and net_salary.

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?

The triggering condition is unambiguous: use this only for the tax year containing the move, and only for Germany-to/from the 19 covered countries, as reinforced by the 'moving_from_here'/'moving_to_here' direction enum. What is missing is an explicit negative pointer, e.g. use income_tax_return for a full year in one country, or the behavior when the person did not move within the year. The reference to tax_rules_covered for country option keys is a useful cross-tool hint.

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