Skip to main content
Glama

Spain Salary and Income Tax Calculator

Net salary: Spain vs the Netherlands

compare_with_netherlands
Read-onlyIdempotent

Take-home pay of a job in Spain (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
ageNoAge; changes the result here (young-worker reliefs, senior slabs, surcharges). Default 35.
jointNoJoint return with spouse (no income of their own) Default false.
regionNoRegion. Basque Country and Navarre run their own tax systems and are not covered.: madrid = Madrid; catalonia = Catalonia (Barcelona); andalusia = Andalusia (Málaga, Seville); valencia = Valencia (Alicante). Default madrid.
under3NoChildren under 3. Counted within the number of children above. (children). Default 0.
beckhamNoBeckham regime (inbound worker). Flat 24% on Spanish employment income up to €600,000 for six years. Default false.
marriedNoMarried or registered partner. Default false.
childrenNoNumber of dependent children. Default 0.
contractNoContract: permanent = Permanent; temporary = Fixed-term (temporary). Default permanent.
tax_yearNoTax year. Offered: 2026 (final), 2025 (final). Default 2026. A year that is not listed is not available for this country.
parents65NoParents or grandparents over 65 living with you (people). Default 0.
parents75NoOf those, over 75 (people). Default 0.
disabilityNoYour recognised disability: none = None; some = 33% to 64%; high = 65% or more. Default none.
flex_mealsNoMeal vouchers or card (a year). Part of your gross pay received this way. Tax free up to €11 per working day. (€ / year). Default 0.
flex_healthNoHealth insurance paid from pay (a year). Tax free up to €500 for each person insured. (€ / year). Default 0.
pension_pctNoVoluntary employee pension contribution through payroll, % of salary. Default 0.
bonus_annualNoYearly bonus in EUR. Default 0.
spouse_incomeNoPartner's gross yearly income in EUR, for joint taxation and spouse allowances. Default 0.
flex_transportNoTransport card (a year). Tax free up to €1,500. (€ / year). Default 0.
nl_gross_annualYesGross yearly salary in the Netherlands, in euros, without holiday allowance
home_gross_annualYesGross yearly salary in Spain, in EUR
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. Changed9 schema fields changed
    • addedInput schema / properties / contract
      Added value: +{
      +  "description": "Contract: permanent = Permanent; temporary = Fixed-term (temporary). Default permanent.",
      +  "enum": [
      +    "permanent",
      +    "temporary"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / disability
      Added value: +{
      +  "description": "Your recognised disability: none = None; some = 33% to 64%; high = 65% or more. Default none.",
      +  "enum": [
      +    "none",
      +    "some",
      +    "high"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / flex_health
      Added value: +{
      +  "description": "Health insurance paid from pay (a year). Tax free up to €500 for each person insured. (€ / year). Default 0.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / flex_meals
      Added value: +{
      +  "description": "Meal vouchers or card (a year). Part of your gross pay received this way. Tax free up to €11 per working day. (€ / year). Default 0.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / flex_transport
      Added value: +{
      +  "description": "Transport card (a year). Tax free up to €1,500. (€ / year). Default 0.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / parents65
      Added value: +{
      +  "description": "Parents or grandparents over 65 living with you (people). Default 0.",
      +  "maximum": 4,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / parents75
      Added value: +{
      +  "description": "Of those, over 75 (people). Default 0.",
      +  "maximum": 4,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / pension_pct
      Added value: +{
      +  "description": "Voluntary employee pension contribution through payroll, % of salary. Default 0.",
      +  "maximum": 50,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / under3
      Added value: +{
      +  "description": "Children under 3. Counted within the number of children above. (children). Default 0.",
      +  "maximum": 6,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / tax_year
      Added value: +{
      +  "description": "Tax year. Offered: 2026 (final), 2025 (final). Default 2026. A year that is not listed is not available for this country.",
      +  "enum": [
      +    2026,
      +    2025
      +  ],
      +  "type": "integer"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds useful behavioral context beyond that: results are in euros and include the annual difference between the two countries, and the Dutch side optionally includes the 8% holiday allowance and 30% ruling. This tells the agent what it gets back, which annotations cannot convey.

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, naming the two countries and the output up front. Some phrasing is awkward ("with the difference a year", "with the situation options of net_salary"), but no sentence is wasted and it stays compact despite the tool's complexity.

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 22-parameter tool with no output schema, the description covers the essential result (euros plus annual difference) and signals that the Spanish side reuses net_salary's situation options. A little more on the structure of the returned comparison would help, but an agent has enough to call it correctly.

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%, so all 22 parameters are already documented with defaults, enums, and units. The description mentions only the Dutch toggles (holiday allowance, 30% ruling) and the net_salary situation-option inheritance, adding minor framing over the schema. Baseline 3 is appropriate since the schema carries the parameter detail.

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 comparison: Spanish take-home pay versus Dutch take-home pay, in euros, including the annual difference. It references the net_salary sibling's situation options, giving the agent a mental model of the tool's scope. The phrasing is somewhat dense and reads more as an output description than a crisp verb+resource, but the intent is clear.

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?

Implies usage through the reference to net_salary's situation options and the optional Dutch holiday allowance and 30% ruling toggles. It does not explicitly say when to choose this over net_salary, or when a single-country calculation is preferable, leaving the agent to infer the comparison use case.

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