Skip to main content
Glama

calculate es take home

calculate_es_take_home
Read-onlyIdempotent

Salario neto en España (2026): cotizaciones del trabajador (base máxima 5.101,20 €/mes, MEI, solidaridad) e IRPF con escala estatal y autonómica supletoria; neto por paga en 12 o 14 pagas. Spain, as of 2026-11-22. General estimate for one year: not tax advice, not the payroll 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": {
      "annual": "<annual>"
    },
    "name": "calculate_es_take_home"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagasNoNúmero de pagas
annualYesSalario bruto anual (EUR)
childrenNoHijos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish a safe, read-only, idempotent, closed-world calculation, so the bar is lower, and the description still adds substantive scope: which contribution bases and caps are applied, that regional scale is the default (supletoria), and that the figure is a general yearly estimate rather than a payroll withholding. It omits rounding conventions and what happens when the regional scale is absent.

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?

Front-loaded with the core computation and assumptions in one dense sentence, followed by two short qualifiers. Every clause carries information, though the mixed Spanish/English phrasing slightly reduces scannability.

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?

For a low-complexity calculation this covers inputs and assumptions well, but there is no output schema, and the description only hints at the return shape ("neto por paga") without saying whether gross-to-net breakdown, IRPF amount, or contribution totals are returned.

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 coverage is 100%, so the three parameters are already documented; the description mainly adds that the result is expressed per pay period in 12 or 14 pagas. It does not add format, default, or interaction detail beyond the schema's own labels.

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 computation: Spanish net salary for 2026, covering employee social-security contributions (max base 5,101.20 €/month, MEI, solidarity) and IRPF under state plus default regional scales. It also explicitly distinguishes itself from the sibling withholding tool ("not the payroll withholding"), so an agent can separate it from check_es_withholding and calculate_es_employer_cost.

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?

Provides clear context (annual general estimate, 12 or 14 pay periods) and one explicit exclusion: it is not tax advice and not the payroll withholding calculation. It stops short of naming a positive alternative for withholding or employer-cost questions, so routing is only partly covered.

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.