Skip to main content
Glama

CalcPronto: exact calculators (tax, payroll, loans, VAT, EU261)

Spanish salary, gross to net 2026 (IRPF, Seguridad Social)

salary_es_gross_to_net
Read-onlyIdempotent

Spanish net pay (sueldo neto) of a full-time employee in 2026, territorio común (not País Vasco, Navarra, Ceuta, Melilla): the employee's Social Security contributions (base = annual gross / 12, at most 5,101.20 EUR a month: contingencias comunes 4.70 %, desempleo 1.55 % or 1.60 % for a fixed-term contract, formación profesional 0.10 %, MEI 0.15 %, cotización de solidaridad 0.19 / 0.21 / 0.24 % above the maximum base) and the IRPF withholding of the AEAT general procedure 2026 (2,000 EUR other expenses, reduction for work income, minimum 5,550 EUR plus descendants, scale 19 to 47 %, exclusion thresholds, 43 % limit up to 35,200 EUR, rate truncated to two decimals), with the net a year, a month in 12 payments and in 14 payments (12 payslips plus 2 extra payments). gross_salary in euros for the period: 'year', or 'month' = one of the 'payments' (12 or 14) a year; at least 17,092.80 EUR a year. contract: indefinido or temporal (fixed-term, at least one year). family_situation: 1 single parent (children under 18 living only with the employee), 2 married with a spouse earning at most 1,500 EUR a year, 3 any other. children: descendants under 25 living with the employee (children_under_3 of them under 3); children_whole: the employee alone is entitled to their minimum (default: only in situation 1, otherwise halved). age: age reached in 2026 (65 and 75 raise the minimum). The final income tax of the annual return (state and regional scales) can differ from the withholding.

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_salary": "<gross_salary>"
    },
    "name": "salary_es_gross_to_net"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNo
periodNoyear
childrenNo
contractNoindefinido
paymentsNo
gross_salaryYes
children_wholeNo
children_under_3No
family_situationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a pure, idempotent, closed-world read, so the description's job is to add modelling context — and it does so extensively: the exact contribution bases and rates, the AEAT withholding procedure, the 43% limit, and the important caveat that the final annual-return tax can differ from the withholding. It also discloses exclusions (Basque Country, Navarra, Ceuta, Melilla) and the minimum gross, which materially affect whether a result is trustworthy.

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?

Purpose and scope are front-loaded and nearly every clause carries functional information needed for a 9-parameter tool with no schema documentation. The weakness is structural: the body is one enormous run-on sentence with parenthetical nesting, which is dense to parse even though little of it is truly wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a computational tool with an output schema (so return values need no explanation), the definition supplies the assumptions, legal scope, unit conventions, and default behaviors an agent needs to call it correctly. The remaining unknown — error behavior for out-of-range gross — is minor relative to the coverage provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage and no formal enums, the description carries the full burden and largely meets it: it defines gross_salary units and the period/payments relationship, contract values, the three family_situation cases, the under-25 cohabiting rule for children, the children_whole default, and what age means. Gaps remain — the parameter names 'period' and 'payments' are never used literally, so the mapping from prose to fields takes some inference, and the failure mode below the minimum gross is unstated.

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 states a precise verb+resource: computing Spanish net pay (sueldo neto) from gross salary for a full-time employee in 2026, and narrows the territory explicitly (territorio común, excluding País Vasco, Navarra, Ceuta, Melilla). It is clearly distinguishable from the other country gross-to-net siblings by geography, but it never distinguishes itself from the sibling salary_es_parameters, which an agent could plausibly confuse it with.

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 through scope conditions: full-time employee, 2026, territorio común, minimum 17,092.80 EUR/year, contract indefinido or temporal of at least one year. There is no explicit 'use this when…' statement and no mention of when to prefer salary_es_parameters or a net-to-gross alternative; the agent must infer applicability from the constraints.

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.