is_holiday
指定した日付が日本の祝日(国民の祝日・休日)かどうかを判定します。内閣府公表データに基づきます。入力例: {"date": "2026-01-01"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD形式の日付。例: "2026-01-01" |
指定した日付が日本の祝日(国民の祝日・休日)かどうかを判定します。内閣府公表データに基づきます。入力例: {"date": "2026-01-01"}
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD形式の日付。例: "2026-01-01" |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"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.
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.
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.
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.
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.
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.
Add one secure layer between your agents and this server.