Skip to main content
Glama
skypier-jp-works

mcp-jp-paid-leave

年5日取得義務の充足判定

check_mandatory_five_days

Determines if an employee is subject to Japan's mandatory five-day paid leave rule, checks compliance, and calculates remaining required days based on input data.

Instructions

年10日以上の年次有給休暇が付与される労働者を対象とする、年5日取得義務(労働基準法第39条第7項・第8項)の対象者判定と、充足状況・残り必要日数を返します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfDateNo判定基準日(任意。省略可) (YYYY-MM-DD形式、例: 2026-08-15)
grantDateYes付与日(基準日) (YYYY-MM-DD形式、例: 2026-08-15)
grantedDaysYesその基準日に付与された年次有給休暇の日数
plannedGrantDaysNo計画年休制度により取得させた日数(5日から控除できる)
employeeRequestedDaysNo労働者自らの請求・取得により取得した日数(5日から控除できる)
employerDesignatedDaysNo使用者が既に時季指定して取得させた日数
Behavior3/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the tool returns determination and remaining days, implying a read-only query, but does not explicitly state side effects, authorization needs, or rate limits. The description is adequate but minimal for a check tool.

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?

The description is a single, dense sentence that conveys the essential information without fluff. It is front-loaded with the target condition and then states the outputs. However, it could be broken into multiple sentences for readability, but it earns a high score for conciseness.

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?

Given the tool's complexity (legal requirement, 6 parameters, no output schema), the description explains the legal basis and what it returns (determination and remaining days), but it does not specify the return format or how parameters interact. With full schema coverage, it is adequate but could be more complete.

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 parameter has a description. The tool description adds no parameter-specific meaning beyond the schema; it only gives high-level context about the legal requirement. Thus baseline score 3 is appropriate.

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 purpose: determining if the mandatory five-day paid leave requirement applies and returning the fulfillment status and remaining days. It specifies the target population (workers with 10+ days granted) and cites the relevant law, distinguishing it from siblings like 'check_attendance_rate' or 'calculate_entitlement' by its unique legal focus.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It does not mention prerequisites, when not to use it, or how it differs from siblings like 'calculate_entitlement' or 'apply_company_policy'. This leaves the agent to infer usage context without explicit instructions.

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-paid-leave'

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