Skip to main content
Glama

IUSTORIA – průvodci a právní kalkulačky

Náhrada mzdy při nemoci

nahrada_mzdy_pri_nemoci
Read-onlyIdempotent

Spočítá náhradu mzdy, kterou platí zaměstnavatel za prvních 14 kalendářních dnů dočasné pracovní neschopnosti nebo karantény (§ 192 zákoníku práce): průměrný hodinový výdělek redukovaný jako denní vyměřovací základ nemocenského (redukční hranice × 0,175, pásma 90 %, 60 % a 30 %, § 21 zákona o nemocenském pojištění), z toho 60 %, za pracovní dny v období (pondělí až pátek včetně svátků, nebo zadaný počet), od prvního dne bez karenční doby; při odpracované směně v den vzniku od dalšího dne (skončila-li neschopnost týž den, řekne, že náhrada nepřísluší). Počítá pro neschopnost vzniklou od 1. 7. 2019, kdy byla karenční doba zrušena (čl. II bod 1 zákona č. 32/2019 Sb.), s redukčními hranicemi a minimální mzdou roku vzniku; pro dřívější neschopnost uvede tehdejší úpravu (karenční doba, v letech 2011 až 2013 náhrada za 21 dnů, před rokem 2009 náhrada nenáležela) bez výpočtu. Průměrný výdělek pod hodinovou minimální mzdou zvýší na ni (§ 357 odst. 1); zadaný počet pracovních dnů nesmí převýšit počet kalendářních dnů do posledního dne neschopnosti. Redukční hranice má pro pracovní neschopnost začínající v letech 2018 až 2027 (počítá od 1. 7. 2019). EN: Calculates the Czech employer-paid wage compensation for the first 14 days of sick leave (60% of reduced average earnings), for sick leave starting from 1 July 2019, when the unpaid waiting days were abolished.

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": {
      "zacatek": "<zacatek>"
    },
    "name": "nahrada_mzdy_pri_nemoci"
  }
}

Input Schema

NameRequiredDescriptionDefault
konecNoPoslední den pracovní neschopnosti, RRRR-MM-DD; bez zadání trvá déle než 14 dnů. EN: Last day of sick leave.
zacatekYesPrvní den pracovní neschopnosti nebo karantény, RRRR-MM-DD. EN: First day of sick leave.
hodin_denneNoDélka směny v hodinách: nejvýš 12, u zdravotníků v nepřetržitém provozu podle § 83a až 24 (nad 12 nástroj upozorní). Bez zadání 8. EN: Shift length in hours.
pracovnich_dnuNoPočet pracovních dnů (směn) zaměstnance v období náhrady (při jiném rozvrhu než pondělí až pátek); nejvýš tolik, kolik má období kalendářních dnů do posledního dne neschopnosti. Bez zadání se počítají pondělí až pátek včetně svátků. EN: Working days in the period.
smena_odpracovanaNoV den vzniku pracovní neschopnosti měl zaměstnanec směnu už odpracovanou: 14 dnů začíná až dalším dnem (§ 192 odst. 1). EN: The shift on the first day was already worked.
prumerny_hodinovy_vydelekNoPrůměrný hodinový výdělek zaměstnance v Kč (z předchozího čtvrtletí; spočítá ho nástroj prumerny_vydelek). EN: Average hourly earnings in CZK.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "prumerny_hodinovy_vydelek",
      -  "zacatek"
      -]New value: +[
      +  "zacatek"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / hodin_denne / description
      Previous value: -"Délka směny v hodinách. Bez zadání 8. EN: Shift length in hours."New value: +"Délka směny v hodinách: nejvýš 12, u zdravotníků v nepřetržitém provozu podle § 83a až 24 (nad 12 nástroj upozorní). Bez zadání 8. EN: Shift length in hours."
    • changedInput schema / properties / pracovnich_dnu / description
      Previous value: -"Počet pracovních dnů zaměstnance v období (při jiném rozvrhu než pondělí až pátek). Bez zadání se počítají pondělí až pátek včetně svátků. EN: Working days in the period."New value: +"Počet pracovních dnů (směn) zaměstnance v období náhrady (při jiném rozvrhu než pondělí až pátek); nejvýš tolik, kolik má období kalendářních dnů do posledního dne neschopnosti. Bez zadání se počítají pondělí až pátek včetně svátků. EN: Working days in the period."
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: the reduction thresholds and bands, the 60% rate, counting of working days including public holidays, the absence of waiting days, the shift-on-first-day rule, the special case where compensation is not due, and the warning when shift length exceeds 12 hours. This tells the agent exactly how edge cases are handled and what it will get back in prose form.

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 opening is front-loaded with verb and resource, which is good, but the body is one very long run-on paragraph dense with statutory citations and cross-references. Much of the legal detail earns its place for a calculation tool, yet the lack of any structure or line breaks makes it harder to scan than necessary.

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 domain-heavy calculation tool with no output schema, the description covers methodology, effective-date limits, validation constraints, and special cases thoroughly. The remaining gap is the return shape: it says the tool will state that compensation is not due or report historical rules, but does not describe the structure of the computed 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 parameter documentation is already complete and the baseline is 3. The description adds some domain meaning — that average hourly earnings are reduced as a daily assessment base, and that earnings below the hourly minimum wage are raised to it — but it does not explain the individual parameters or their interactions beyond what the schema descriptions already state.

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 states a specific verb and resource (calculates the employer-paid wage compensation for the first 14 days of sick leave), anchors it in the exact legal provision (§ 192 zákoníku práce), and scopes it to sick leave starting from 1 July 2019, which separates it from the sibling nemocenska (sickness insurance benefit). An agent can identify the tool's domain without opening the schema.

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?

It gives a clear applicability boundary: it computes for incapacity arising from 1 July 2019 and, for earlier cases, only reports the then-applicable regime (waiting days, 21 days in 2011–2013, no compensation before 2009) without calculating. That is an explicit use/don't-compute rule, but no sibling alternative is named, so routing against nemocenska or minimalni_mzda_a_priplatky is left to inference.

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