Skip to main content
Glama

calculate cn comprehensive income tax

calculate_cn_comprehensive_income_tax
Read-onlyIdempotent

Chinese individual income tax on comprehensive income (wages etc.): annual income minus the 60,000 CNY basic deduction, special and additional special deductions, taxed at 3-45% (IIT Law art. 3, 6). 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": {
      "income": "<income>"
    },
    "name": "calculate_cn_comprehensive_income_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
otherNoOther legal deductions (CNY)
incomeYesAnnual income (CNY)
specialNoSpecial deductions: social insurance and housing fund (CNY)
additionalNoAdditional special deductions (CNY)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely non-structured context: legal basis (IIT Law art. 3, 6), jurisdiction (mainland China), a versioning date (2026-11-21) with the source being the official regulations database, and the caveat that the 2027 filing calendar is unpublished. It stops short of stating rounding/precision or what exactly is returned.

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?

One paragraph, front-loaded with the formula and rate range before jurisdiction, effective date and disclaimers. It is dense but each clause carries information; the disclaimer and the 2027-calendar remark are the only mildly tangential material.

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?

There is no output schema, so the description carries some burden for describing the result, and it never says what is returned (tax payable only, or also taxable base and bracket). Inputs, jurisdiction, legal basis and temporal validity are all well covered, so the remaining gap is narrow but real for a calculator whose output shape is unstated.

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 adds real meaning: it clarifies that the 60,000 CNY basic deduction is applied automatically rather than passed as a parameter, and that 'special' means social insurance and housing fund while 'additional' means additional special deductions. That disambiguates the two easily confused deduction inputs beyond the schema text.

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?

Names a specific verb and resource ('Chinese individual income tax on comprehensive income (wages etc.)') and spells out the computation chain: income minus 60,000 CNY basic deduction, special and additional special deductions, taxed at 3-45%. That scope statement implicitly but clearly separates it from siblings such as calculate_cn_business_income_tax, which covers a different income category.

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?

The scope sentence tells an agent the domain (mainland China, comprehensive income, annual basis), so usage is implied rather than stated. There is no explicit 'use this when / use X instead' routing to the business-income or calendar siblings, and no stated prerequisites or input requirements beyond the formula.

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.