Skip to main content
Glama

Korea Payroll & Tax (kkuldogu)

Pregnancy due date (South Korea)

pregnancy_due_date
Read-onlyIdempotent

Pregnancy due date and gestational week from the last menstrual period, with the South Korean labor-law dates that follow: reduced working hours in pregnancy, earliest maternity leave start, and the paternity leave deadline.

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": {
      "lastPeriodDate": "<lastPeriodDate>"
    },
    "name": "pregnancy_due_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
cycleDaysNoCycle length in days; default 28
referenceDateNoDate to evaluate; default today (YYYY-MM-DD)
lastPeriodDateYesFirst day of the last menstrual period (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/closed-world/idempotent, so the burden is light, and the description adds genuine value by disclosing what the calculation returns: reduced working hours during pregnancy, earliest maternity leave start, and the paternity leave deadline. It does not discuss jurisdiction limitations beyond the title, defaults, or how the labor-law dates are derived, leaving a small gap.

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 front-loaded sentence that leads with the core computation before the appositive list of derived dates; zero filler. The trailing colon-list is dense but readable, though it slightly buries the labor-law outputs at the end.

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 carries the return-value burden and does so by naming the concrete date outputs, which is the key missing piece for a calculator. It is adequate for a three-parameter, single-purpose computation, though it omits caveats about methodology or jurisdiction scope limits.

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%, with all three parameters (lastPeriodDate, cycleDays, referenceDate) documented including defaults and formats, so the baseline of 3 applies. The description only alludes to the LMP input and adds no additional semantics such as how cycle length shifts the estimate or how referenceDate affects the gestational-week snapshot.

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 names the exact computation (pregnancy due date and gestational week from the last menstrual period) and enumerates the derived labor-law outputs, so an agent can distinguish it from siblings like maternity_leave_pay or new_parent_benefits without reading 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the tool's subject matter; there is no explicit statement of when to prefer this over related benefit/leave calculators, nor any prerequisites or exclusions. An agent can infer the context but must reason about routing itself.

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