Skip to main content
Glama

Fiscal y nomina MX — SAT, ISR, CFDI, IMSS, finiquito

fiscal_finiquito

Read-only

Calcula finiquito (renuncia/termino) o liquidacion (despido injustificado), LFT: aguinaldo proporcional, vacaciones + prima, y para liquidacion 3 meses + 20 dias/anio + prima de antiguedad. Devuelve montos BRUTOS. La procedencia legal y el ISR se confirman con abogado/contador. No asesoria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipoNofiniquito (renuncia) o liquidacion (despido injustificado).
dias_aguinaldoNoOpcional. Default 15.
salario_diarioYesSalario diario.
antiguedad_aniosNoAnios de antiguedad (para indemnizacion/prima).
salarios_pendientesNoOpcional. Salarios devengados no pagados (bruto).
dias_trabajados_anioNoDias trabajados del anio en curso (aguinaldo proporcional).
prima_vacacional_pctNoOpcional. Default 0.25.
dias_vacaciones_pendientesNoDias de vacaciones no gozadas.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=true, consistent with a calculation tool. Description explicitly states it returns BRUTO amounts and does not provide legal advice. No contradictions. It adds context about what the tool does not cover (legal procedure, ISR), which is helpful.

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?

The description is one dense paragraph but includes essential information: purpose, components, disclaimer. It is front-loaded with the main action. Could be slightly more structured, but no unnecessary words. Efficient given the complexity.

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 complex legal calculation tool, the description covers the key components and limitations. It mentions returning BRUTO amounts, which is critical. However, without an output schema, the description could detail what specific fields are returned. Still, it is sufficiently complete for an agent to understand usage.

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% with each parameter documented. The tool description groups parameters into calculation components (aguinaldo proporcional, vacaciones, etc.) but does not add significant per-parameter detail beyond the schema. Baseline 3 is appropriate given full schema coverage.

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 the tool calculates finiquito (resignation) or liquidacion (unjustified dismissal) and lists the LFT components (aguinaldo, vacation, etc.). It distinguishes between two scenarios and specifies the jurisdiction (LFT). This is specific and unique among sibling fiscal tools.

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

Usage Guidelines4/5

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

The description explains when to use each type (finiquito for renuncia, liquidacion for despido injustificado). It advises that legal procedure and ISR should be confirmed with a professional, indicating the tool's scope is limited to calculation. No explicit when-not-to-use, but context is clear.

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

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct fiscal or labor calculation (aguinaldo, CFDI validation, IMSS, ISR estimation, etc.) with no overlap. The descriptions clearly differentiate their purposes.

Naming Consistency5/5

All tools follow a consistent 'fiscal_<noun>' pattern, using snake_case and clear, domain-specific nouns (e.g., fiscal_aguinaldo, fiscal_isr_retencion). No deviation.

Tool Count5/5

10 tools cover the essential calculations for Mexican fiscal and payroll management (aguinaldo, finiquito, IMSS, ISR, CFDI, etc.) without being excessive or insufficient.

Completeness4/5

The set covers major tax and labor calculations but lacks a few common tools like PTU (profit sharing) or IVA (VAT) handling. However, it is fairly comprehensive for its stated scope.

Resources