Skip to main content
Glama

ベストカレンダー 暦データ

N 日後・N 営業日後

add_days
Read-only

日付の N 日後・N 日前、または N 営業日後・前(business: true。土日祝を除く。定休の曜日・お盆・年末年始・個別の指定も可)。基準日は数えない。n が負なら前(締め切りの逆算)。

Input Schema

NameRequiredDescriptionDefault
nYes日数(負なら前)。暦日は 1926〜2080 年の範囲に収まる限り何日でも、営業日は ±2000(暦日 3,000 日まで進む)
dateYesYYYY-MM-DD(1926-01-01〜2080-12-31)
obonNoお盆 8/13〜16 を休む(既定 false)
businessNo営業日で数える(既定 false)
nenmatsuNo年末年始 12/29〜1/3 を休む(既定 false)
open_datesNo個別の営業日(祝日や定休日でも営業する日)
closed_datesNo個別の休業日
close_holidaysNo祝日(振替休日・国民の休日を含む)を休む(既定 true)
closed_weekdaysNo定休の曜日(既定は ["土", "日"]。空の配列なら曜日では休まない)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With readOnly/destructive annotations already covering safety, the description adds genuine behavioral substance: the base date is not counted (a classic off-by-one pitfall), business-day mode excludes weekends and holidays by default, and closed weekdays, obon, year-end, and per-date overrides are supported. It stops short of stating the return value or how conflicting open/closed date lists resolve.

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?

Two compact sentences lead with the core operation and mode, then add the non-obvious 'base date not counted' rule and the negative-N case. No filler, and the most decision-relevant information comes first.

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?

For a nine-parameter date-arithmetic tool with no output schema, the description covers the behavioral model well but never says what comes back (presumably a YYYY-MM-DD string) or how holidays interact with explicit closed_weekdays/open_dates precedence. Range constraints are delegated to the schema, so the remaining gap is modest but real.

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 each of the nine parameters is already documented including ranges and defaults. The description adds only conceptual framing (business mode bundles the holiday/obon/nenmatsu/closed-weekday switches) and the negative-n convention, which is the baseline expectation when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation: shifting a date forward/backward by N calendar or business days, with explicit mention of the business-day mode and negative-N reversal. This clearly separates it from siblings like count_days (measuring spans) and check_business_day (testing a single date), though it never names those alternatives explicitly.

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?

Usage is implied rather than prescribed: the parenthetical '締め切りの逆算' hints at the negative-N deadline back-calculation scenario, and 'business: true' signals when to switch modes. There is no explicit statement of when NOT to use this tool versus count_days or find_dates, leaving routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources