Skip to main content
Glama

calculate tw late fee

calculate_tw_late_fee
Read-onlyIdempotent

Taiwan late payment surcharge: 1% of the tax for every 3 days late, transferred to enforcement after 30 days (Tax Collection Act art. 20), plus fine caps: income tax under-reporting up to 2x, not filing up to 3x (Income Tax Act art. 110); business tax evasion up to 5x (Business Tax Act art. 51). Taiwan, as of 2026-11-21 (law.moj.gov.tw and Ministry of Finance). General information and estimates only; no individual tax advice, agency or filing. The 2025 tax year is 114年度, filed in May 2026; national-holiday deadline shifts are not computed, only weekends.

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": {
      "tax": "<tax>",
      "due": "<due>",
      "paid": "<paid>"
    },
    "name": "calculate_tw_late_fee"
  }
}

Input Schema

NameRequiredDescriptionDefault
dueYesPayment deadline
taxYesTax due (TWD)
kindNoIncome tax or business tax
paidYesPayment date

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real behavioral context beyond that: the statutory formula, the 30-day enforcement transfer, jurisdiction-specific fine caps tied to the income/business distinction, an as-of date (2026-11-21) with sources, and two explicit computational limitations (weekends only, no holiday shifts). It stops short of describing the response shape or what is returned once the 30-day enforcement threshold is crossed.

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?

Front-loaded with the core formula and rate before the statutory citations, and every sentence carries substantive information (rates, caps, as-of date, disclaimers, scope limits). It is dense but somewhat citation-heavy, and the fine-cap enumeration is tangential to the headline late-fee calculation, which slightly dilutes focus.

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 no output schema, the description carries the burden of explaining what comes back, and it does not state the return shape, rounding, or the result when payment predates the deadline or exceeds the 30-day enforcement window. It does compensate with the formula, legal basis, and explicit computational exclusions. For a multi-jurisdiction tax calculator with four parameters, the missing return-value framing is a real gap.

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%, so the schema already documents tax, due, paid, and kind, including date patterns. The description adds indirect meaning to 'kind' by tying income vs business tax to different fine caps, but says nothing about how tax, due, and paid are interpreted (e.g., zero-days-late behavior, rounding, or the optionality of kind). Baseline 3 is appropriate when the schema carries the weight.

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 pins a specific jurisdiction and resource: Taiwan late payment surcharge computed at 1% of the tax per 3 days late, plus statutory fine caps under named acts. The Taiwan scope distinguishes it from the CN/ES/UK sibling calculators without needing to name them. It never opens with an explicit verb like 'Calculates', relying on the title and formula to convey the action.

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?

Usage is implied by the scope limitations ('national-holiday deadline shifts are not computed, only weekends', 'estimates only; no individual tax advice, agency or filing') and by the tax-year note (2025 = 114年度, filed May 2026). There is no explicit when-to-use statement and no routing to or away from sibling calculators such as calculate_tw_tax_appeal_deadlines. An agent can infer intent but gets no alternative-selection guidance.

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.