Skip to main content
Glama

Taokeh MCP server

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

File a pending employee-change draft (human approves in Taokeh)

update_employee_draft

Files a pending draft of corrections to an employee already on Taokeh's payroll (IC or passport, EPF/SOCSO/income-tax numbers, salary, designation, statutory flags). Nothing changes until an admin (or a bookkeeper with the payroll login) approves the current → proposed diff in Taokeh; other connections are refused. employeeId is the real id from payroll_summary (staff: true lists the roster, even before the first payroll run); a name is refused. proposed holds only the fields to change; fields the record already matches are dropped, and a no-change proposal is refused. One employee per call. Changes apply to future payroll runs only: no filed payslip, run or year-to-date PCB is recomputed or restated (a filed month is a human decision in Payroll → Payroll Runs). Not settable here, each refused by name with the screen that owns it: TP3 prior-employer figures, TP2 benefits-in-kind, the flat 15% tax regime, and pay before Taokeh this year. bankName and bankAccountNo print on the payslip and the giro list the owner uploads at their own bank; Taokeh never pays anyone and nothing on this connector moves money.

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": {
      "employeeId": "<employeeId>",
      "proposed": "<proposed>"
    },
    "name": "update_employee_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoA short reviewer note in the reviewer's language: what changed, why, and what to double-check.
proposedYesOnly the fields to change. A field the record already agrees with is dropped; an unknown or excluded field is refused by name.
employeeIdYesThe employee's real id, from payroll_summary (`staff: true` for the roster, `perEmployee: true` for a run). A name is refused.
needsReviewNotrue flags the draft for the reviewer (an IC read off a blurry photo, a salary the user was unsure about).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed15 schema fields changed
    • changedInput schema / properties / employeeId / description
      Previous value: -"REQUIRED — the employee's real id, from payroll_summary (`staff: true` for the roster, or `perEmployee: true` for a run). A name is refused."New value: +"The employee's real id, from payroll_summary (`staff: true` for the roster, `perEmployee: true` for a run). A name is refused."
    • changedInput schema / properties / needsReview / description
      Previous value: -"Set true when something gave you pause — an IC read off a blurry photo, a salary the user was unsure about."New value: +"true flags the draft for the reviewer (an IC read off a blurry photo, a salary the user was unsure about)."
    • changedInput schema / properties / notes / description
      Previous value: -"A SHORT reviewer note, in the reviewer's language: what you changed, why, and what they should double-check."New value: +"A short reviewer note in the reviewer's language: what changed, why, and what to double-check."
    • changedInput schema / properties / proposed / description
      Previous value: -"ONLY the fields you want changed. A field the record already agrees with is dropped; an unknown or deliberately-excluded field is refused by name."New value: +"Only the fields to change. A field the record already agrees with is dropped; an unknown or excluded field is refused by name."
    • changedInput schema / properties / proposed / properties / bankAccountNo / description
      Previous value: -"Account number on the payslip and the giro list. Read it back digit by digit before proposing it; Taokeh never sends a payment."New value: +"Account number on the payslip and the giro list. Taokeh never sends a payment."
    • changedInput schema / properties / proposed / properties / basicSalary / description
      Previous value: -"Monthly basic salary in ringgit. This is the most consequential field here — propose it only from something the user actually told you, never from an inference."New value: +"Monthly basic salary in ringgit. It drives every statutory contribution and the PCB."
    • changedInput schema / properties / proposed / properties / epfEmployeeRate / description
      Previous value: -"EPF employee-share override as a FRACTION, e.g. 0.09 for a 9% election. null clears the override and returns them to the statutory rate."New value: +"EPF employee-share override as a fraction, e.g. 0.09 for a 9% election. null clears the override (back to the statutory rate)."
    • changedInput schema / properties / proposed / properties / icNo / description
      Previous value: -"Malaysian IC number. Never guess a digit — a wrong IC follows the person onto every statutory file."New value: +"Malaysian IC number. A wrong IC follows the person onto every statutory file."
    • changedInput schema / properties / proposed / properties / isPermanentResident / description
      Previous value: -"Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS unless they are a temporary resident; a PR pays the Malaysian rates (EPF Part C from age 60). Set it only on the employer's word."New value: +"Malaysian permanent resident; meaningful only when isMalaysian is false. A non-citizen who is not a PR pays EPF at 2% each side from October 2025 wages and has no EIS unless a temporary resident; a PR pays the Malaysian rates (EPF Part C from age 60). This is the employer's declaration."
    • changedInput schema / properties / proposed / properties / isTemporaryResident / description
      Previous value: -"Temporary resident holding a MyKAS (the green temporary-resident IC) — only for a non-citizen who is not a PR. A temporary resident pays EIS; for EPF they stay on the non-PR 2% each side. Moving someone from temporary resident to PR or citizen? Send isTemporaryResident: false with the new citizenship. Set it only on the employer's word."New value: +"Temporary resident holding a MyKAS (the green temporary-resident IC); only for a non-citizen who is not a PR. A temporary resident pays EIS; EPF stays at the non-PR 2% each side. A move to PR or citizen is isTemporaryResident: false with the new citizenship. This is the employer's declaration."
    • changedInput schema / properties / proposed / properties / residencyChangeMonth / description
      Previous value: -"'YYYY-MM' — the month their tax residency changed to its CURRENT value. null when there was no mid-year change."New value: +"'YYYY-MM': the month tax residency changed to its current value; null when there was no mid-year change."
    • changedInput schema / properties / proposed / properties / resignDate / description
      Previous value: -"YYYY-MM-DD. Setting it does NOT by itself take somebody off payroll — `status` does."New value: +"YYYY-MM-DD. Setting it does not take somebody off payroll; `status` does."
    • changedInput schema / properties / proposed / properties / skbbkExemptReason / description
      Previous value: -"PERKESO SKBBK (\"Lindung 24 Jam\"). It is deducted BY DEFAULT (null = deducted here). \"OPTED_OUT\" = a local employee (citizen, permanent resident, temporary resident) opted out with PERKESO by 31 Aug 2026, the last day PERKESO took an opt-out; a foreign worker cannot opt out and is refused. \"OTHER_EMPLOYER\" = the employee has another job and that employer deducts it (only the one employer chosen with PERKESO deducts it, foreign workers included). null = deduct it here, e.g. after they opted back in with PERKESO. Set it only on the employer's word. The old key skbbkEnrolled was retired on 3 Nov 2026 and is refused."New value: +"PERKESO SKBBK (Lindung 24 Jam), deducted by default (null = deducted here). 'OPTED_OUT': a local employee (citizen, PR, temporary resident) who opted out with PERKESO by 31 Aug 2026; refused for a foreign worker. 'OTHER_EMPLOYER': another employer, the one chosen with PERKESO, deducts it. The retired key skbbkEnrolled is refused."
    • changedInput schema / properties / proposed / properties / status / description
      Previous value: -"'ACTIVE' or 'RESIGNED'. Bringing somebody back to ACTIVE consumes a payroll seat, and approval is refused with a plain sentence if the plan has none left."New value: +"'ACTIVE' or 'RESIGNED'. Bringing somebody back to 'ACTIVE' consumes a payroll seat; approval is refused with a plain sentence if the plan has none left."
    • changedInput schema / properties / proposed / properties / taxResident / description
      Previous value: -"Tax residency (182 days or more in Malaysia in the year) is SEPARATE from citizenship. A non-resident is taxed at a flat 30%."New value: +"Tax residency (182 days or more in Malaysia in the year), separate from citizenship. A non-resident is taxed at a flat 30%."
  3. Changed2 schema fields changed
    • removedInput schema / properties / proposed / properties / skbbkEnrolled
      Removed value: -{
      -  "description": "PERKESO SKBBK (\"Lindung 24 Jam\") standing opt-in — voluntary for Malaysians, permanent residents and temporary residents (MyKAS); foreign workers are always deducted. Only set it when the employee has actually opted in.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / proposed / properties / skbbkExemptReason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "OPTED_OUT",
      +        "OTHER_EMPLOYER"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "PERKESO SKBBK (\"Lindung 24 Jam\"). It is deducted BY DEFAULT (null = deducted here). \"OPTED_OUT\" = a local employee (citizen, permanent resident, temporary resident) opted out with PERKESO by 31 Aug 2026, the last day PERKESO took an opt-out; a foreign worker cannot opt out and is refused. \"OTHER_EMPLOYER\" = the employee has another job and that employer deducts it (only the one employer chosen with PERKESO deducts it, foreign workers included). null = deduct it here, e.g. after they opted back in with PERKESO. Set it only on the employer's word. The old key skbbkEnrolled was retired on 3 Nov 2026 and is refused."
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / proposed / properties / skbbkEnrolled / description
      Previous value: -"PERKESO SKBBK (\"Lindung 24 Jam\") standing opt-in — voluntary for Malaysians. Only set it when the employee has actually opted in."New value: +"PERKESO SKBBK (\"Lindung 24 Jam\") standing opt-in — voluntary for Malaysians, permanent residents and temporary residents (MyKAS); foreign workers are always deducted. Only set it when the employee has actually opted in."
  5. Changed2 schema fields changed
    • changedInput schema / properties / proposed / properties / isPermanentResident / description
      Previous value: -"Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS; a PR pays the Malaysian rates (EPF Part C from age 60). Set it only on the employer's word."New value: +"Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS unless they are a temporary resident; a PR pays the Malaysian rates (EPF Part C from age 60). Set it only on the employer's word."
    • addedInput schema / properties / proposed / properties / isTemporaryResident
      Added value: +{
      +  "description": "Temporary resident holding a MyKAS (the green temporary-resident IC) — only for a non-citizen who is not a PR. A temporary resident pays EIS; for EPF they stay on the non-PR 2% each side. Moving someone from temporary resident to PR or citizen? Send isTemporaryResident: false with the new citizenship. Set it only on the employer's word.",
      +  "type": "boolean"
      +}
  6. Changed2 schema fields changed
    • removedInput schema / properties / proposed / properties / epfEmployeeRate / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / proposed / properties / epfEmployeeRate / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / proposed / properties / isPermanentResident / description
      Previous value: -"Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS; a PR pays the Malaysian rates. Set it only on the employer's word."New value: +"Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS; a PR pays the Malaysian rates (EPF Part C from age 60). Set it only on the employer's word."
  8. Changed1 schema field changed
    • changedInput schema / properties / proposed / properties / taxResident / description
      Previous value: -"Tax residency (the 183-day rule) is SEPARATE from citizenship. A non-resident is taxed at a flat 30%."New value: +"Tax residency (182 days or more in Malaysia in the year) is SEPARATE from citizenship. A non-resident is taxed at a flat 30%."
  9. Changed1 schema field changed
    • addedInput schema / properties / proposed / properties / isPermanentResident
      Added value: +{
      +  "description": "Malaysian permanent resident — only meaningful when isMalaysian is false. A non-citizen who is NOT a PR pays EPF at 2% each side from October 2025 wages and has no EIS; a PR pays the Malaysian rates. Set it only on the employer's word.",
      +  "type": "boolean"
      +}
  10. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses the human-approval gate, permitted approvers, refusal behavior, dropping of unchanged fields, prospective-only payroll effects, and the absence of payslip or PCB recomputation. The closing explanation that bank details merely print on documents and that no money moves is especially valuable safety context.

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?

The purpose and approval constraint are front-loaded, and the dense content consistently earns its place. Nevertheless, the long single paragraph and semicolon-heavy sentences make the many rules harder to scan than a short introduction followed by grouped constraints.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex nested mutation-draft tool without an output schema, the description supplies the information needed to invoke it safely: identifier discovery, approval lifecycle, validation behavior, effective scope, exclusions, and financial side-effect limits. The schema already documents individual fields, so further field-by-field explanation is unnecessary.

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?

Despite 100% schema coverage, the description adds useful cross-parameter rules such as the no-change refusal, one-employee-per-call limit, and named unsupported proposal fields. However, much of the employeeId, proposed, and bank-field wording repeats the schema, while notes and needsReview receive no additional explanation.

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?

The opening sentence precisely identifies the operation as filing a pending correction draft for an existing payroll employee, rather than directly updating the employee. The employee-specific resource and approval workflow clearly distinguish it from the other update_*_draft siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete selection and invocation guidance: use payroll_summary with staff:true to obtain employeeId, change only one employee per call, and expect names and no-change proposals to be refused. It also states when not to use the tool, excluding retrospective payroll restatement and several fields owned by other Taokeh screens.

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.

Resources