Skip to main content
Glama

calculate cn depreciation

calculate_cn_depreciation
Read-onlyIdempotent

Chinese corporate income tax depreciation: minimum useful lives (buildings 20, machinery 10, tools and furniture 5, other vehicles 4, electronics 3 years; Implementation Regulations art. 60), straight-line from the month after first use with a reasonable residual value (art. 59); one-off deduction for new equipment up to 5 million CNY bought 2024-2027 (MOF/STA 2023 No. 37); accelerated depreciation with lives >= 60% of the minimum, double-declining or sum-of-years (art. 98). Mainland China, as of 2026-11-21 (laws and State Taxation Administration announcements in the official regulations database). General information and estimates only; no individual tax consulting, agency or filing. The 2027 filing calendar is not yet published.

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_cn_depreciation"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYesTax basis (CNY)
startYesDate put into use
yearsNoUseful life in years
methodNoMethod (accelerated assets only for double/sum)
oneOffNoUse the one-off deduction (new equipment, 2024-2027)
categoryYesAsset category
acceleratedNoAsset qualifies for accelerated depreciation
residualRateNoResidual value rate as a fraction

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 and closed-world, so safety is covered. The description adds genuinely new context: the legal basis (Implementation Regulations arts. 59, 60, 98; MOF/STA 2023 No. 37), an explicit as-of date (2026-11-21) with source ('official regulations database'), and a scope disclaimer that this is estimates only, not filing or tax advice. It stops short of saying what the computed result contains or how partial first-year months are handled.

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 core rule set is front-loaded and dense, but it is crammed into a single multi-clause sentence with semicolons, which makes scanning harder than it needs to be. The closing sentence about the 2027 filing calendar not being published is not relevant to a depreciation calculation and does not earn its place.

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 calculator with no output schema, the definition supplies the legal rules, effective date, jurisdiction and a liability disclaimer, which is close to what an agent needs to call it correctly. The remaining gaps are the return shape (annual schedule? per-year amounts? summary totals?) and defaults for non-required parameters such as years, method and residualRate.

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 baseline is 3. The description does add real meaning on top of the schema: it supplies the minimum useful lives per category value (buildings 20, machinery 10, tools 5, vehicles 4, electronics 3), the 60%-of-minimum threshold for accelerated lives, the 5 million CNY / 2024-2027 window for oneOff, and 'reasonable residual value' for residualRate. Those are material constraints not present in the terse schema descriptions, which lifts it to the upper end of the baseline.

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 names the specific resource and jurisdiction ('Chinese corporate income tax depreciation', 'Mainland China'), which cleanly separates it from the calculate_es/fr/jp/us_depreciation siblings. It never states the operation in a single plain clause (e.g., 'computes a depreciation schedule from cost, start date and category'), instead opening directly with regulatory rules, so purpose is clear by inference rather than declaration.

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?

Applicability conditions are embedded in the rules: accelerated methods require lives >= 60% of the minimum, and the one-off deduction only applies to new equipment up to 5 million CNY bought 2024-2027. These effectively gate parameter use, but there is no explicit when-to-use/when-not guidance, no routing to sibling country calculators, and no statement about what to do when an asset falls outside these regimes.

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.