Skip to main content
Glama

Calculo laboral (LFT)

calcular_laboral

Calculo laboral mexicano (LFT) con desglose, fundamento y deslinde: concepto 'aguinaldo', 'prima_vacacional' o 'finiquito'. Consume saldo (servicio LABORAL; tarifa vigente en consultar_precios). Es resultado matematico, no resolucion oficial; cada respuesta declara con que tabla/version se calculo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conceptoYes
fecha_bajaNo
fecha_ingresoNo
dias_aguinaldoNo
salario_diarioNo
dias_trabajadosNo
anios_antiguedadNo
incluir_indemnizacionNo
dias_pendientes_salarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint false, destructiveHint false), the description discloses that the tool consumes balance (cost), that results are mathematical and not official resolutions, and that each response declares the table/version used. These are valuable behavioral traits not captured in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense sentence that packs in purpose, cost, and disclaimer. It is not front-loaded with the most critical info first and could benefit from bullet points or segmentation, but it is not overly verbose.

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

Completeness2/5

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

For a 9-parameter tool with no output schema, the description is inadequate. It does not specify which parameters are required for each concept, the expected input formats, or the return structure beyond mentioning table/version declaration. An agent would struggle to invoke it correctly without additional information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate, but it only mentions the 'concepto' parameter's possible values. The other eight parameters (fecha_baja, salario_diario, etc.) are left completely unexplained, leaving an agent without guidance on their meaning or which are relevant per concept.

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 states the tool calculates Mexican labor concepts (aguinaldo, prima_vacacional, finiquito) under LFT, with breakdown, legal basis, and disclaimer. It distinguishes itself from sibling calculators like calcular_imss and calcular_isr by naming specific labor concepts, leaving no ambiguity about its domain.

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 listing the supported concepts, but does not explicitly state when to use this tool versus alternatives, nor does it mention exclusions or refer to sibling tools. It does warn that it consumes balance, which is a usage consideration, but no explicit routing guidance is provided.

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