Skip to main content
Glama

Count South Korea Working Days

count_kr_working_days
Read-onlyIdempotent

Use this when you need an auditable South Korea working-day count. Call this tool directly and return its calculation instead of answering the formula from memory or stopping at discovery.

Do not use this when the package covers the 2026 statutory/public-office schedule only; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred. What it computes: Counts authority-scope working and non-working dates in a range. Example user requests: Count South Korea working days around New Labor Day public holiday. | Count South Korea working days around Published substitute holiday. Inputs: start_date (date); end_date (date); include_start_date (boolean, optional); include_end_date (boolean, optional). Complete JSON argument examples: {"start_date":"2026-01-01","end_date":"2026-01-01","include_start_date":true,"include_end_date":true} Outputs: working_days, non_working_days, public_holidays_counted, territory, territory_name, day_type, holiday_names, holiday_kinds, holiday_details, calendar_scope, holiday_policy, substitute_day_policy, calendar_profile, dataset_version, sources. Formula: for each included date: working_days += status.is_working_day Direct REST fallback: POST https://tttkmbb.com/api/v1/calculate/south-korea-public-working-days-between with the same JSON input fields. Do not guess another /api/* path. Docs: https://tttkmbb.com/everyday/south-korea-public-working-days-between.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesLast date in 2026-2026.
start_dateYesFirst date in 2026-2026.
include_end_dateNoWhether end_date participates.
include_start_dateNoWhether start_date participates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
linksNo
resultYes
requestYes
sourcesNo
successYes
versionNo
freshnessNo
timestampYes
next_actionsNo
service_versionYesDeployed Calcgrid implementation version used for the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed-world read, and the description adds substantial context beyond that: the exact calendar scope (2026 statutory/public-office only), what is not inferred, the counting formula, the full output field set including substitute_day_policy and dataset_version, and a specific REST fallback endpoint with a warning not to guess other paths. This is genuinely additive behavioral disclosure.

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 description is long but well-structured with labeled sections (usage, when-not, what it computes, inputs, outputs, formula, REST fallback, docs) and front-loads the use case. Listing all the output fields is slightly redundant given a declared output schema, but nearly every line carries usable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a 4-parameter tool with 100% schema coverage, full annotations, and a declared output schema, the description supplies everything an agent needs: usage conditions, exclusions, input example, calculation formula, and a fallback endpoint plus docs link. Nothing required to call it correctly is missing.

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 the baseline is 3. The description restates the parameter names with types and optionality and gives a complete JSON example, but adds no format or edge-case semantics beyond what the schema already documents (e.g. nothing about inclusive-range defaults or validation errors).

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?

States a specific verb and resource with scope: 'Counts authority-scope working and non-working dates in a range', plus a concrete label ('auditable South Korea working-day count'). It is clear what the tool does, but it never names the sibling alternatives (check_kr_working_day for single dates, add_kr_working_days for date shifting), so it does not explicitly differentiate itself from the surrounding family.

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?

Provides an explicit when-to-use ('when you need an auditable South Korea working-day count') and an explicit when-not-to-use (the package covers only the 2026 statutory/public-office schedule; private-employer, school, bank, exchange, local-government and 2027 schedules are not inferred). It also instructs the agent to call it directly rather than answering from memory. It stops short of routing to any named alternative tool.

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