MCPサーバー

Paņem brīvdienu

lv.panembrivdienu/mcp
法務・コンプライアンス 生産性 公開・接続可能 MCP 2025-11-25

このMCPでできること

Provides Latvian public holidays, working-day statistics, leave entitlement estimates, and suggested periods for taking time off.

latvia_calendar_statistics
Count working days, weekend days, holidays and total days off in 2026 or 2027 for a Monday-to-Friday week. Use it for yearly totals, such as how many working days a year has; for the holiday dates use latvia_holidays, and for leave suggestions use latvia_plan_time_off. year must be 2026 or 2027. apply_transfers=true (2026 only) moves working days and days off as the 2026 transfers do, which bind only specified state-funded institutions; the moved counts are then non-zero.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['year'], 'properties': {'year': {'type': 'integer', 'description': 'calendar year: 2026 or 2027'}, 'apply_transfers': {'type': 'boolean', 'description': 'apply the 2026 workday transfers (2026 only; they bind only specified state-funded institutions)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['year', 'transfers_applied', 'total_days', 'working_days', 'weekend_days', 'holidays', 'moved_working_days', 'moved_days_off', 'total_days_off'], 'properties': {'year': {'type': 'integer'}, 'holidays': {'type': 'integer'}, 'total_days': {'type': 'integer'}, 'weekend_days': {'type': 'integer'}, 'working_days': {'type': 'integer'}, 'moved_days_off': {'type': 'integer'}, 'total_days_off': {'type': 'integer'}, 'transfers_applied': {'type': 'boolean'}, 'moved_working_days': {'type': 'integer'}}, 'additionalProperties': False}
latvia_holidays
List Latvia's public holidays in 2026 or 2027, sorted by date, each with its Latvian and English name. Use it when you need the dates themselves; for totals use latvia_calendar_statistics, and to turn holidays into long breaks use latvia_plan_time_off. year must be 2026 or 2027; any other year is an error. apply_transfers=true (2026 only) adds the moved days off, flagged is_moved_day. Set it only for staff of the state-funded institutions the transfers bind.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['year'], 'properties': {'year': {'type': 'integer', 'description': 'calendar year: 2026 or 2027'}, 'apply_transfers': {'type': 'boolean', 'description': 'apply the 2026 workday transfers (2026 only; they bind only specified state-funded institutions)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['year', 'transfers_applied', 'holidays'], 'properties': {'year': {'type': 'integer'}, 'holidays': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['date', 'name_lv', 'name_en', 'is_moved_day'], 'properties': {'date': {'type': 'string'}, 'name_en': {'type': 'string'}, 'name_lv': {'type': 'string'}, 'is_moved_day': {'type': 'boolean'}}, 'additionalProperties': False}}, 'transfers_applied': {'type': 'boolean'}}, 'additionalProperties': False}
latvia_leave_entitlement
Estimate annual paid leave under the Latvian Labour Law, in calendar days excluding public holidays. Use it to answer how much leave someone has in a year; to find when to take it use latvia_plan_time_off, which counts leave in working days, a different unit. Pass annual_base=28 (the legal minimum) unless the contract grants more, and fte_percentage=1 for full time; part-time work does not shorten leave. birth_date matters only for employees under 18, who get one calendar month. If employment_start_date is on or after 1 January of year, the result is an accrual estimate; the full leave may be requested after six months of work.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['employment_start_date', 'year', 'fte_percentage', 'annual_base'], 'properties': {'year': {'type': 'integer', 'description': 'year to estimate, 2020 to 2100'}, 'birth_date': {'type': 'string', 'description': 'YYYY-MM-DD; employees under 18 get one calendar month'}, 'annual_base': {'type': 'integer', 'description': 'annual leave in calendar days, 28 (the legal minimum) to 60'}, 'fte_percentage': {'type': 'number', 'description': 'working time as a fraction of full time, 0.1 to 1.0 (part-time work does not shorten leave)'}, 'employment_start_date': {'type': 'string', 'description': 'YYYY-MM-DD'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['entitlement_days', 'unit', 'is_accrual_estimate', 'under_18_calendar_month', 'six_month_threshold_reached_by_year_end', 'is_under_18', 'base_used'], 'properties': {'unit': {'type': 'string'}, 'base_used': {'type': 'integer'}, 'is_under_18': {'type': 'boolean'}, 'entitlement_days': {'type': 'number'}, 'is_accrual_estimate': {'type': 'boolean'}, 'under_18_calendar_month': {'type': 'boolean'}, 'six_month_threshold_reached_by_year_end': {'type': 'boolean'}}, 'additionalProperties': False}
latvia_plan_time_off
Suggest up to ten long breaks in 2026 or 2027, best first, where a few leave days bridge weekends and Latvian holidays. Use it to decide when to take leave; for the holiday dates alone use latvia_holidays, and for how much leave the user has use latvia_leave_entitlement. pto_days caps the working days of leave each break may use on its own; it is not a yearly budget to split. A break takes every working day between runs of days off and holds a holiday or other day off on a weekday, so a week that only joins two weekends is not listed. Leave is never planned before today in Latvia or before employment_start_date. extra_days_off adds days the employer gives, so breaks can build on them. Breaks rank by days off, then fewer leave days, then date; efficiency is days off per leave day.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'required': ['year', 'pto_days'], 'properties': {'year': {'type': 'integer', 'description': 'year to plan leave in: 2026 or 2027'}, 'pto_days': {'type': 'integer', 'description': 'most working days of leave one break may use, 1 to 100'}, 'extra_days_off': {'type': ['null', 'array'], 'items': {'type': 'string'}, 'description': 'extra days off such as ones the employer gives, YYYY-MM-DD in 2026 or 2027, at most 100'}, 'apply_transfers': {'type': 'boolean', 'description': 'apply the 2026 workday transfers (2026 only)'}, 'employment_start_date': {'type': 'string', 'description': 'YYYY-MM-DD; no leave is planned before it (nor before today in Latvia)'}}, 'additionalProperties': False}
出力スキーマ
{'type': 'object', 'required': ['opportunities', 'transfers_applied', 'statistics'], 'properties': {'statistics': {'type': 'object', 'required': ['year', 'total_days', 'working_days', 'weekend_days', 'holidays', 'moved_working_days', 'moved_days_off', 'total_potential_days_off'], 'properties': {'year': {'type': 'integer'}, 'holidays': {'type': 'integer'}, 'total_days': {'type': 'integer'}, 'weekend_days': {'type': 'integer'}, 'working_days': {'type': 'integer'}, 'moved_days_off': {'type': 'integer'}, 'moved_working_days': {'type': 'integer'}, 'total_potential_days_off': {'type': 'integer'}}, 'additionalProperties': False}, 'opportunities': {'type': ['null', 'array'], 'items': {'type': 'object', 'required': ['start_date', 'end_date', 'pto_days', 'total_days_off', 'efficiency', 'description'], 'properties': {'end_date': {'type': 'string'}, 'pto_days': {'type': ['null', 'array'], 'items': {'type': 'string'}}, 'efficiency': {'type': 'number'}, 'start_date': {'type': 'string'}, 'description': {'type': 'string'}, 'total_days_off': {'type': 'integer'}}, 'additionalProperties': False}}, 'transfers_applied': {'type': 'boolean'}}, 'additionalProperties': False}
追加
latvia_plan_time_off
2026年10月2日2:40
追加
latvia_leave_entitlement
2026年10月2日2:40
追加
latvia_holidays
2026年10月2日2:40
追加
latvia_calendar_statistics
2026年10月2日2:40