Skip to main content
Glama

Uku Palgakalkulaator

Estonian sick benefit (haigushüvitis)

calculate_sick_pay
Read-onlyIdempotent

Calculate Estonian sick benefit (haigushüvitis) for an ordinary illness, injury or quarantine: days 1–3 unpaid, days 4–8 paid by the employer (70% of the six-month average calendar-day pay), from day 9 by Tervisekassa (70% of last year's social-taxed income ÷ 365, with the minimum-wage floor and the yearly ceiling per day), at most 182 days. Returns who pays which dates, both daily rates, the ceiling and whether it is published or still computed from the act, gross, income tax (22%, no basic exemption) and net.

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": {
      "start_date": "<start_date>",
      "days": "<days>",
      "monthly_gross": "<monthly_gross>"
    },
    "name": "calculate_sick_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesCalendar days from the first day to the last day of the case, weekends included.
languageNoLanguage of the readable breakdown. Pass the user's language: "et" for Estonian, otherwise "en".en
start_dateYesFirst day of the first sick note of the case, YYYY-MM-DD. A follow-up note continues the same count.
agreed_wageNoMonthly wage agreed on the day before the note starts, for the low-income floor. Default monthly_gross.
unpaid_daysNoCalendar days without pay in those six months (earlier sick note, holiday, unpaid leave).
monthly_grossYesGross monthly pay: used for the six-month average and as the agreed wage unless those are given.
six_month_payNoPay actually earned in the six calendar months before the start month, when it is not simply monthly_gross × 6.
employment_startNoFirst day of employment, when later than the start of the six-month period.
last_year_incomeNoLast calendar year's income subject to social tax, all employers. Default monthly_gross × 12. Tervisekassa uses it from day 9.
before_first_payday_wageNoThe note starts before the first payday: the agreed wage of that month. Implied when employment_start is in the start month.

Output Schema

NameRequiredDescriptionDefault
netYes
daysYes
yearYes
tk_toNo
methodNo
ceilingNoCeiling of one day's Tervisekassa benefit for cases starting in that year (none before 2026).
sourcesYes
tk_daysYesDays 9–182: Tervisekassa pays.
tk_fromNo
last_dayNo
messagesNo
tk_grossYes
income_taxYes
need_monthNo
period_endNo
period_payNo
start_dateYes
denominatorNo
employer_toNo
total_grossYes
unpaid_daysNo
period_startNo
waiting_daysYesDays 1–3: nobody pays.
employer_daysYesDays 4–8: the employer pays.
employer_fromNo
income_tax_tkNo
tk_daily_rateNo
tk_floor_usedNo
calculator_urlYes
ceiling_statusYespublished: Tervisekassa's figure; computed: derived from the act, not yet confirmed by Tervisekassa.
employer_grossYes
ceiling_appliedNo
confidence_noteNo
tk_daily_incomeNo
last_year_incomeNo
average_daily_payNo
days_beyond_limitNoDays after the 182nd: nobody pays.
employer_daily_rateNo
income_tax_employerNo
period_calendar_daysNo
tk_floor_daily_incomeNo
tk_daily_before_ceilingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only establish it is a safe, idempotent, closed-world read; the description goes well beyond them by disclosing the statutory payment split (days 1–3 unpaid, 4–8 employer at 70%, day 9+ Tervisekassa), the 182-day cap, the minimum-wage floor and yearly ceiling, and the 22% income tax with no basic exemption. That is exactly the domain behavior an agent cannot infer from the annotations.

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?

Effectively three sentences, front-loaded with purpose and scope, then the payment formula, then the return contents; nothing is filler. The formula sentence is long and comma-dense with nested parentheticals, which slightly slows parsing but each clause carries substantive rules.

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?

For a 10-parameter statutory calculator with an output schema, this covers the domain logic an agent needs to invoke it sensibly and even summarizes the return shape. Minor gaps remain: it does not flag that the day count is calendar days capped at 366 in schema versus 182 paid days, nor the follow-up-note continuation rule, both of which affect correct input.

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%, so the baseline is 3; the description earns extra by tying parameters to real meaning — the six-month average, last year's social-taxed income as the Tervisekassa basis, and the minimum-wage floor that motivates agreed_wage. It does not explain the follow-up-note/same-start-date convention or the language parameter, leaving those 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?

Names a specific verb+resource ('Calculate Estonian sick benefit (haigushüvitis)') and immediately constrains scope to ordinary illness, injury or quarantine, which separates it from the sibling pay/compensation calculators. The follow-on sentence enumerates the exact payment schedule the calculation implements.

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 scope clause ('ordinary illness, injury or quarantine') tells the agent which cases belong here, implicitly excluding holiday pay, salary, and unused-holiday tools. It stops short of naming a sibling alternative or stating when-not-to-use explicitly (e.g. maternity/paternity benefit, occupational injury), so it is clear context without full routing guidance.

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