Skip to main content
Glama
skypier-jp-works

mcp-jp-calendar

N営業日後/前の日付を計算

add_business_days

Add or subtract business days from a specified date, considering weekends and custom holidays, to compute the target date.

Instructions

指定日から N 営業日後(Nが負の場合はN営業日前)の日付を返します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes日付 (YYYY-MM-DD形式、例: 2026-08-15)
weekendDaysNo休みとする曜日の配列 (0=日,1=月,2=火,3=水,4=木,5=金,6=土)。省略時は土日([0,6])
businessDaysYes加算する営業日数。負の数を指定するとN営業日前になります
customHolidaysNo会社独自の休業日 (YYYY-MM-DD形式の配列)。例: 年末年始 ["2026-12-29","2026-12-30","2026-12-31","2027-01-01","2027-01-02","2027-01-03"]
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the main behavior (adding/subtracting business days) and the negative-N handling. However, it does not explain how weekendDays and customHolidays affect the calculation, or how the start date is treated if it itself falls on a non-business day. These are notable gaps, but the core behavior is adequately disclosed for a simple calculation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence, front-loaded with the verb and resource, and contains no redundant or irrelevant content. It efficiently communicates the essential purpose.

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

Completeness3/5

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

The description covers the primary function but is sparse for a tool with 4 parameters, no output schema, and no annotations. It does not explicitly specify the return format (though 'date' is mentioned) or explain the effect of optional parameters in the description. However, the schema thoroughly documents parameters, so the core missing piece is the absence of edge-case behavior and explicit return type details.

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 adds no parameter semantics beyond what the schema already provides; it restates the negative-N behavior that is already documented in the businessDays parameter description. No additional meaning is contributed.

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 clearly states the verb '返します' (returns) with a specific resource: the date N business days after the specified date. It also clarifies the negative-N case (N business days before), distinguishing this tool from siblings like count_business_days and is_business_day which serve different purposes.

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?

The description implies usage for calculating business-day offsets by stating the core function, but it does not explicitly mention when to prefer this tool over alternatives or provide exclusions. The context is clear but lacks explicit guidance on selecting this tool versus siblings such as count_business_days or list_holidays.

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/skypier-jp-works/mcp-jp-calendar'

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