Skip to main content
Glama

Save payroll settings

save_payroll_settings

Change this business's payroll settings, the country pack's settings, the jurisdiction and the PAYE method that get_payroll_setup lists. Send only the settings to change. The first call saves nothing and answers the changes; call again with confirm true after the user approves them. Finalised payslips, closed periods and existing drafts keep their figures; only payslips created or re-populated after the change use the new settings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_payroll_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoOmitted, nothing is saved: the answer lists each change for the user to approve. Send true after the user approves.
settingsNoSetting id to value, ids as get_payroll_setup lists them under settings. Only the ids you send change. A null value removes the stored value, and the pack default applies.
payemethodNoHow PAYE is worked out: "ytd" (year to date) or "period" (per period). get_payroll_setup lists the choices under payemethod.options. The move to "ytd" is one-way.
jurisdictionNoA code from get_payroll_setup jurisdiction.options. "$delete" clears it. Omitted, it stays.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payemethod
      Added value: +{
      +  "description": "How PAYE is worked out: \"ytd\" (year to date) or \"period\" (per period). get_payroll_setup lists the choices under payemethod.options. The move to \"ytd\" is one-way.",
      +  "enum": [
      +    "ytd",
      +    "period"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes much further by disclosing the two-phase dry-run/confirm protocol and the retroactivity rules — finalised payslips, closed periods, and existing drafts keep their figures, and only payslips created or re-populated afterwards adopt the new settings.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tightly packed sentences, front-loaded with the resource scope, then the confirm protocol, then the side-effect rules. No filler or repetition; each sentence carries a distinct, decision-relevant fact.

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?

With no output schema, the description correctly compensates by explaining that the unconfirmed call 'answers the changes' for approval. Combined with the retroactivity caveats and the pointer to the sibling read tool, an agent has everything needed to invoke this safely on first try.

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?

Schema coverage is 100% and the parameter descriptions are already detailed, so the baseline is 3. The description still adds value by reinforcing partial-update semantics ('only the settings to change') and by pointing to get_payroll_setup as the authoritative source of setting ids and jurisdiction/payemethod options, though the null-removal and $delete behaviors are left entirely to the schema.

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?

States a specific verb (change/save) and enumerates the exact resources affected: business payroll settings, country pack settings, jurisdiction, and PAYE method. It also names the read counterpart get_payroll_setup, so an agent can cleanly separate reading from writing the setup.

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?

Explicitly prescribes the workflow: send only the settings to change, the first call saves nothing and returns the proposed changes, then call again with confirm true after user approval. This is exactly the when-and-how guidance an agent needs, and it points to get_payroll_setup for the valid ids.

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