Skip to main content
Glama

calcu.mx — calculadoras de México

Sueldo neto y costo patronal (México)

calcular_sueldo_neto
Read-onlyIdempotent

Calcula la nómina de un trabajador asalariado en México (ejercicio 2026) a partir de su sueldo bruto MENSUAL: ISR retenido con la tarifa oficial del Art. 96 LISR y el subsidio al empleo, cuotas del IMSS del trabajador por rama sobre el salario base de cotización, sueldo neto y costo total para el patrón (cuotas IMSS patronales + 5 % Infonavit). Supone prestaciones mínimas de ley (15 días de aguinaldo, 12 de vacaciones, 25 % de prima vacacional), prima de riesgo clase I y nada de percepciones extra ni deducciones adicionales; no incluye el impuesto estatal sobre nómina. Devuelve cifras mensuales y por periodo (mensual, quincenal o semanal) con desglose por concepto. No sirve para honorarios, RESICO ni aguinaldo: sólo sueldos y salarios.

Input Schema

NameRequiredDescriptionDefault
mesNoOpcional. Mes de la nómina (1–12); por defecto el mes en curso. Enero usa la UMA del año anterior.
anioNoEjercicio fiscal. Por ahora sólo 2026.
periodicidadNoCada cuánto se paga. El ISR del periodo se calcula con la tarifa de ese periodo.mensual
zona_frontera_norteNotrue si el trabajo está en la Zona Libre de la Frontera Norte (salario mínimo de frontera).
sueldo_bruto_mensualYesSueldo bruto MENSUAL en pesos mexicanos (antes de impuestos), aunque se cobre por quincena o por semana.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/closed-world; the description goes well beyond by disclosing every modeling assumption baked into the numbers (15 días aguinaldo, 12 de vacaciones, 25% prima vacacional, prima de riesgo clase I, exclusión del impuesto estatal sobre nómina) and what the response contains. That is exactly the context an agent needs to decide whether the output is trustworthy for a given question.

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?

Front-loaded with the verb, scope and input basis, then assumptions, then the exclusions — a logical order with no filler. It is a single dense paragraph, though, and the assumption list could be scannable bullets rather than one long clause chain.

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?

No output schema exists, yet the description still tells the agent what comes back ('cifras mensuales y por periodo ... con desglose por concepto'), and the legal/assumption caveats plus the exclusion list cover the remaining ambiguity for a calculation tool with one required parameter.

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 schema already carries mes, anio, periodicidad, zona_frontera_norte and the monthly-gross constraint. The description reinforces that the input is MENSUAL regardless of pay period and that periodicidad drives the ISR tarifa, but adds no syntax or edge-case detail beyond the structured fields, so the baseline 3 applies.

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?

States a specific verb and resource (calcula la nómina de un trabajador asalariado en México) and enumerates exactly which components it computes: ISR Art. 96, subsidio al empleo, cuotas IMSS del trabajador y patronales, neto y costo patronal. It explicitly fences itself off from calcular_liquidacion / calcular_pension / honorarios / RESICO, so an agent can separate it from every sibling without opening a schema.

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?

Gives a clear when-not boundary ('No sirve para honorarios, RESICO ni aguinaldo: sólo sueldos y salarios') plus the stipulations that make the result valid (prestaciones mínimas de ley, prima de riesgo clase I, sin percepciones extra, sin impuesto estatal). It does not name the sibling tool an agent should use instead for liquidaciones or pensiones, leaving that routing to inference.

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