Skip to main content
Glama
skypier-jp-works

mcp-jp-paid-leave

比例付与日数の計算

proportional_entitlement

Calculate proportional annual paid leave days for part-time employees based on weekly or yearly scheduled work days, following Japan's statutory minimum.

Instructions

週所定労働日数(または年間所定労働日数)から、パート・アルバイト等への年次有給休暇の比例付与日数(法定最低基準)を計算します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfDateNo比例付与表のどの世代を使うか判定する対象日(任意、省略時は現在日) (YYYY-MM-DD形式、例: 2026-08-15)
grantNumberYes付与回数(第何回目の付与か)。1=第1回(雇入れ後6ヶ月時点), 2=第2回(1年6ヶ月時点)... 7以降は第7回以降(6年6ヶ月以上)としてすべて同じ日数上限になる
annualScheduledDaysNo1年間の所定労働日数(週所定労働日数が不定の場合に指定。指定するとweeklyScheduledDaysより優先される)
weeklyScheduledDaysNo週所定労働日数(比例付与を計算したい場合に指定。1〜4日で比例付与対象、5日以上は通常の労働者扱い)
weeklyScheduledHoursNo週所定労働時間(任意。30時間以上の場合は比例付与の対象外であることの検証に使う)
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 states 'calculates', implying a read-only operation, but does not explicitly confirm non-destructive behavior or disclose any side effects, prerequisites, or error conditions. For a calculation tool, this is adequate but could be more explicit.

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, tightly phrased sentence in Japanese that directly conveys the tool's purpose. Every word is meaningful, and the structure is front-loaded with the core action ('calculates proportional entitlement days'). No redundancies.

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 (5 parameters, no output schema), the description is brief. It does not explain the output (presumably days) or the relationships between parameters (e.g., mutual exclusion of weekly/annual days). Although the schema covers these details, the description could improve completeness by summarizing key inputs and output behavior.

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. The description adds value by framing the calculation within Japanese labor law ('statutory minimum standards') and hinting at the primary parameters (weekly or annual scheduled days). This context helps an AI agent understand the legal significance, extending beyond the schema's technical descriptions.

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 action: it calculates proportional entitlement days for annual paid leave for part-time workers based on statutory minimum standards. It uses specific verbs ('calculates') and resources ('proportional entitlement days'), and distinguishes itself from siblings like 'calculate_entitlement' by specifying 'proportional' and 'statutory minimum'.

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 implies the tool is for calculating proportional leave for part-time employees, but it does not explicitly state when to use this tool versus siblings like 'calculate_entitlement' or 'check_attendance_rate'. No alternatives or exclusions are mentioned, leaving the agent to infer usage context.

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