Skip to main content
Glama

calculate kr maternity leave pay

calculate_kr_maternity_leave_pay
Read-onlyIdempotent

Korean maternity leave pay (출산전후휴가 급여) and spouse childbirth leave (배우자 출산휴가 20일) for 2026: monthly ordinary wage, priority-support (SME) employer or not, single / multiple / premature birth. Splits employer and employment-insurance shares with the 2026 caps (2.2M KRW per 30 days; 20-day spouse cap 1,684,210 KRW) and the minimum-wage floor.

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": {
      "monthlyWage": "<monthlyWage>",
      "priorityFirm": "<priorityFirm>"
    },
    "name": "calculate_kr_maternity_leave_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNosingle 90 days, multiple 120 days, premature 100 days
monthlyWageYesMonthly ordinary wage (통상임금) (KRW)
priorityFirmYesPriority-support employer (most SMEs): insurance pays all leave days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish this as a read-only, idempotent, closed-world calculation, so the description's job is to add calculation semantics — which it does: it discloses that results are split between employer and employment-insurance shares, that 2026 caps of 2.2M KRW per 30 days and 1,684,210 KRW for the 20-day spouse leave apply, and that a minimum-wage floor is enforced. It stops short of describing the response shape or units of the returned split, but the added behavioral context is substantial.

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?

A single dense sentence, front-loaded with the domain and followed by the differentiating inputs and the cap/floor rules. Every clause carries information; the only cost is that the density makes it slightly hard to scan, but nothing is wasted.

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 no output schema, the description must convey what comes back, and it does so at a high level: an employer-versus-employment-insurance split bounded by 2026 caps and a minimum-wage floor. It leaves the exact response fields and currency/unit formatting unstated, which is a minor gap for a three-parameter calculator.

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 all three parameters are already documented, including the enum-like kind values and their day counts and the priorityFirm explanation. The description restates the same inputs (ordinary wage, SME status, single/multiple/premature) without adding new syntax, defaults, or edge-case meaning, so the 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 names the specific resource (Korean maternity leave pay 출산전후휴가 급여 plus spouse childbirth leave) and the exact calculation it performs, including the employer/insurance split and 2026 caps. It does not explicitly differentiate itself from the adjacent calculate_kr_injury_leave_pay, but the domain and inputs make its scope unambiguous.

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 through the enumerated inputs (monthly ordinary wage, priority-support employer, birth type) and the 2026 framing. There is no explicit statement of when to call this versus another leave or wage calculator, nor any prerequisite or exclusion 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.