Skip to main content
Glama

calculate tw income tax

calculate_tw_income_tax
Read-onlyIdempotent

Taiwan individual income tax estimate for income year 2025 (114年度: brackets 590k/1.33M/2.66M/4.98M, exemption 97,000 or 145,500 at 70+, standard deduction 131,000/262,000, salary deduction 218,000, basic living cost 213,000 per person) or 2026 (115年度: 610k/1.38M/2.77M/5.19M, 101,000, 136,000/272,000, 227,000; basic living cost not yet published), rates 5/12/20/30/40% (Income Tax Act art. 5, 17; MOF notice 2025-11-27). Itemized and other special deductions are not included. 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": {
      "year": "<year>"
    },
    "name": "calculate_tw_income_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesIncome year: 2025 (114年度) or 2026 (115年度)
salaryNoTaxpayer's salary income (TWD)
elderlyNoOf whom aged 70 or over
marriedNoJoint return with spouse
personsNoPeople on the return (taxpayer, spouse, dependants)
disabledNoOf whom with a disability
otherIncomeNoOther net income (TWD)
spouseSalaryNoSpouse's salary income (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 declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description still adds real value beyond them: the legal basis (Income Tax Act art. 5, 17; MOF notice 2025-11-27), the as-of date of 2026-11-21, what is deliberately out of scope, and an explicit no-advice disclaimer. It does not describe the shape of the returned estimate, which is the main behavioral omission.

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?

It is a single front-loaded block, but a large share is a numeric dump of brackets, exemptions and deductions that the calculator applies internally and that an agent does not need in order to select or invoke the tool. The scope limits and disclaimers earn their place; the constant tables largely do not.

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 an 8-parameter, side-effect-free estimator this covers rates, scope exclusions, legal sourcing and disclaimers well. With no output schema, the one remaining gap is that the description never says what the estimate returns (tax payable? effective rate? bracket breakdown?), which would help an agent interpret results.

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 baseline is 3, but the description goes further by tying the parameters to their downstream effects: 70+ taxpayers get the 145,500 exemption, the basic living cost applies per person, and the year selects between two bracket/exemption sets. It still leaves the interaction of salary vs spouseSalary and married/persons unspecified.

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?

Opens with a specific verb and resource: 'Taiwan individual income tax estimate', scoped to income year 2025 or 2026. That instantly separates it from siblings such as check_tw_business_tax or calculate_capital_gains_tax, which cover different tax types.

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 description gives clear usage boundaries: individual income tax estimates only, itemized and other special deductions excluded, no filing/agency work, and national-holiday deadline shifts not computed. It does not name a specific alternative sibling to use instead when a case falls outside those bounds, which is the only gap.

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.