Skip to main content
Glama
skypier-jp-works

mcp-jp-calendar

営業日判定

is_business_day

Determine if a specified date is a business day in Japan, considering weekends, Japanese holidays, substitute holidays, national holidays, and custom company holidays.

Instructions

指定した日が営業日かどうかを判定します。土日・日本の祝日・振替休日・国民の休日・会社独自の休業日を考慮します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes日付 (YYYY-MM-DD形式、例: 2026-08-15)
weekendDaysNo休みとする曜日の配列 (0=日,1=月,2=火,3=水,4=木,5=金,6=土)。省略時は土日([0,6])
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 consideration of weekends, Japanese holidays, substitute holidays, and custom company holidays, but omits that the weekendDays parameter can override the default Saturday/Sunday definition and does not state the return type or invalid-date behavior.

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, focused sentence that front-loads the core action and lists the holiday types without redundancy. It is appropriately concise for the tool's simplicity.

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 simple boolean check tool, the description is largely complete: it specifies the input (a date) and the business-day criteria. However, because there is no output schema, it would be beneficial to explicitly state that the result is a boolean; the current phrasing '判定します' is slightly ambiguous about the return value.

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?

The schema provides 100% coverage with descriptions for all three parameters, including formats and defaults. The description adds only a general mention of holiday types, not specific parameter 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?

The description explicitly states the tool determines whether a specified date is a business day, using the specific verb '判定します' and clearly scoping to a single date. It also enumerates the holiday categories considered, distinguishing it from sibling tools that perform date arithmetic or list holidays.

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?

No explicit guidance is given for when to prefer this tool over alternatives; the intended use is only implied by the tool's purpose. There are no exclusions or references to sibling tools like add_business_days, so the agent must infer usage from context.

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