Skip to main content
Glama

calculate es autonomo quota

calculate_es_autonomo_quota
Read-onlyIdempotent

Spanish self-employed (autónomo) 2026: contribution bracket by monthly net income (15 brackets, min/max base, Orden PJC/297/2026 art. 18), quota at 31.50% (own calculation, not an official table); optional IRPF estimate for simplified direct estimation with 5% hard-to-justify expenses capped at 2,000 EUR (RIRPF 30.2), state scale + Madrid 2025 regional scale as an example, personal allowance 5,550 EUR, and 15% / 7% (new activity) withholding (RIRPF 95.1). Spain, as of 2026-11-21 (BOE consolidated texts, AEAT and Seguridad Social). General information and estimates only; no personalised advice, representation or filing. Unverified 2026 values (reduced autónomo quota, 7% hard-to-justify expenses, 2026 late-payment interest rate, regional scales, 2027 calendar) are flagged, not assumed.

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": {
      "netMonthly": "<netMonthly>"
    },
    "name": "calculate_es_autonomo_quota"
  }
}

Input Schema

NameRequiredDescriptionDefault
nuevoNoNew activity (first registration or none in 2 years)
gastosNoAnnual deductible expenses incl. own quota (EUR)
ingresosNoAnnual income excl. VAT (EUR)
retenidoNoIRPF already withheld (EUR)
netMonthlyYesExpected monthly net income for Social Security (EUR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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, yet the description still adds substantive behavior: the 31.50% rate is an 'own calculation, not an official table', unverified 2026 values are flagged rather than assumed, and the tool explicitly performs no filing or representation. That tells an agent how much to trust the output. What is missing is any statement of the returned structure or how the quota is annualized versus monthly.

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

Conciseness3/5

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

The core purpose is front-loaded, but the first sentence is a single 90-word run-on stuffed with parenthetical legal citations, and the caveat sentence piles on five separate unverified items. Every clause is factually relevant, yet the density hurts scannability and could be broken into purpose, inputs, and caveats.

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 five-parameter calculator with fully documented schema and rich annotations, the description covers what it computes and the legal basis, but there is no output schema and no description of what is returned (bracket, base, quota, IRPF breakdown, flags). It also leaves open how optional inputs behave when omitted and whether results are monthly or annual.

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 the baseline would be 3, but the description adds meaning the schema does not: the 5% hard-to-justify expense allowance capped at 2,000 EUR, the 5,550 EUR personal allowance, and the 15%/7% withholding rates that give context to retenido and nuevo. It stops short of mapping each parameter to its effect on the result, which keeps it from a 5.

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 makes clear that this tool maps monthly net income to a Spanish autónomo contribution bracket and computes a quota at 31.50%, with an optional IRPF estimate layered on. It is specific about resource and domain (15 brackets, Orden PJC/297/2026 art. 18) and is easily distinguishable from the surrounding tax/deadline calculators. It omits an explicit verb-led statement of purpose and never names a sibling it must not be confused with, keeping it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no routing to alternatives such as calculate_es_vat or calculate_es_late_filing_surcharge. The only usage signal is implicit: the IRPF portion is labeled 'optional' and depends on supplying ingresos/gastos. The closing disclaimer ('General information and estimates only; no personalised advice') is a legal caveat, not selection 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.