Skip to main content
Glama

calculate tw labor exit

calculate_tw_labor_exit
Read-onlyIdempotent

Taiwan termination: notice period 10/20/30 days by service (勞動基準法 第16條), severance under the new pension system 0.5 month per year up to 6 months (勞工退休金條例 第12條) or the old system 1 month per year (勞基法 第17條), special leave days by service up to 30 (第38條), unemployment benefit at 60% of insured wage for 6 months, or 9 months at 45+ or with a disability (就業保險法 第16條), and the dates for paying severance (within 30 days) and the 5-year wage claim limitation (民法 第126條). Items also show the minimum wage (29,500 TWD a month / 196 an hour in 2026; 30,900 / 205 from 2027-01-01) and warn when the average monthly wage is below it. Taiwan (law.moj.gov.tw), as of 2026-11-21. General information and estimates only: no legal advice, no representation, no filing; values that could not be verified are flagged in the result, not computed.

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": {
      "start": "<start>",
      "end": "<end>",
      "averageMonthlyWage": "<averageMonthlyWage>",
      "system": "<system>"
    },
    "name": "calculate_tw_labor_exit"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAge on the last day
endYesLast day of employment
startYesEmployment start date
systemYesNew (勞退新制) or old pension system for severance
disabledNoHas a disability
averageMonthlyWageYesAverage monthly wage over the last 6 months (TWD)
insuredMonthlyWageNoAverage insured monthly wage for employment insurance (TWD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish that this is a safe, idempotent, closed-world read calculation, so the safety profile needs no restating. The description does add genuine context beyond them — the legal source (law.moj.gov.tw), the as-of date 2026-11-21, the minimum-wage warning behavior, and the fact that unverifiable values are flagged rather than computed. It stops short of describing the shape of the returned result beyond those flags.

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?

Front-loaded with the jurisdiction and outcome, which is correct, but the body is one long comma-chained sentence packed with statutory citations and 2026/2027 minimum-wage figures that do little to help an agent decide or call the tool. Readable but overstuffed; the wage numbers and article numbers could be trimmed.

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 7-parameter calculator with no output schema, the description covers what goes in conceptually, what comes out (flagged unverifiable values, minimum-wage warnings), and the legal basis and vintage of the rules. Minor gaps remain: no explanation of what happens when optional age/disabled/insuredMonthlyWage are omitted, and no description of the result structure.

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

Parameters4/5

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

Schema coverage is 100%, so the schema documents every field; the description still adds interpretive meaning by tying inputs to outputs: service length (start/end) drives notice tiers and special leave, 'system' selects the 0.5-vs-1 month severance rule, and age 45+ or disability extends unemployment benefit to 9 months at 45%. It also implicitly clarifies why averageMonthlyWage and insuredMonthlyWage are distinct inputs.

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?

States a specific verb and resource — a Taiwan termination calculation — and enumerates precisely what is computed: notice period tiers (10/20/30 days), severance formulas for both pension systems, special leave, unemployment benefit, payment deadlines and claim limitation. The jurisdictional prefix ('Taiwan termination') cleanly separates it from the sibling calculate_cn/es/fr/jp/uk_labor_exit tools and from the other TW tax calculators.

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 subject matter makes the use case obvious (a termination/severance estimate for Taiwan), and the closing sentence sets an important boundary: 'General information and estimates only: no legal advice, no representation, no filing.' What is missing is an explicit statement of prerequisites (e.g. that a system must be chosen) or a named alternative when the user needs filing or advice.

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.