Skip to main content
Glama
skypier-jp-works

mcp-jp-paid-leave

自社規程の上乗せを適用

apply_company_policy

Applies company policy to legal minimum paid leave days, ensuring compliance with Japan's Labor Standards Act by correcting any shortfall and issuing a warning.

Instructions

法定最低基準の日数に、自社規程による上乗せ設定を適用します。自社規程が法定を下回る場合は、法定最低基準に補正した上で警告を返します(労働基準法第13条)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
legalMinimumDaysYes他のツールで計算した法定最低基準の日数
companyPolicyDaysNo自社規程で定めている日数(省略時は法定最低基準をそのまま返す)
Behavior3/5

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

With no annotations, the description carries full burden. It discloses that the tool corrects policy below legal minimum and returns a warning. However, it does not mention whether the operation is destructive, idempotent, or requires authorization. For a mutation tool, more behavioral context is needed.

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 two sentences, front-loaded with the primary action, and adds the special case in the second sentence. No redundant information; every sentence adds value.

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?

The tool has no output schema and the description does not explain what is returned (e.g., adjusted days, warning object). It also lacks information on error handling beyond the warning case. Given the simplicity, more details on return format would improve completeness.

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 both parameters. The description adds no new semantic information beyond echoing the parameter roles. Baseline score of 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 applies company policy additions on top of legal minimum days, and includes corrective behavior when policy is below legal. The verb ('apply') and resource ('company policy addition') are specific, and the tool is distinct from siblings like calculate_entitlement.

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 used after legal minimum days are computed, but it does not explicitly state when to use it versus alternatives (e.g., calculate_entitlement or check_attendance_rate). No exclusion criteria or 'when not to use' guidance is provided.

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