Skip to main content
Glama

CalculaTodo

isr_anual_mx

ISR anual en México (ejercicios 2026 o 2025): tarifa del artículo 152 de la LISR, base gravable, saldo a cargo o a favor. Fuente: SAT, Anexo 8 de la RMF 2026 (DOF 28-dic-2025). Calculadora: https://calculatodo.lat/calculadora-isr-anual/

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": {
      "ingreso": "<ingreso>"
    },
    "name": "isr_anual_mx"
  }
}

Input Schema

NameRequiredDescriptionDefault
ingresoYesIngreso anual gravable en pesos (MXN), mayor a cero.
retenidoNoISR ya retenido durante el año en pesos. Opcional, 0 por defecto.
ejercicioNoEjercicio fiscal. Opcional, 2026 por defecto.
deduccionesNoDeducciones personales anuales en pesos. Opcional, 0 por defecto.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the legal basis (Art. 152 LISR), the regulatory source (SAT Anexo 8 RMF 2026, DOF 28-dic-2025), and the result components. It does not state that it is a pure calculation with no side effects, nor describe rounding, caps on 'deducciones personales', or edge-case behavior when deductions approach or exceed income.

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 purpose is front-loaded in the first clause, followed by the computed outputs, the authoritative source, and a reference URL. Every element carries weight (the citation establishes legal authority), though the single long sentence packed with parentheticals is slightly dense to parse.

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 domain-specific tax calculator with no annotations and no output schema, the definition supplies the legal article, the authoritative source, the supported years, and the components of the result. It omits return format and edge-case handling, but the essentials an agent needs to call it correctly are largely present.

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 documents all four parameters and their defaults, making a baseline 3 appropriate. The description adds conceptual context ('base gravable', tarifa) but does not clarify parameter-level behavior such as whether 'deducciones' are subject to statutory limits or how 'retenido' offsets the computed balance.

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 computation (annual ISR in Mexico for fiscal years 2026 or 2025) and the outputs it produces: the Article 152 LISR rate, taxable base, and balance due or in favor. An agent can tell what it computes without opening the schema. It stops short of explicitly distinguishing itself from the sibling calculators (e.g. sueldo_neto_mx, aguinaldo_mx), which keeps it from 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 Guidelines3/5

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

Usage is implied by the year scope ('ejercicios 2026 o 2025') and the annual framing, so an agent can infer this applies to yearly income-tax calculation rather than payroll or severance. However, there is no explicit when-to-use/when-not-to-use statement and no named alternative for closely related cases such as monthly net salary, leaving 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