Skip to main content
Glama
skypier-jp-works

mcp-jp-calendar

次の五十日を計算

next_gotobi

Find the next Japanese gotobi (5th, 10th, 15th, 20th, 25th, or month-end) after a specified date. If that date falls on a holiday, it returns the actual date adjusted to the previous business day.

Instructions

指定日以降で最も近い五十日(ごとおび。5日・10日・15日・20日・25日・月末)を返します。その日が休日の場合は、直前の営業日に前倒しした実際の日付も一緒に返します。

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?

The description discloses a key behavior: if the calculated date is a holiday, it also returns the date adjusted to the previous business day. However, it does not specify the return structure, recursion of adjustments, or edge cases. With no annotations provided, this is moderate but incomplete transparency.

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 two concise sentences, front-loading the core functionality followed by the adjustment behavior. No redundant or ambiguous wording, making it appropriately sized.

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?

With no output schema and moderate complexity, the description does not fully explain the return value format, which is critical for agent usage. It also omits how weekendDays and customHolidays parameters affect the calculation, though the schema covers these. The core concept is clear, but operational details are 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?

The input schema already provides 100% coverage of all three parameters with descriptions and examples. The tool description adds no additional parameter semantics, so the baseline score of 3 applies.

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: returns the nearest Go-tobi (5th, 10th, 15th, 20th, 25th, month-end) on or after a specified date. It distinguishes this from sibling tools by introducing the specific Go-tobi concept and the holiday adjustment behavior.

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 does not explicitly state when to use this tool versus alternatives. It implies usage for Go-tobi calculations but provides no guidance on choosing it over siblings like month_end_info or is_business_day, nor does it mention any exclusions.

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