Skip to main content
Glama
skypier-jp-works

mcp-jp-calendar

月末締め日情報

month_end_info

Get the month-end date and the effective closing date, adjusting for weekends and holidays. Ideal for Japanese business day calculations.

Instructions

指定月の月末日と、月末が休日の場合に前倒しした実質的な締め日を返します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearMonthYes対象の年月 (YYYY-MM形式、例: 2026-08)
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?

The description discloses the key logic of moving the closing date forward if the month-end is a holiday. However, with no annotations, it leaves important behavioral details unclear: how holidays are determined (weekendDays vs customHolidays), whether the effective date is always returned or only when a holiday occurs, and what happens if the moved date also falls on a holiday. This is a moderate transparency gap.

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 that conveys the core functionality immediately. There is no filler or redundant phrasing; it is appropriately sized for the tool's complexity.

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

Completeness2/5

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

Without an output schema, the description should clarify the return structure, but it does not. The conditional wording makes it ambiguous whether the output always includes both the month-end date and the effective date, and there is no mention of edge cases like consecutive holidays. Combined with no annotations, the description is not fully self-sufficient for an agent to predict the tool's behavior.

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% for all three parameters (yearMonth, weekendDays, customHolidays), so the baseline is 3. The description adds no information about parameter usage or formats beyond what the schema already provides, so no score adjustment is warranted.

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 tool's function: it returns the last day of the specified month and, if that day is a holiday, the adjusted closing date moved earlier. The verb '返します' is specific and the resource is distinct from siblings like is_business_day or list_holidays, which focus on other date calculations.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool over alternatives. There is no mention of scenarios where this is preferred, no exclusion criteria, and no comparison with sibling tools. The description only explains what it does, not when to invoke it.

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