Skip to main content
Glama
Payrolla MCP Server

Payrolla MCP Server

Official
by runpayrolla

calculate_bulk_payroll

Calculate payroll for multiple employees with shared year, month, and custom parameters to run bulk Turkish payroll or yearly simulations.

Instructions

Calculate payroll for multiple employees with shared parameters

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>",
      "month": "<month>"
    },
    "name": "calculate_bulk_payroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesCalculation year (e.g., 2025)
monthYesStarting month (1-12)
employeesYesArray of employees to calculate
periodCountNoNumber of months (default: 1, use 12 for yearly)
customParamsNoCustom global parameters shared by all employees

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.7

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does very little. "Shared parameters" hints that top-level inputs like year, month, periodCount, and customParams apply uniformly across all employees, but nothing is said about side effects, persistence, error handling for partial failures, or cost of bulk runs.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, which is good. However, for a tool with nested objects, enum-like fields, and five parameters, one sentence reads as under-specification rather than disciplined concision.

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 complex bulk mutation/calculation tool with deeply nested input and no annotations or output schema. The description says nothing about what comes back, how partial failures across the employee array are handled, or what periodCount > 1 produces, leaving significant gaps.

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%, so every parameter — including nested employee fields and customParams — is already documented in the schema. The phrase "with shared parameters" adds a small gloss on how global params relate to the employee array, but otherwise the description adds nothing beyond structured data. Baseline 3 applies.

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 gives a specific verb and resource ("Calculate payroll") plus a scope qualifier ("for multiple employees with shared parameters") that implicitly separates it from the single-employee calculate_payroll sibling. It never names that sibling explicitly, so differentiation relies on the agent noticing "multiple".

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusion of alternatives, and no mention of the sibling tools like calculate_payroll or compare_scenarios. The only hint is "multiple employees," which the agent must infer as the batching condition.

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