Skip to main content
Glama

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

fiscal_recargos

Read-only

Calcula recargos por mora + actualizacion por pago tardio de una contribucion en Mexico (CFF Art. 17-A y 21). Determinista y auditable. Los meses se cuentan dia-a-dia desde el vencimiento (cada fraccion = mes completo). Si no se dan los INPC, el total NO incluye actualizacion y sera mayor. Informativo, no asesoria fiscal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
montoYesMonto original del adeudo, en pesos.
inpc_denNoOpcional. INPC del mes anterior al de vencimiento (denominador).
inpc_numNoOpcional. INPC del mes anterior al de pago (numerador, CFF 17-A).
fecha_pagoYesFecha en que se paga, YYYY-MM-DD.
fecha_vencYesFecha limite de pago, YYYY-MM-DD.

TDQS

A4.7/5.0
Behavior5/5

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

The description adds significant behavioral context beyond the annotations (readOnlyHint=true): it explicitly states the tool is deterministic and auditable, explains the day-by-day month counting, and clarifies the effect of missing INPC parameters. No contradiction with annotations.

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 description is concise, consisting of three sentences that are front-loaded with the main purpose. Each sentence adds value: purpose first, then behavioral details, then a disclaimer. No redundant or extraneous text.

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?

The tool has 5 parameters with thorough schema descriptions and the description adds operational context. However, since there is no output schema, the description could have mentioned the return format (e.g., total amount, breakdown). Despite this minor gap, the description is fairly complete for a calculation tool with clear inputs.

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?

The input schema has 100% coverage with descriptions, but the tool description adds additional meaning: it explains the month-counting rule (cada fraccion = mes completo), specifies the optionality and impact of INPC parameters, and clarifies that the amount is in pesos. This enriches the semantic understanding beyond the schema alone.

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 identifies the tool as calculating late payment surcharges for Mexican contributions, referencing specific legal articles (CFF Art. 17-A y 21). This specific verb+resource combination distinguishes it from sibling tools like fiscal_imss or fiscal_isr_retencion, which handle different fiscal calculations.

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 provides clear context: it's deterministic, auditable, and explains the month-counting method. It also states the condition about INPC parameters. However, it lacks explicit guidance on when to prefer this tool over siblings or when not to use it (e.g., if not in Mexico).

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