Skip to main content
Glama

영업일·공휴일·기한 날짜 계산

calc_business_days

Calculate Korean business days, holidays, and adjusted deadlines. Get next business day, add N business/calendar days, or count remaining business days from a given date.

Instructions

한국 영업일·공휴일 기준의 날짜 계산을 담당합니다. 날짜 하나를 주면 영업일 여부와 공휴일 명칭, 기한 말일이 비영업일일 때의 다음 최초 영업일을 돌려주고, N영업일/N달력일 기한 계산과 남은 영업일 세기도 지원합니다. 로컬 데이터라 인증키 없이 동작합니다.

⚠️ 공휴일은 법령 개정으로 바뀝니다 — 예: 2027년부터 노동절(5/1)이 공휴일로 신설되어 2027-05-03(월)이 대체공휴일입니다. 모델의 자체 달력 지식은 최신 개정을 모를 수 있으므로, 기한·영업일·공휴일이 걸린 날짜 질문에는 반드시 이 도구를 호출하세요.

  • 결과에는 건너뛴 비영업일 목록(날짜·요일·공휴일 명칭)과 근거 조문이 동봉됩니다

  • 근로자의 날(5/1)은 관공서 공휴일이 아니어서 민법 기간계산과 고시 영업일 계산이 갈립니다 — 해당 시 notes 로 안내합니다 (2027년부터는 노동절 공휴일 신설로 차이가 사라집니다)

  • 공휴일 데이터가 없거나 미검증인 연도는 warnings 로 알립니다 — 경고가 있으면 결과를 단정하지 마세요

  • 공시유형이 특정된 기한 판정(대규모내부거래 등)은 check_disclosure_duty 가 근거 조문까지 계산합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes기준일 (YYYYMMDD). 단독으로 주면 이 날짜가 영업일인지, 아니라면 어느 공휴일인지와 다음 최초 영업일(기한 말일 조정 결과)을 돌려줍니다
add_business_daysNo기준일 다음 날부터 N영업일 후의 기한을 계산합니다 (예: 이사회 의결일 + 상장 3영업일 / 비상장·공익법인 7영업일)
add_calendar_daysNo기준일 다음 날부터 N일(달력일) 후의 기한을 계산합니다 (예: 분기 종료 후 45일). 말일이 비영업일이면 다음 영업일로의 조정 결과를 함께 줍니다
count_business_days_toNo기준일 다음 날부터 이 날짜까지의 영업일 수를 셉니다 (예: 오늘부터 기한까지 남은 영업일)
Behavior5/5

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

With no annotations, the description carries full burden and does so thoroughly: it discloses local data/no auth key, warns that legal amendments change holidays, explains Workers' Day divergence, and states that missing/unverified data produces warnings that should prevent the agent from asserting results. It also mentions the result includes skipped non-business days and legal basis clauses.

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 longer than ideal but front-loads the core function in the first sentence and organizes warnings and behavior into clear bullets. Each sentence adds meaningful operational context, so it remains efficient despite its length.

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?

For a 4-parameter tool with no output schema and no annotations, this description covers return contents (skipped days, legal basis, warnings, notes), data-source caveats, and sibling division of labor. It is complete enough for an agent to invoke and interpret results safely.

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 schema already documents all four parameters with examples. The description only reiterates general support for N-business-day/N-calendar-day calculations and adds no parameter-specific semantics beyond the schema.

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?

Description declares '한국 영업일·공휴일 기준의 날짜 계산을 담당합니다' and enumerates concrete functions: checking a date, adding N business/calendar days, and counting remaining business days. It also distinguishes itself from sibling check_disclosure_duty by delegating disclosure-type deadline determinations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly instructs to call this tool for any date question involving deadlines/business days/holidays because model calendar knowledge may be outdated. It also provides exclusion guidance: check_disclosure_duty handles deadline determinations for specific disclosure types, including legal basis.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dolseom/gongsi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server