calculate_all_in_employer_cost
Calculate total all-in employer headcount cost in China including mandatory statutory social security (五险一金 - Wuxian Yijin: Pension 16%, Medical 6-10%, Housing Fund 5-12%, Unemployment 0.5%, Work Injury 0.2%) with exact municipal floors (60% avg wage) and ceilings (300% avg wage) across 20+ Chinese cities. Accepts an explicit monthly salary or automatically queries market median P50 for a given role and city.
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": {
"city": "<city>"
},
"name": "calculate_all_in_employer_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Target Chinese city (e.g. "Shanghai", "Beijing", "Shenzhen", "Hangzhou", "Chengdu", "Wuhan") | |
| role | No | Standardized role (e.g. "Software Engineer", "Java", "Algorithm Engineer") to look up market median salary if monthly_salary_cny is omitted. | |
| headcount | No | Number of employees/headcount to budget for (default: 1) | |
| seniority | No | Seniority level (e.g. "Senior (5-10年)", "Mid (3-5年)") when looking up role. | |
| bonus_months | No | Annual bonus structure in total months of pay (default: 14 for China tech standard 12 base + 2 bonus) | |
| housing_fund_rate | No | Employer housing fund contribution rate (e.g. 0.07 for 7%, 0.12 for 12%). Defaults to municipal tech standard. | |
| monthly_salary_cny | No | Gross pre-tax monthly base salary in CNY. If omitted, "role" must be provided. |