Skip to main content
Glama
Payrolla MCP Server

Payrolla MCP Server

Official
by runpayrolla

simulate_budget

Model payroll budgets under what-if scenarios such as salary raises, tax bracket changes, or minimum wage adjustments to compare outcomes.

Instructions

Simulate budget with what-if scenarios like salary raises or parameter changes

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": {
      "employees": "<employees>",
      "year": "<year>",
      "periodCount": "<periodCount>",
      "scenario": "<scenario>"
    },
    "name": "simulate_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesCalculation year
scenarioYesScenario configuration with changes to apply
employeesYesArray of employees
periodCountYesNumber of months (use 12 for yearly)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.7

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. The word 'simulate' usefully signals a hypothetical projection that presumably does not persist changes, but the description never confirms non-persistence, says what permissions or existing employee data are needed, or describes the output shape.

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?

A single front-loaded sentence with no wasted preamble. The trailing 'or parameter changes' is slightly vague filler, but the description is appropriately short for a tool whose detail lives in the schema.

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

Completeness2/5

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

This is a deep nested schema (employees with pay events, a scenario object with tax brackets and SSI limits) with four required parameters, no annotations, and no output schema. One sentence does not supply what an agent needs: whether results are returned per employee or per period, whether it mutates anything, and how it differs from calculate_payroll and compare_scenarios.

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 100% and the nested scenario/employee/payEvent fields are well documented in the schema itself. The description adds only a loose gloss ('salary raises', 'parameter changes') that roughly maps to salaryRaisePercent and the other scenario knobs, without deepening any parameter's meaning.

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?

States a specific verb and resource ('Simulate budget') and concretizes it with examples ('salary raises or parameter changes'). It does not distinguish this from siblings like calculate_payroll or compare_scenarios, so an agent must still infer the boundary from names alone.

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

Usage Guidelines3/5

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

Usage is implied by the phrase 'what-if scenarios' — model hypothetical changes rather than real payroll — but there is no explicit when-to-use, no statement of prerequisites, and no pointer to alternatives such as calculate_payroll for actual computation or compare_scenarios for side-by-side comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.