Skip to main content
Glama

MiniTools Precision Calculators

Spain 2026 Net Salary & IRPF Calculator

calculate_spain_net_salary
Read-onlyIdempotent

Calculate exact 2026 net salary in Spain across 12 or 14 payments with employee Social Security + MEI (capped at max contribution base), Art. 19/20 LIRPF deductions, personal/family allowances, and progressive IRPF bracket breakdown.

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": {
      "gross_annual_eur": "<gross_annual_eur>"
    },
    "name": "calculate_spain_net_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
childrenNoNumber of dependent children under 25 (default 0).
paymentsNoNumber of annual paychecks: 12 (prorated) or 14 (2 extra pays, default 14).
age_groupNoTaxpayer age bracket for personal allowance (default "under_65").
contract_typeNoContract type for Social Security rate: "indefinite" (6.50%) or "temporary" (6.55%).
gross_annual_eurYesAnnual gross salary in EUR.
ss_max_base_annual_eurNoOptional annual Social Security max contribution base cap in EUR (default 61214).

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?

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description is free to add computational context — and it does: the contribution base is capped, the deduction articles applied are specified, and the IRPF output is broken down by progressive bracket. What it does not disclose is whether regional IRPF variations are modeled or how the result is structured as a return payload.

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 the action and result stated first, then the supporting methodology. The trailing clause is a dense four-item list, but every item (MEI cap, Art. 19/20, allowances, bracket breakdown) conveys real scope rather than filler.

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 no output schema, the description should say more about what comes back; 'progressive IRPF bracket breakdown' hints at the shape but does not enumerate returned fields (net, SS contribution, IRPF total, per-payment amount). It also omits the important caveat about regional IRPF variation, which materially affects how much an agent should trust the figure.

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%, with enums and defaults documented for payments, age_group, and contract_type, so the schema carries the parameter burden. The description's mentions of payment cadence, personal/family allowances, and the max contribution base map onto those parameters but add no syntax, units, or constraints beyond what the schema already states; baseline 3 applies.

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?

Specific verb ('Calculate') plus a precisely scoped resource ('2026 net salary in Spain'), with the tax year, payment cadence, and the exact statutory components (Social Security + MEI, Art. 19/20 LIRPF, IRPF brackets) named. It is unmistakably distinct from siblings like calculate_vat or calculate_spain_paro_sepe without opening any schema.

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 by the name and the year/geography scope; there is no explicit statement of when to pick this over calculate_spain_paro_sepe or other calculators, and no prerequisites (e.g. that gross annual EUR is the sole required input) are called out. For a self-evident calculator this is adequate but leaves the agent to infer routing.

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.