Skip to main content
Glama

Calculate China personal pension tax

calculate_cn_personal_pension_tax
Read-onlyIdempotent

China 个人养老金: tax saved this year by the contribution (up to 12,000 yuan deducted from 综合所得) at the annual reconciliation rates. Financial planning check from official scheme rules, same code as tools.oiyo.net. General information only: not financial, tax or investment advice, and no product is recommended.

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>",
      "contribution": "<contribution>"
    },
    "name": "calculate_cn_personal_pension_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
incomeYes综合所得收入额 (CNY)
contributionYes个人养老金缴费 (CNY)
otherDeductionsNo其他扣除 (CNY)
socialInsuranceNo三险一金 (CNY)
specialAdditionalNo专项附加扣除 (CNY)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful domain constraints (12,000 yuan cap, deduction against 综合所得, annual reconciliation rates) but says nothing about the output shape, whether other deductions are modeled, or the limits of the estimate.

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 computation is front-loaded in the first sentence, which is good. However, 'same code as tools.oiyo.net' is promotional noise that earns no place in a tool definition, and the lengthy disclaimer is boilerplate rather than agent-relevant guidance.

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 single-shot calculator with five fully documented parameters and annotations covering the safety profile, the definition is nearly sufficient. The main residual gap is that the return value (a tax-saved amount, presumably paired with baseline tax) is only implied rather than stated, and no output schema exists to cover it.

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 all five parameters already carry their own Chinese labels and descriptions. The description adds the contribution cap and identifies the tax base, which the schema does not, but it says nothing about how otherDeductions, socialInsurance or specialAdditional feed the computation. Slightly above the baseline but not compensating meaningfully.

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 a specific computation: the tax saved this year by a contribution to China's 个人养老金 scheme, with the 12,000 yuan deduction cap and the 综合所得 base named. That is clearly distinct from siblings like calculate_cn_comprehensive_income_tax or calculate_cn_business_income_tax, though the description never explicitly contrasts itself with them.

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 phrase 'Financial planning check from official scheme rules' implies a planning/scenario-analysis use case, but there is no explicit statement of when to use this versus the comprehensive income tax calculator, nor any prerequisites or exclusions. Usage is left to inference from the domain framing.

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.