Skip to main content
Glama

CalculaTodo

iva_mexico

IVA en México: agrega el IVA a un monto o quítalo de un total, con tasa general 16% o fronteriza 8%. Fuente: Ley del IVA, art. 1, y decreto de estímulos fiscales de la región fronteriza. Calculadora: https://calculatodo.lat/calculadora-iva-mexico/

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": {
      "monto": "<monto>",
      "modo": "<modo>"
    },
    "name": "iva_mexico"
  }
}

Input Schema

NameRequiredDescriptionDefault
modoYes"agregar": el monto es sin IVA y se le suma. "quitar": el monto ya incluye IVA y se separa.
tasaNoTasa: 0.16 general o 0.08 fronteriza. Opcional, 0.16 por defecto.
montoYesMonto en pesos (MXN), mayor a cero.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully cites the legal basis (Ley del IVA art. 1 and the frontera stimulus decree), which explains where the 16%/8% rates come from, but it omits behavioral details such as rounding/precision of the result, what exactly is returned, and any validation behavior for non-positive montos.

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 short and front-loads the core operation and rates before the legal citation. The trailing calculator URL is mildly promotional but plausibly aids verification; nothing else is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only three parameters, full schema coverage and no output schema, the description covers the inputs and the rate rationale adequately, but it never describes what the tool returns (IVA amount, base, total), which is the agent's remaining unknown given there is no output schema.

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% and the schema already documents 'agregar'/'quitar' semantics and the 0.16/0.08 rate enum, so the description's restatement of rates and directions adds little beyond structured data. It contributes no extra meaning such as rounding conventions or currency assumptions for monto.

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 gives a precise verb-plus-resource ('IVA en México: agrega el IVA a un monto o quítalo de un total') and pins down the two applicable rates (16% general, 8% fronteriza). It is unambiguous what the tool computes, though it never names or contrasts the sibling calculators (aguinaldo_mx, finiquito_mx, isr_anual_mx, sueldo_neto_mx), leaving differentiation to be inferred from the resource name alone.

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?

The description implies usage by defining the two directions of the calculation, but it never states when an agent should reach for this tool versus the other Mexican tax siblings, nor does it state prerequisites or exclusions. Guidance is present but only at the level of what the calculation does, not when to choose it.

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