get_statutory_benefits
Identify required statutory benefits for a country: pension, health, vacation, holidays, parental leave, 13th salary, and bonuses. Ensure compliance with local labor laws.
Instructions
Required statutory benefits per country: pension, health, vacation, holidays, parental leave, 13th salary, bonuses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes |
Implementation Reference
- src/main.ts:705-709 (registration)Tool registration for get_statutory_benefits in the ListToolsRequestSchema handler
{ name: "get_statutory_benefits", description: "Required statutory benefits per country: pension, health, vacation, holidays, parental leave, 13th salary, bonuses.", inputSchema: { type: "object", properties: { country: { type: "string", enum: Object.keys(COUNTRY_BRIEFS) } }, required: ["country"] } }, - src/main.ts:774-789 (handler)Handler implementation for get_statutory_benefits: looks up country from COUNTRY_BRIEFS and returns statutory benefits data including required benefits (must_haves), employer tax burden, and employee protections.
case "get_statutory_benefits": { const country = args?.country as string; const brief = COUNTRY_BRIEFS[country]; if (!brief) throw new Error(`Unknown country: ${country}`); return { content: [{ type: "text", text: JSON.stringify({ module: "Statutory Benefits", country: brief.market, required: brief.must_haves, employer_tax_burden: brief.tax_burden_employer, employee_protections: brief.notable_employee_protections }, null, 2) }] }; } - src/main.ts:708-709 (schema)Input schema for get_statutory_benefits: requires a country parameter (string, must be one of the defined country keys)
inputSchema: { type: "object", properties: { country: { type: "string", enum: Object.keys(COUNTRY_BRIEFS) } }, required: ["country"] } },