Skip to main content
Glama

Calculadoras laborales y tributarias PY/EC

Calculadora de liquidación laboral Paraguay y Ecuador

calcular_liquidacion_laboral
Read-onlyIdempotent

Liquidación al terminar una relación laboral, según el motivo: indemnización, preaviso, aguinaldo o décimos proporcionales, vacaciones, bonificación por desahucio, con el artículo del Código del Trabajo de cada línea. Paraguay: Ley 213/93. Ecuador: Código del Trabajo. Devuelve también las fuentes oficiales y el link a la calculadora web.

Input Schema

NameRequiredDescriptionDefault
endYesÚltimo día trabajado, inclusive (YYYY-MM-DD).
startYesFecha de ingreso (YYYY-MM-DD).
reasonYesMotivo. Paraguay: despido-injustificado = Despido injustificado; despido-justificado = Despido justificado (art. 81); renuncia = Renuncia del trabajador; retiro-justificado = Retiro justificado del trabajador (art. 84); mutuo-acuerdo = Mutuo acuerdo (art. 78 b). Ecuador: renuncia = Renuncia aceptada o acuerdo (art. 169.2); desahucio = Desahucio del trabajador (aviso de 15 días); despido-intempestivo = Despido intempestivo; visto-bueno = Visto bueno aprobado (art. 172).
regionNoEcuador: región para el período del décimo cuarto.
salaryYesÚltimo salario mensual (Paraguay: promedio de los últimos 6 meses si varía).
countryYesPaís: py = Paraguay (guaraníes, DNIT/MTESS/IPS), ec = Ecuador (USD, SRI/IESS).
preavisoNoParaguay: se dio el preaviso legal a tiempo.
variableNoEcuador: promedio mensual de comisiones, horas extra y otros pagos variables (art. 95).
vacVencidasNoParaguay: venció el plazo de 6 meses para otorgar las vacaciones pendientes (se pagan dobles, art. 221).
vacTakenDaysNoDías de vacaciones ya tomados (adelantados) del año en curso.
decimosMensualNoEcuador: los décimos se pagan mensualizados con el sueldo.
reservaMensualNoEcuador: el fondo de reserva se paga con el sueldo (true) o se deposita en el IESS (false).
vacPendingDaysNoDías de vacaciones de años anteriores ya cumplidos y no gozados.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

The description provides strong behavioral context by specifying that the output includes the relevant articles from the Labor Code for each line item. It also mentions external outputs like official sources and web calculator links, which is critical for a comprehensive assessment.

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 single paragraph is highly efficient. It front-loads the core function, defines the scope, and details the unique features (legal articles/links) without any filler.

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?

Because it does not have an output schema, the description is essential and provides complete information on the returned values, listing specific outputs like articles, sources, and links, making it entirely usable by the agent.

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?

Despite the 100% schema coverage, the description adds vital semantic context (e.g., 'Paraguay: promedio de los últimos 6 meses si varía' for salary) and specifies the legal basis for the calculations ('con el artículo del Código del Trabajo de cada línea'), greatly enriching the parameter understanding.

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 explicitly identifies the purpose as calculating labor liquidation. It scopes the function to two specific jurisdictions (Paraguay and Ecuador), clearly distinguishing it from the component calculation tools in the sibling list.

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 defines the scope of the calculation: termination scenarios, including specific components like indemnification, severance, notice, and various proportions. This provides a clear definition of when and how the tool should be used in a financial planning context.

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.