Skip to main content
Glama

Vietnam official days off for a year

vn_holidays_year
Read-onlyIdempotent

Retrieve Vietnamese public-sector holidays for a given year, including compensatory days off and swapped working Saturdays, and check whether the Government has announced the schedule.

Instructions

Official days off for public-sector staff in a year (2023-2199): Tết Dương lịch, Tết Âm lịch, Giỗ Tổ Hùng Vương, 30/4, 1/5, Quốc khánh, Ngày Văn hóa Việt Nam 24/11 (from 2026), with nghỉ bù and swapped working Saturdays from the Government notice. Unannounced years return the statutory days, announced: false and the pending Tết / National Day days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": "<year>"
    },
    "name": "vn_holidays_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful context beyond that: public-sector scope, the 2023-2199 range, inclusion of compensatory days and swapped working Saturdays from Government notices, and the special behavior for unannounced years including an announced: false flag.

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?

Two front-loaded sentences carry the scope, holiday list, range, and edge-case behavior without filler. The holiday enumeration earns its place because it defines exactly what is returned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only tool with no output schema, the description covers purpose, valid range, data source, and the unannounced-year edge case. It only partially implies the return shape through the announced: false mention, but is otherwise sufficient.

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?

The input schema documents only a bare integer year parameter with no description. The description supplies the meaningful valid range (2023-2199) and clarifies that the value represents a calendar year, which is valuable given 0% schema description coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and scope: official days off for public-sector staff in a year, with an explicit holiday list and year range. It is clearly not a day-check or working-day-count tool, but it does not explicitly differentiate itself from named siblings like vn_holidays_is_working_day.

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?

Usage is implied by the annual scope and the 2023-2199 range, but there is no explicit when-to-use guidance versus alternatives such as vn_holidays_is_working_day or vn_holidays_count_working_days. No exclusions or prerequisites are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.