Skip to main content
Glama

Save employee

save_employee

Create or update a payroll employee: name, number, contact and identity details, role, department, employments and standing package. Omit id to create; pass an id to update that employee. An update that ends the employee's employment (a new end date with no employment starting the next day) files their tax certificates; a status change, a re-sent end date or a create files nothing. Writes no payslip and posts nothing to the ledger.

Input Schema

NameRequiredDescriptionDefault
idNo
cityNo
nameNo
roleNo
emailNo
notesNo
numberNo
suburbNo
addressNo
countryNo
starredNo
address2No
archivedNo
idnumberNo
birthdateNo
taxnumberNo
departmentNo
postalcodeNo
employmentsNo
packagekindNoHow the package is paid. annual, monthly and weekly: packageamount is the pay for that period and packagequantity is not sent. hourly and daily: packageamount is the RATE per hour or day and packagequantity is the normal hours or days per week. "$delete" clears it.
jurisdictionNoThe employee's jurisdiction id within the business's payroll pack, when the pack has more than one.
contactnumberNo
packageamountNoThe package amount; see packagekind. "$delete" clears it.
packagequantityNoNormal hours or days per week, for an hourly or daily package only. "$delete" clears it.
paysliptemplateNoThe id of the payslip template whose lines this employee's payslips start from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / jurisdiction / description
      Added value: +"The employee's jurisdiction id within the business's payroll pack, when the pack has more than one."
    • changedInput schema / properties / packageamount / anyOf
      Previous value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "enum": [
      +      "$delete"
      +    ],
      +    "type": "string"
      +  }
      +]
    • addedInput schema / properties / packageamount / description
      Added value: +"The package amount; see packagekind. \"$delete\" clears it."
    • addedInput schema / properties / packagekind / description
      Added value: +"How the package is paid. annual, monthly and weekly: packageamount is the pay for that period and packagequantity is not sent. hourly and daily: packageamount is the RATE per hour or day and packagequantity is the normal hours or days per week. \"$delete\" clears it."
    • changedInput schema / properties / packagequantity / anyOf
      Previous value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "enum": [
      +      "$delete"
      +    ],
      +    "type": "string"
      +  }
      +]
    • addedInput schema / properties / packagequantity / description
      Added value: +"Normal hours or days per week, for an hourly or daily package only. \"$delete\" clears it."
    • addedInput schema / properties / paysliptemplate / description
      Added value: +"The id of the payslip template whose lines this employee's payslips start from."
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the actual side-effect conditions: an update that ends an employment by adding a new end date with no next-day employment files tax certificates, while a status change, re-sent end date or create files nothing. It also explicitly bounds scope by stating no payslip is written and nothing posts to the ledger. That is exactly the behavioral context an agent needs before mutating payroll data.

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?

Three sentences, front-loaded with the verb and the create/update rule, with the payroll side effects stated last. The middle sentence is clause-heavy ('a new end date with no employment starting the next day') but every detail is load-bearing for correct invocation, and there is no filler.

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?

This is a 25-parameter upsert with no required fields and no output schema, so the agent must infer what constitutes a minimally valid create or update. The description handles the side-effect semantics well but leaves a substantial gap on parameter-level requirements and dependencies (template ids, jurisdiction, employment status). Adequate to call safely at a high level, but not complete for a tool of this complexity.

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 only 20% out of 25 parameters, so the description carries more burden than usual. It does group the fields into recognizable categories and explains the id-based create/update switch, but it adds no meaning for the undocumented bulk of the schema — the employments array shape, status values, what a 'standing package' requires, or which fields matter for a valid create.

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 opens with a specific verb and resource ('Create or update a payroll employee') and enumerates the covered data groups (name, number, contact, identity, role, department, employments, package). The create-vs-update rule keyed on 'id' makes the operation unambiguous. It doesn't explicitly contrast itself with nearby siblings such as save_client, save_supplier or get_employee, which keeps it at a 4.

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

Usage Guidelines4/5

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

It gives a concrete decision rule: omit id to create, pass an id to update that employee. It also implies use is for creating or modifying employees rather than reading them. What it lacks is guidance on prerequisites (e.g. fetching an existing employee first, dependency on payroll setup or jurisdictions) and any explicit 'use X instead' routing.

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