Skip to main content
Glama

calculate es employer cost

calculate_es_employer_cost
Read-onlyIdempotent

Spain employer Social Security, Régimen General 2026: contingencias comunes 23,60 % empresa on a base between the group minimum (grupo 1 1.989,30 €, 2 1.649,70 €, 3 1.435,20 €, 4–7 1.424,40 €) and the 5.101,20 € maximum (Orden PJC/297/2026). Desempleo, FOGASA, FP, MEI and AT/EP are not included. Spain (BOE), as of 2026-11-22. General estimate only: not payroll or tax advice, no filing. Items not verified are listed as not included.

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": {
      "monthly": "<monthly>"
    },
    "name": "calculate_es_employer_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoGrupo de cotización: 1, 2, 3 or 4 (= grupos 4 a 7)
monthlyYesMonthly gross salary including prorated extra pays (EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the description's added value is in scope disclosure: only contingencias comunes is modeled, the base is clamped between group minimum and 5,101.20 € maximum, and everything unverified is reported as 'not included'. The effective date (2026-11-22) and BOE source add further context an agent cannot get from annotations.

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

Conciseness5/5

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

Front-loaded with the rate and base rule, then exclusions, then jurisdiction/date and disclaimer — each sentence carries distinct information. Numeric density is high but every figure (rate, group minimums, cap) is load-bearing for correct invocation.

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 two-parameter, no-output-schema calculator, the description covers inputs, rate, base limits, exclusions, and currency implicitly via EUR schema fields. The remaining gap is that it does not state what the result contains beyond the hint that unverified items are flagged as not included.

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?

Schema coverage is 100%, so baseline is 3, but the description earns more by supplying the group-specific minimum bases (1.989,30 / 1.649,70 / 1.435,20 / 1.424,40 €) and the 5.101,20 € cap that govern how `group` and `monthly` interact. That is decision-relevant meaning the schema's one-line parameter descriptions do not carry.

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 employer Social Security under Régimen General 2026 at 23.60% for contingencias comunes, with the min/max base bounds. It also enumerates what is excluded (Desempleo, FOGASA, FP, MEI, AT/EP), which cleanly separates it from generic employer-cost siblings and from an all-in payroll estimate.

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?

The scope is clearly implied — employer-side contribution calculation for the Spanish general regime — but there is no explicit when-to-use/when-not guidance and no named alternative (e.g., the autónomo quota tool or other-country employer-cost tools). The 'general estimate only, not payroll or tax advice, no filing' line sets boundaries but is a disclaimer rather than routing guidance.

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.