Skip to main content
Glama

calculate tw depreciation

calculate_tw_depreciation
Read-onlyIdempotent

Taiwan straight-line depreciation using the MOF fixed asset useful-life table (RC/steel buildings 50, reinforced brick 35, brick 25, clad metal 20, metal 15, wood 10, computers 3, tools and fixtures 5, transport-business vehicles 4, other vehicles 5, molds 2 years; lives cannot be shorter, Income Tax Act art. 51), first year prorated by months used, residual value deducted first (Audit Guidelines art. 95), and the expensing rule for items under 2 years or up to 80,000 TWD (art. 77-1). 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": {
      "category": "<category>",
      "cost": "<cost>",
      "start": "<start>"
    },
    "name": "calculate_tw_depreciation"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesCost (TWD)
startYesDate put into use
yearsNoUseful life in years (not below the table)
categoryYesAsset category
residualNoEstimated residual value (TWD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/closed-world, and the description goes well beyond them: it discloses the useful-life caps per category, that lives cannot be shortened (art. 51), first-year month proration, that residual value is deducted first (art. 95), and the under-2-years / 80,000 TWD expensing rule (art. 77-1). What it omits is the output shape — whether it returns a single first-year figure or a full yearly schedule — which matters for a calculator.

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 substance is front-loaded into one dense sentence, and the legal citations are kept in parentheses rather than expanded. The trailing notes on the 114年度 filing and holiday-deadline handling are only loosely relevant to a depreciation calculation and add length without much selection value.

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 five-parameter calculator with no output schema, the description supplies method, legal basis, proration logic, residual handling, an expensing shortcut, and an as-of date — a solid envelope. The remaining gap is the return value: nothing states whether the result is one depreciation amount, a per-year schedule, or the expensed-versus-capitalized outcome.

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 coverage is 100%, so all five parameters are documented and the baseline is 3; the description adds the crucial constraint that 'years' cannot fall below the table value. It also lists the useful lives paired with each category, giving partial meaning to the 'category' enum values, but it does not tie the lives explicitly to the enum keys ('rc-building', 'computer', 'mold'), so the agent must still map them itself.

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?

It names a specific verb and resource ('Taiwan straight-line depreciation') plus the governing method (MOF fixed-asset useful-life table), which cleanly separates it from the sibling jurisdictions (calculate_us_depreciation, calculate_jp_depreciation, etc.) and from calculate_tw_income_tax. An agent can identify the tool without opening the schema.

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 jurisdiction and asset-category scope, and the description sets boundaries ('estimates only; no individual tax advice, agency or filing'). It never says explicitly when to prefer this over a sibling, nor what to do if the user's asset is outside the eleven listed categories.

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.