Skip to main content
Glama

CalculaTodo

finiquito_mx

Finiquito o liquidación en México: sueldo pendiente, aguinaldo proporcional, vacaciones no gozadas con prima vacacional (25%), y —en despido— indemnización de 3 meses con salario diario integrado y prima de antigüedad (art. 162 LFT, topada a 2 salarios mínimos). Fuente: LFT arts. 76, 80, 84, 89 y 162; salario mínimo 2026 $315.04/día (CONASAMI). Calculadora: https://calculatodo.lat/calculadora-finiquito/

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": {
      "sueldo_mensual": "<sueldo_mensual>",
      "fecha_ingreso": "<fecha_ingreso>",
      "fecha_salida": "<fecha_salida>"
    },
    "name": "finiquito_mx"
  }
}

Input Schema

NameRequiredDescriptionDefault
liquidacionNotrue si es despido (liquidación con indemnización); false si es renuncia (finiquito). Opcional, false por defecto.
fecha_salidaYesFecha de salida, formato AAAA-MM-DD, igual o posterior al ingreso.
fecha_ingresoYesFecha de ingreso, formato AAAA-MM-DD.
sueldo_mensualYesSueldo mensual en pesos (MXN), mayor a cero.
dias_pendientesNoDías de sueldo pendientes de pago (0 a 31). Opcional, 0 por defecto.
dias_vacaciones_pendientesNoDías de vacaciones no gozadas de años anteriores (0 a 365). Opcional, 0 por defecto.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the computational model: the legal articles applied, the 25% vacation premium, the three-month indemnification, and the seniority-premium cap at two minimum wages. That is meaningful behavioral context for a pure calculation tool with no side effects or auth needs. However, it does not describe the return structure, rounding, or what happens with edge cases such as a salida equal to ingreso.

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?

A single dense clause enumerates the computed components, followed by a compact source-and-rate line and a calculator URL, with the domain term front-loaded. Legal citations and the minimum-wage figure earn their place as the calculation basis. The phrasing is slightly run-on but has no filler sentences.

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 six-parameter, no-output-schema calculator with no annotations, the description supplies the essential context: the complete set of computed concepts, the governing legal rules, and the specific 2026 minimum wage used, which determines the seniority-premium cap. The main omission is any statement about the shape of the result or error handling for invalid date ranges.

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 coverage is 100% and every parameter already carries an inline description with type, format, range, and default, so the baseline is 3. The description reinforces the meaning of the liquidacion flag by tying indemnification to 'en despido', but adds no syntax details or semantics for the remaining parameters beyond what the schema documents.

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 names a specific domain resource (finiquito/liquidación in Mexico) and enumerates exactly what is computed: pending salary, proportional aguinaldo, unused vacation plus 25% premium, and, for dismissal, three months' indemnification with integrated daily wage and seniority premium. This is far more informative than the bare name. The verb 'calculates' is only implied through the component list and calculator link, and no sibling (e.g., aguinaldo_mx) is named as an alternative, which keeps it below 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 guidance on when to invoke this versus aguinaldo_mx or sueldo_neto_mx, which cover overlapping sub-components. The distinction between renuncia (finiquito) and despido (liquidación) is stated as domain knowledge but is not framed as an instruction for choosing parameters. The agent must infer usage entirely from the domain vocabulary.

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.

Resources