Skip to main content
Glama

PlugRail Japanese Calendar

Server Details

Japanese holiday and business-day calculations using official Japan Cabinet Office data.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over 66 days
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
plugrail/servers
GitHub Stars
0
Server Listing
jp-calendar

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct operation: date offset, interval count, holiday predicate, and holiday listing. The descriptions explicitly disambiguate overlapping cases, such as directing users to is_holiday instead of add_business_days when only a yes/no answer is needed.

Naming Consistency4/5

All names use snake_case and are readable, but patterns vary: add_business_days and list_holidays are verb_noun, is_holiday is a predicate, and business_days_between is noun_phrase. This is a minor deviation from a single consistent convention.

Tool Count5/5

Four focused tools are appropriate for a narrow Japanese calendar and business-day domain. Each tool covers a necessary operation with no redundant or filler additions.

Completeness4/5

Core operations are covered: business-day offset, interval counting, holiday check, and holiday listing. A minor gap remains because there is no direct tool to test if a date is a business day (weekend plus holiday), though add_business_days and its skipped output provide a workaround.

Available Tools

4 tools
add_business_daysAInspect

指定した日付(date)の翌日から数えてN営業日目(days)の日付を返します。dateの当日は数えません。daysが負の場合は過去方向(dateの前日から遡ってN営業日目)に計算します。土日・日本の祝日を除外し、calendar="banking"を指定すると銀行休業日(12/31〜1/3)も除外します。dateが営業日かどうかだけ知りたい場合は is_holiday を使ってください(days=0でも同じ情報がskipped経由で得られます)。入力例: {"date": "2026-07-10", "days": 3}

NameRequiredDescriptionDefault
dateYes起点日 YYYY-MM-DD。例: "2026-07-10"。この日自体は数えません。
daysYes何営業日先(正)/前(負)かを表す整数。0も指定可: dateをそのまま返し、dateが非営業日ならskippedに1件(date自身とその理由)を記録します。
calendarNo"standard"(既定)または"banking"(銀行休業日も除外)。
extra_closed_datesNo顧客固有の追加休業日(YYYY-MM-DD の配列)。例: ["2026-12-29", "2026-12-30"]

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses exclusion rules (weekends, Japanese holidays, and banking holidays 12/31-1/3 with calendar="banking"), the non-inclusive counting of the anchor day, and negative-direction behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core semantics and finishing with a concrete input example. Some counting details are stated twice (anchor day not counted appears in both description and schema), but overall dense and low-waste.

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?

No output schema exists, and the description only alludes to the 'skipped' return mechanism without fully describing the response shape. For a deterministic computation tool the behavioral and parameter coverage is otherwise complete, so the gap is minor.

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 date, days, calendar, and extra_closed_dates are already fully documented in the schema. The description reinforces days/calendar behavior but adds little not already in the schema, warranting the baseline 3 for a high-coverage 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?

States a specific verb+resource: returns the date N business days from (but not counting) the given date, with explicit forward/backward semantics. It names and distinguishes itself from the sibling is_holiday, so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: 'if you only want to know whether date is a business day, use is_holiday instead'. It also notes days=0 yields the same info via skipped, giving clear when-to-use and when-to-use-something-else guidance.

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

business_days_betweenAInspect

from〜to間の営業日数を数えます。既定では「fromを含まず、toを含む」境界です(例:「今日から支払期日まで何営業日か」)。include_from/include_toで境界を変更できます。土日・日本の祝日を除外し、calendar="banking"を指定すると銀行休業日(12/31〜1/3)も除外します。from > to の場合はエラーにせず、from/toとinclude_from/include_toを入れ替えて計算した結果の符号を反転した値(負の営業日数)を返します(反対称則: count(A,B,x,y) = -count(B,A,y,x)。A≠B、すなわちfrom≠toの場合に成立する恒等式で、from===toはこの分岐に入らないため対象外)。入力例: {"from": "2026-07-10", "to": "2026-07-20"}

NameRequiredDescriptionDefault
toYes終点日 YYYY-MM-DD。例: "2026-07-20"。fromより前の日付も指定可(結果は負の営業日数になります)。
fromYes起点日 YYYY-MM-DD。例: "2026-07-10"。
calendarNo"standard"(既定)または"banking"(銀行休業日も除外)。
include_toNotoを営業日数に含めるか。既定はtrue。
include_fromNofromを営業日数に含めるか。既定はfalse。
extra_closed_datesNo顧客固有の追加休業日(YYYY-MM-DD の配列)。例: ["2026-12-29", "2026-12-30"]

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the default excluded-boundary rule, weekend/Japanese-holiday exclusion, the added banking closure range (12/31〜1/3), and — critically — that from > to returns a negative count instead of erroring, including the antisymmetry identity and its from≠to precondition. That is exactly the non-obvious behavior an agent could not infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core purpose and default boundary are front-loaded, and the input example at the end is immediately usable. The antisymmetry parenthetical is verbose and largely answers a question few agents will ask, costing it the top score.

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 6-parameter, annotation-free tool the description covers boundary semantics, exclusion rules, and edge-case return behavior; the remaining parameters are fully documented in a 100%-covered schema, and no output schema means the numeric return is implicit in "営業日数を数えます". It stops just short of stating the return type explicitly or mentioning extra_closed_dates.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: it explains why include_from defaults false and include_to true via a worked example, and specifies the concrete dates added by calendar="banking" where the schema only says "銀行休業日も除外". Only extra_closed_dates is left entirely to 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?

States a specific verb and resource (count business days between from and to) and immediately scopes it with the default boundary semantics. It is clearly distinguishable from siblings add_business_days (shifting a date), is_holiday (single-date test), and list_holidays (enumeration), without needing to open any schema.

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

Usage Guidelines4/5

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

Provides a concrete use scenario ("今日から支払期日まで何営業日か") and tells the agent how to alter behavior via include_from/include_to and calendar="banking". However, it never explicitly routes the agent away from or toward named alternatives, so it stays at clear-context rather than explicit when/when-not.

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

is_holidayBInspect

指定した日付が日本の祝日(国民の祝日・休日)かどうかを判定します。内閣府公表データに基づきます。入力例: {"date": "2026-01-01"}

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD形式の日付。例: "2026-01-01"

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does add useful provenance ('based on Cabinet Office published data'), implying an official, read-only lookup, but it does not disclose the supported date range of that dataset, behavior for malformed/out-of-range dates, or whether the result is a boolean.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the purpose in one sentence, follows with the data source, and closes with a compact example. No wasted prose, though the example duplicates the schema's own example.

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 one-parameter predicate tool with no output schema and no annotations, the description covers purpose, data source, and input shape, but does not state the return value (boolean) or the temporal coverage of the holiday data — the two things an agent would most want to know before calling.

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% and the sole 'date' parameter is fully documented with format and example. The description only repeats an input example already present in the schema, adding no new semantics, so the baseline 3 applies.

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?

States a specific verb+resource: judging whether a given date is a Japanese national holiday, grounded in Cabinet Office data. It is distinguishable from list_holidays (which enumerates) and the business-day arithmetic siblings, though it does not name them 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?

The single-date yes/no framing implies when to use it versus list_holidays, but there is no explicit when-to-use or when-not-to-use statement, and no mention of date-range coverage limits of the underlying data.

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

list_holidaysAInspect

指定した年または期間の日本の祝日一覧を返します。入力例: {"year": 2026} または {"from": "2026-01-01", "to": "2026-06-30"}

NameRequiredDescriptionDefault
toNo期間終了日 YYYY-MM-DD。例: "2026-06-30"。yearとは併用不可。
fromNo期間開始日 YYYY-MM-DD。例: "2026-01-01"。yearとは併用不可。
yearNo西暦年。例: 2026。from/toとは併用不可。

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It establishes that this is a read operation returning a list and scopes the data to Japanese holidays only, which is useful context, but says nothing about error handling for contradictory inputs, out-of-range years, or result ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the purpose statement is front-loaded, followed immediately by concrete call examples. No filler, though the examples mildly duplicate the schema's own parameter documentation.

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 three-parameter read-only lookup with no output schema and full schema coverage, the description is largely sufficient. The only minor gap is that the year/from-to mutual exclusivity is left to the schema rather than restated, but nothing an agent needs to select or invoke the tool is 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?

Schema description coverage is 100%, so the schema already documents each parameter's format and the year vs. from/to mutual exclusivity. The description's inline examples illustrate valid combinations but add no format or syntax detail beyond what the schema provides. Baseline 3 is appropriate.

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?

States a specific verb and resource ("日本の祝日一覧を返します" – returns a list of Japanese holidays) with clear scope (year or date range). It is easy to distinguish from siblings like is_holiday or add_business_days, though it never names those alternatives. Clear but not fully sibling-differentiating.

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 two input examples imply the two supported modes (single year vs. date range), giving implied usage guidance. However, there is no explicit statement of when to prefer this over is_holiday or business_days_between, and no exclusion conditions beyond what the schema already encodes.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updates
    • Changedadd_business_days1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedbusiness_days_between1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedis_holiday1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlist_holidays1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 2 tool updates
    • Changedadd_business_days1 field changed
      • changedInput schema / properties / days / description
        Previous value: -"何営業日先(正)/前(負)かを表す整数。0は不可(is_holidayまたはdays=1を使用)。"New value: +"何営業日先(正)/前(負)かを表す整数。0も指定可: dateをそのまま返し、dateが非営業日ならskippedに1件(date自身とその理由)を記録します。"
    • Changedbusiness_days_between1 field changed
      • changedInput schema / properties / to / description
        Previous value: -"終点日 YYYY-MM-DD。例: \"2026-07-20\"。fromより前の日付は不可。"New value: +"終点日 YYYY-MM-DD。例: \"2026-07-20\"。fromより前の日付も指定可(結果は負の営業日数になります)。"
  3. 4 tool updates
    • First observedadd_business_days
    • First observedbusiness_days_between
    • First observedis_holiday
    • First observedlist_holidays

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides Japanese business day calculations: add or subtract business days, count between dates, check whether a date is a business day, and reverse-calculate deadlines. Handles national holidays and year-end periods fully offline with no API keys required.
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Japanese business calendar operations such as holiday checking, business day calculations, payment date calculation, fiscal year determination, and deadline tracking, all locally without external API.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides accurate Japanese business day utilities including holiday checks, settlement day calculations, and fiscal period determination, all with embedded holiday data from 2020-2030.
    7
    32 npm
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.