Skip to main content
Glama

sodra_payroll

Read-onlyIdempotent

Calculates a Lithuanian employee's monthly payroll from gross or net pay for 2025–2026, including withheld taxes, employer contributions, total cost, and Sodra/VMI amounts.

Instructions

One Lithuanian employee's monthly pay worked out from a gross pay, or back from a net one, for a year this server has the published rates of (2025, 2026), answered in Markdown: the employee's lines (gross, VSD and PSD withheld, the II pillar where the employee accumulates, the NPD where this employer applies it, GPM at 20 % and the net pay), the employer's contributions and the pay's cost, and what is paid to Sodra (code 252, at the whole rate the SAM reports, on the pay or on the MMA where the floor applies) and to VMI (code 1311). Amounts are rounded half up to cents as Sodra rounds them; the employer's part is what Sodra is paid less what was withheld. A net is worked back to the least gross that pays it. Nothing is asked of Sodra or VMI: the rates are in the server, each credited in the last line.

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": {
      "year": "<year>",
      "npd": "<npd>",
      "secondPillar": "<secondPillar>",
      "contract": "<contract>",
      "accidentGroup": "<accidentGroup>",
      "floor": "<floor>"
    },
    "name": "sodra_payroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
netNoThe net monthly pay in euros to work the gross back from. Give this or gross, not both.
npdYesWhether this employer applies the NPD (the employee asked it to; it is applied at one employer only).
yearYesThe year the pay is for.
floorYesWhether contributions are due on at least the MMA: true unless the employee works for another employer or is insured by the state that month, gets a pension, is 24 or younger, or another exception of Sodra's applies.
grossNoThe gross monthly pay in euros, such as 2000. Give this or net, not both.
contractYesThe employment contract: indefinite (neterminuota) or fixed-term (terminuota).
secondPillarYesWhether the employee accumulates a pension in the II pillar (3 % more withheld).
accidentGroupYesThe employer's accidents at work insurance group, 1 to 4; 1 for most offices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds real behavioral facts beyond that: all rates live in the server, nothing is sent to Sodra or VMI, rounding is half-up to cents in Sodra's style, the employer's part is derived as Sodra's payment minus withholding, and a net figure is inverted to the least gross that pays it. The only weakness is that these facts are buried in a dense clause chain rather than stated plainly.

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?

Information density is high and nothing is filler, but the whole description is one long run-on sentence with stacked parentheticals ('code 252, at the whole rate the SAM reports, on the pay or on the MMA where the floor applies'), which makes it hard to scan. The core purpose is front-loaded, but the breakdown of the returned lines would read far better as a short list.

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 takes on the full burden of describing the return value and does so thoroughly: the employee's lines (gross, VSD/PSD, II pillar, NPD, GPM 20%, net), the employer's contributions and total cost, and the Sodra (252) and VMI (1311) liabilities, all in Markdown. It also covers rounding convention, net-to-gross inversion, and the server's year coverage — everything an agent needs to call it and interpret the result.

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 coverage is 100%, so the schema already documents all eight parameters including the gross/net exclusivity rule and enum meanings. The description echoes some of that (gross-or-net, II pillar accumulation, NPD at one employer, MMA floor), adding only modest interpretive context such as GPM at 20% and the Sodra/VMI payment codes. Baseline 3 is appropriate when the schema does the heavy lifting.

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 description opens with a precise verb+resource: computing one Lithuanian employee's monthly pay, forward from gross or backward from net, for 2025/2026. It is clearly a deterministic calculator, which sets it apart from the sibling tools (deadlines, employer, forms, SAM draft, status) without needing to name them.

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 only implied: the agent can infer this is the tool for per-employee monthly pay math, and the description notes the accepted years and that gross XOR net must be supplied. There is no explicit when-to-use/when-not statement, no mention of when a sibling like sodra_sam_draft would be the better choice, and no statement of what happens for years outside 2025–2026.

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