Skip to main content
Glama

calcular_jubilacion_anticipada

Read-only

Calcula el impacto de jubilarse antes de la edad ordinaria: comprueba si es posible (según años cotizados y modalidad), aplica el coeficiente reductor trimestre a trimestre y devuelve la pensión reducida y la pérdida mensual/anual. Voluntaria: hasta 2 años antes, ≥35 años cotizados. Involuntaria (despido/ERTE): hasta 4 años antes, ≥33 años. Necesita la pensión ordinaria estimada (puedes obtenerla con "consulta_jubilacion").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipoYes"voluntaria" = el trabajador decide jubilarse antes. "involuntaria" = causa ajena (despido colectivo, ERTE, cierre); coeficientes reductores menores.
anos_cotizadosYesAños cotizados a la Seguridad Social
pension_ordinariaYesPensión mensual estimada si se jubilara a la edad ordinaria (€/mes)
meses_anticipacionYesMeses de anticipación respecto a la edad ordinaria de jubilación

TDQS

A5/5.0
Behavior5/5

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

The description fully discloses the tool's behavior: checks conditions, applies coefficients per quarter, and returns reduced pension and loss. It aligns with the readOnlyHint annotation (no destructive actions) and adds context about the two modes and their requirements.

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?

The description is a single, well-structured paragraph that front-loads the purpose, then provides specifics in logical order. Every sentence adds value without repetition, making it concise and effective.

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?

Given the tool's complexity (4 parameters, no output schema), the description is complete: it covers feasibility checks, coefficient application, and return values (reduced pension and loss). The mention of the prerequisite tool completes the context for proper invocation.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant meaning: it explains the 'tipo' (voluntaria/involuntaria) with conditions (≥35 or ≥33 years), and clarifies 'pension_ordinaria' as the estimated monthly amount. This goes well beyond the schema's basic descriptions.

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?

The description clearly states it calculates the impact of early retirement, checks feasibility, applies reduction coefficients, and returns reduced pension and loss. It distinguishes between voluntary and involuntary types, making the purpose specific and distinct from sibling tools.

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

Usage Guidelines5/5

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

The description explicitly guides when to use (to check feasibility and calculate reduction) and mentions a prerequisite (ordinary pension from 'consulta_jubilacion'). It implies when not to use (if no ordinary pension) and provides context for the two modes, aiding correct selection.

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.

TDQS

A3.9/5.0
Disambiguation3/5

There are many tools with overlapping domains (e.g., multiple retirement calculators, home buying calculators), but detailed descriptions and explicit guidance on when to use comprehensive vs. specific tools help clarify. However, the sheer number (49) still creates potential confusion for an agent.

Naming Consistency5/5

All tools follow a consistent convention: infinitive verb or noun prefix (calcular, comparar, consulta) followed by descriptive noun phrase in snake_case. No mixed styles or irregularities.

Tool Count3/5

49 tools is high but justifiable given the broad scope of Spanish financial/legal calculations. It leans toward the heavy side but remains within a manageable range for a comprehensive server.

Completeness4/5

The tool set covers a wide spectrum of personal finance: income, taxes, housing, inheritance, self-employment, investments, etc. Only minor gaps exist (e.g., no separate tool for rental income beyond the alquiler tools, but included in IRPF).

Resources