Skip to main content
Glama

Calculate Spain pension plan limit

calculate_es_pension_plan_limit
Read-onlyIdempotent

Spain plan de pensiones: maximum reduction in the IRPF base (1,500 general, employer and worker increments, autónomo increment, 30% of net income). Financial planning check from official scheme rules, same code as tools.oiyo.net. General information only: not financial, tax or investment advice, and no product is recommended.

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": {
      "netIncome": "<netIncome>"
    },
    "name": "calculate_es_pension_plan_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
autonomoNoAportaciones como autónomo (EUR)
employerNoContribución de la empresa (EUR)
netIncomeYesRendimientos netos del trabajo y actividades (EUR)
individualNoAportaciones a planes individuales (EUR)
workerEmploymentNoAportación propia al plan de empleo (EUR)
workIncomeOver60kNoRendimientos del trabajo > 60.000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds provenance ('from official scheme rules, same code as tools.oiyo.net') and a scope disclaimer, which is useful trust context, but says nothing about how the result is composed or whether partial inputs change the answer.

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?

One dense sentence carries the substance, front-loading the country and rule, followed by a compact provenance and disclaimer sentence. The parenthetical list is efficient, though the sentence is long and mixes the subject of the calculation with the numeric rule details.

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 six parameters and no output schema, the description should ideally state what the response contains (single limit figure versus per-bucket breakdown) and how the 60k work-income flag interacts with the 30% net-income rule. It covers the input components well but leaves the returned shape and one parameter's effect unexplained, which is a moderate gap for a calculation tool.

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%, so the baseline is 3 and each EUR input is already labelled. The description does add domain meaning by naming the concrete rule components (1,500 general cap, employer/worker increments, autónomo increment, 30% of net income), but it omits any explanation of the 'workIncomeOver60k' boolean, which is the one parameter whose effect is not self-evident.

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 identifies a specific resource (Spain 'plan de pensiones' maximum IRPF base reduction) and enumerates the components it computes, so an agent can tell it apart from the many non-Spain pension siblings by country and tax regime. The verb is implicit rather than stated, but 'maximum reduction ... from official scheme rules' conveys that this is a limit computation rather than a general tax lookup.

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 when-to-use or when-not-to-use guidance and no reference to any alternative tool; the only boundary stated is the legal disclaimer. An agent must infer from the name alone that this applies to Spanish IRPF pension-plan deductions and not to, say, corporate tax or autónomo quota calculations.

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.