Skip to main content
Glama

Uku Palgakalkulaator

Estonian salary: gross, net and employer cost

calculate_salary
Read-onlyIdempotent

Calculate an Estonian monthly salary from any one of gross salary, net salary (take-home) or total employer cost, with every employee deduction (II pillar funded pension, unemployment insurance, income tax after the basic exemption) and every employer tax (social tax incl. the monthly minimum, employer unemployment insurance). Uses the official rates of the chosen year, rounds each line to the cent like payroll software and the TSD declaration, and returns a readable breakdown, the rates used, sources, and whether the year's figures are final law or still a budget bill. Use it for any question about Estonian pay, palk, brutopalk, netopalk, tööandja kulu or palgamaksud.

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": {
      "amount": "<amount>"
    },
    "name": "calculate_salary"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoTax year. Defaults to the current year in Estonia (Europe/Tallinn), or the latest supported year.
hoursNoWorking hours in the month, for the hourly rate only.
amountYesMonthly amount in euros, e.g. 2000.
pillar2NoII pillar funded pension rate in per cent of gross: 0, 2 (default), 4 or 6.
pillar3NoIII pillar contribution the employer withholds and pays in, euros per month. Tax-free up to 15% of gross and €6,000 a year.
languageNoLanguage of the readable breakdown. Pass the user's language: "et" for Estonian, otherwise "en".en
tax_freeNoBasic exemption (maksuvaba tulu). true (default): the employee filed the application with this employer, the full monthly amount applies. false: none. For a smaller custom amount use tax_free_amount.
withheldNoWithholdings from net pay (child maintenance, a bailiff's claim), euros per month. They change no tax.
pensionerNoThe employee is at old-age pension age and receives a state pension: no employee unemployment premium, no social-tax minimum, pension-age exemption.
amount_typeNoWhat `amount` is: gross salary (brutopalk), net salary (netopalk) or employer_cost (tööandja kulu; "total" is an alias).gross
state_pensionNoOnly with pensioner=true: monthly state pension in euros. The pension uses up the pension-age exemption first; the employer applies only what is left.
tax_free_amountNoOptional: a custom monthly basic exemption in euros, from 0 up to the statutory monthly amount, when the employee asked this employer to apply less than the full amount. Overrides tax_free=true.

Output Schema

NameRequiredDescriptionDefault
netYes
yearYes
grossYes
hoursNo
ratesYes
amountYes
payoutYesNet minus III pillar minus other withholdings: what reaches the bank account.
optionsNo
sourcesYes
employeeYes
employerYes
target_metNoFalse when no gross salary hits a net or employer-cost target to the cent; the closest result is returned.
amount_typeYes
state_totalYesIncome tax + both unemployment premiums + social tax.
hourly_grossNo
employer_costYes
params_statusYes"bill": the year's social-tax monthly base follows the state budget bill, not yet final law.
calculator_urlYes
confidence_noteNo
params_verifiedNoISO date the sources were last read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, but the description adds substantive behavior beyond them: official rates for the chosen year, per-line rounding to the cent matching payroll software and the TSD declaration, and the returned breakdown, rates, sources and whether figures are final law or a budget bill. That is exactly the kind of context an agent needs to trust and present the output.

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?

Core capability is front-loaded in the first clause, and the tax enumeration is dense but each item maps to a real output line. The trailing keyword list is slightly padded but serves retrieval matching, and the two-sentence block is efficient overall.

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

Completeness4/5

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

With an output schema present, the description need not explain return values, and it correctly limits itself to inputs, tax model and output character. For a 12-parameter tool it leaves fine details (hourly-rate hours, pillar3 cap interaction) to the schema, which is acceptable given full schema coverage.

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 the schema already documents all 12 parameters in detail. The description adds conceptual framing (you may start from gross, net or employer cost, and the full deduction stack is applied) but no syntax or default behavior beyond what the schema states; baseline 3 applies.

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 and resource ('Calculate an Estonian monthly salary') plus the exact scope: from any one of gross, net or total employer cost. It enumerates the deduction and tax lines covered, so an agent knows precisely what the tool computes.

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?

The closing sentence gives explicit trigger vocabulary ('any question about Estonian pay, palk, brutopalk, netopalk, tööandja kulu or palgamaksud'), which is clear usage context. It does not, however, distinguish this tool from siblings such as compare_salary_scenarios or calculate_holiday_pay, so the agent must infer the boundary.

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