Skip to main content
Glama

calculate kr dismissal notice pay

calculate_kr_dismissal_notice_pay
Read-onlyIdempotent

Korean dismissal notice pay (해고예고수당, 근로기준법 제26조): without 30 days' notice the employer owes 30 days of ordinary wage (the Ministry of Employment and Labor treats any shorter notice as owing the full 30 days). Exceptions: under 3 months of service, natural disaster making the business impossible, intentional serious damage listed in the enforcement rule. Applies to workplaces of any size; written notice (제27조) and unfair-dismissal remedy within 3 months (제28조) only for 5+ employees. Daily ordinary wage = monthly ordinary wage ÷ monthly paid hours (40 h/week = 209) × daily hours.

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": {
      "monthlyOrdinaryWage": "<monthlyOrdinaryWage>",
      "noticeDays": "<noticeDays>",
      "tenureMonths": "<tenureMonths>"
    },
    "name": "calculate_kr_dismissal_notice_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
fivePlusNoWorkplace normally employs 5 or more people
exceptionNo제26조 exception claimed by the employer
noticeDaysYesDays of notice before the dismissal date (0 = same day)
weeklyHoursNoContracted weekly hours (default 40)
tenureMonthsYesMonths of continuous service
monthlyOrdinaryWageYesMonthly ordinary wage (기본급 + fixed monthly allowances) (KRW)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the bar is lower; the description still adds real behavioral content — partial notice is treated by the Ministry as owing the full 30 days, exceptions apply, and size thresholds gate related provisions. It stops short of saying what the tool actually returns (an amount in KRW, an eligibility verdict, or both).

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?

The core rule and the shorter-notice interpretation are front-loaded, then exceptions, then scope thresholds, then the wage formula — a logical order with no filler sentences. The single dense paragraph with interleaved Korean terms is slightly harder to scan than it could be.

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 six-parameter legal calculator with full schema coverage, the description supplies the statutory rule, exceptions, and size thresholds an agent needs to interpret inputs correctly. The remaining gap is the return value, which has no output schema and is not described.

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 goes beyond it by explaining why weeklyHours/paid hours matter (daily ordinary wage = monthly ÷ 209 at 40 h/week × daily hours) and by corroborating the exception enum values with their statutory meaning. It does not disambiguate noticeDays vs tenureMonths interaction beyond the shorter-notice rule.

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?

Names the exact benefit (해고예고수당) and its statutory basis (근로기준법 제26조), and states the computation rule, so the resource is unambiguous. It never explicitly contrasts itself with adjacent calculators such as shutdown allowance or severance pay, but the statutory anchor makes the domain clear.

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 exceptions list (under 3 months of service, natural disaster, intentional serious damage) functions as explicit when-not guidance, and the 5+ employee threshold tells the agent when the related notice/remedy provisions apply. No named alternative tools or positive routing guidance, which keeps it below a 5.

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.