Skip to main content
Glama
h-kazuki-pixel

jp-business-days MCP Server

N営業日後/前の日付

jp_add_business_days
Read-only

Calculate the date N business days from a start date, skipping weekends and Japanese holidays. Handles positive (future) and negative (past) values; defaults to today in Japan.

Instructions

指定日からN営業日後(daysが正の数)、またはN営業日前(daysが負の数)の日付を計算します。土日・祝日はカウントしません。起点日自体はカウントに含みません。daysに0は指定できません。日付を省略すると今日(日本時間)が起点になります。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo起点の日付(省略時は今日・日本時間)
daysYes営業日数。正の数=後の日付、負の数=前の日付(例: 5, -3)
Behavior5/5

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

The description goes far beyond the readOnlyHint annotation by detailing the counting logic: weekends and holidays are excluded, the start date is excluded from the count, zero is an invalid input, and the default start date is today in Japan time. These are critical behavioral details that affect how the agent invokes and interprets the 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 well-structured passage that front-loads the core purpose and then lists the key rules in sequence. Every clause provides relevant information, with no filler or redundancy.

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?

Given the simplicity of the tool (two parameters, no output schema), the description covers all essential aspects: the calculation rule, sign semantics, holiday handling, start-date exclusion, invalid days, and default date. It does not specify the return format, but that is implicitly a date string and not necessary given the context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides complete descriptions for both parameters (100% coverage), and the description largely restates them in prose. It adds one important non-schema constraint — that days cannot be zero — and clarifies that the start date itself is not counted, which provides marginal added value over 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 clearly states it calculates the date N business days after or before a specified date, using a specific verb ('計算します') and resource (business days). The sign convention for days is explicit, and the behavior distinguishes it from sibling tools like jp_is_business_day or jp_business_days_between, even though it does not name them.

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 provides clear context for when to use the tool (when you need to offset a date by business days) and includes important rules like excluding weekends/holidays and that the start date is not counted. However, it does not explicitly mention alternatives or when not to use it, so the agent must infer that from the sibling tool names.

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/h-kazuki-pixel/jp-business-days-mcp-server'

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