Mexican Payroll & Tax Calculator
Server Details
Deterministic Mexican payroll & tax math: finiquito, ISR, aguinaldo, IMSS (2026 tables).
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.1/5 across 4 of 4 tools scored.
Each tool addresses a distinct legal/accounting concept (year-end bonus, severance, social security, income tax) with no functional overlap, so an agent can clearly distinguish them.
All tools follow a consistent 'calc_<specific_term>' pattern in snake_case, making the naming predictable and easy to remember.
Four tools is a compact and focused set that covers the core Mexican payroll and tax calculations without unnecessary breadth or redundancy.
The set covers the most essential payroll/tax components (aguinaldo, finiquito, IMSS, ISR). Minor gaps exist (e.g., vacation payout, PTU), but the core lifecycle is well represented.
Available Tools
4 toolscalc_aguinaldoAInspect
Compute a Mexican aguinaldo (year-end bonus): gross, the UMA-based exempt portion, the taxable portion, its ISR, and the net. Minimum 15 days by law. Do NOT compute from memory — the exemption is UMA-indexed per year. Returns gross, taxable, exempt, isr, net, and the days used.
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Tax-table year. | |
| days_worked | Yes | Days worked in the year. | |
| daily_salary | Yes | Daily salary (MXN). | |
| aguinaldo_days | No | Aguinaldo days (defaults to the legal 15). | |
| paid_in_january | No | January UMA boundary. | |
| monthly_ordinary_salary | No | Monthly ordinary salary for ISR (defaults to daily x 30.4). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that the exemption is UMA-indexed and returns specific fields (gross, taxable, exempt, ISR, net, days), but it does not cover potential side effects, authentication needs, error handling, or constraints beyond the legal minimum days. Some behavioral context is given, but gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, front-loading the core purpose ('Compute a Mexican aguinaldo') and listing key details in a single sentence with clear separators. However, the list of outputs is somewhat run-on, and the imperative warnings add slightly to length, but overall it is efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description adequately lists the return values (gross, taxable, exempt, ISR, net, days worked). It explains the legal minimum and UMA-indexed exemption, which are crucial for correct use. However, it does not describe the calculation logic or the meaning of days_worked in detail, leaving some gaps but sufficient for basic use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 parameters. The description adds minor context (e.g., 'Minimum 15 days by law' relates to aguinaldo_days default, and 'exemption is UMA-indexed per year' relates to the year parameter), but it does not significantly enhance understanding beyond what the schema provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool computes a Mexican aguinaldo (year-end bonus) and lists the outputs (gross, exempt, taxable, ISR, net). The verb 'compute' and resource 'Mexican aguinaldo' are specific, and the sibling tools (finiquito, IMSS, ISR) are clearly different, making the purpose distinct and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for aguinaldo calculation and includes a warning not to compute from memory, but it does not explicitly state when to use this tool versus the siblings (calc_finiquito, calc_imss, calc_isr) or provide any exclusions or prerequisites. Guidance is implicit rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calc_finiquitoAInspect
Compute a Mexican finiquito/liquidación (severance) for a resignation or an unjustified dismissal: prorated christmas bonus, vacations, vacation premium, pending salary, and (for dismissal) 90-day + 20-day/year severance and the seniority premium, with Art. 93 exemptions and separation ISR. Do NOT compute this from memory — LFT bands, UMA exemptions, and the SDI integration factor are table-driven. Returns per-concept gross/exempt/taxable, totals, ISR, deductions, and net_total.
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Tax-table year. | |
| zone | No | Minimum-wage zone. | general |
| hire_date | Yes | Hire date, YYYY-MM-DD. | |
| deductions | No | Optional pass-through deductions. | |
| daily_salary | Yes | Daily salary (MXN). | |
| pending_days | No | Unpaid worked days pending. | |
| paid_in_january | No | January UMA boundary. | |
| termination_date | Yes | Termination date, YYYY-MM-DD. | |
| termination_type | Yes | Type of separation. | |
| vacation_proration | No | Vacation proration basis. | anniversary |
| prima_vacacional_pct | No | Vacation premium percentage (defaults to the legal 25%). | |
| monthly_ordinary_salary | No | Monthly ordinary salary for ISR (defaults to daily x 30.4). | |
| include_20_days_per_year | No | Include the 20-day/year dismissal indemnity. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It adequately describes the computation and output breakdown but does not disclose behavioral traits such as whether the tool is read-only, any authentication needs, or rate limits. It assumes a simple compute operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single dense paragraph that front-loads the purpose and lists components efficiently. Every sentence adds value, and there is no wasted redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (13 parameters, 4 required, no output schema), the description is quite complete, explaining the computed concepts and output structure. It could be slightly more explicit about the difference between finiquito and liquidación, but overall it provides sufficient context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description does not add significant meaning beyond the schema for individual parameters; it focuses on the overall computation. It mentions output structure (gross/exempt/taxable, totals, ISR), which is helpful but not parameter-specific.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool as computing a Mexican finiquito/liquidación for resignation or unjustified dismissal, listing specific components like prorated christmas bonus, vacations, etc. It easily distinguishes from sibling tools (calc_aguinaldo, etc.) by focusing on severance calculations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly warns against computing from memory and notes that LFT bands, UMA exemptions, and SDI integration are table-driven, implying the tool should be used for accuracy. However, it does not provide explicit guidance on when to use alternatives or when not to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calc_imssAInspect
Compute Mexican IMSS social-security contributions: the SDI (integrated daily wage by seniority) and SBC, plus employer/worker quotas for the five insurance branches. The work-risk premium (rt_premium) is an input. Provide either seniority_years (to derive the SDI) or an explicit sdi. Do NOT compute from memory — quota tables and UMA caps are table-driven. Returns sdi, sbc, employer_total, worker_total, grand_total, and a per-branch breakdown.
| Name | Required | Description | Default |
|---|---|---|---|
| sdi | No | Explicit integrated daily wage, if not deriving from salary. | |
| days | No | Number of days to bill. | |
| year | No | Tax-table year. | |
| zone | No | Minimum-wage zone. | general |
| rt_premium | Yes | Work-risk premium (fraction, e.g. 0.005). | |
| daily_salary | No | Daily salary (MXN); with seniority_years derives the SDI. | |
| paid_in_january | No | January UMA boundary. | |
| seniority_years | No | Completed years of seniority (for the SDI integration factor). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description fully bears the burden of transparency. It discloses that the computation is table-driven, that rt_premium is an input fraction, and that it returns a breakdown per branch. It does not mention side effects, but as a pure calculation tool, none are expected.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is six sentences, each contributing important information: purpose, input options, warnings, and output summary. It is front-loaded and well-structured, though slightly verbose; a more concise phrasing could be used without losing clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of the tool (8 parameters, no output schema), the description is fairly complete. It lists all return fields, covers input constraints, and warns about table-driven logic. It could mention error conditions or defaults, but overall it is adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by explaining how parameters interact (e.g., seniority_years derives SDI, paid_in_january is for UMA boundary) and clarifies that rt_premium is a fraction, going beyond the individual schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly specifies what the tool does: compute Mexican IMSS social-security contributions including SDI, SBC, and quotas. It distinguishes itself from siblings (calc_aguinaldo, calc_finiquito, calc_isr) by detailing its specific output and input requirements.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear usage guidance, such as providing either seniority_years or explicit sdi, and warns against computing from memory. It does not explicitly contrast with siblings, but the context makes it clear that this tool is for IMSS calculations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calc_isrAInspect
Compute Mexican ISR (income tax) withholding for a monthly or annual income using the official SAT tables and employment subsidy. Do NOT estimate ISR from memory — brackets and subsidy change yearly and must come from this deterministic tool. Returns tax, subsidy_applied, withholding, the period, and the tax-table year used.
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Tax-table year. | |
| income | Yes | Gross income for the period (MXN). | |
| period | No | Tax period. | monthly |
| paid_in_january | No | January UMA boundary (2025 vs 2026 tables). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It describes the tool as deterministic and lists return fields (tax, subsidy_applied, withholding, period, year), but doesn't mention error handling or edge cases. Adequate for a computation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two efficient sentences that front-load the purpose and key behavior, with no wasted words. Every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, description specifies returned fields. Tool is straightforward with 4 documented parameters; description covers purpose, usage guidance, and return values completely.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so description adds limited parameter detail beyond the schema. It provides context about periods and official tables but doesn't enhance parameter understanding beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool computes Mexican ISR withholding using official SAT tables, specifying the period (monthly/annual) and distinguishing it from sibling tools like calc_aguinaldo or calc_imss.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly warns not to estimate ISR from memory and states that brackets/subsidy change yearly, directing the agent to use this deterministic tool instead of alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!