Skip to main content
Glama

Export Vietnam days off as an iCalendar file

vn_holidays_ics
Read-onlyIdempotent

Export official Vietnamese days off for a year as iCalendar text for Google Calendar, Outlook, or Apple Calendar, including holidays, compensatory and swapped days, with optional working Saturdays.

Instructions

Export the official days off of a year (2023-2199) as iCalendar (RFC 5545) text for Google Calendar, Outlook or Apple Calendar: holidays, nghỉ bù, swapped days and (optionally) working Saturdays. Unannounced years omit pending days and list them in warnings.

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_ics"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
includeWorkingSaturdaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, idempotent operation. The description adds meaningful behavior beyond that: it discloses the supported year range and explains that unannounced years omit pending days and surface warnings.

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 definition is a single tightly written sentence with no filler. The purpose and output format are front-loaded, followed by the optional working-Saturdays behavior and warning behavior.

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 two-parameter read-only export tool with no output schema, the description covers the essential output format, supported year range, optional field, and pending-day warning behavior. Minor gaps include not stating the default for includeWorkingSaturdays or clarifying Gregorian-versus-lunar year semantics.

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 description coverage is 0%, so the description must carry parameter meaning. It supplies the critical year range (2023-2199), which the schema does not enforce, and explains that working Saturdays are optional, mapping to includeWorkingSaturdays; it does not explicitly state the default value.

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 gives a specific verb (Export), resource (official days off of a year), output format (iCalendar/RFC 5545), and target consumers (Google Calendar, Outlook, Apple Calendar). It clearly distinguishes this calendar-export tool from sibling tools that likely return holiday data in other formats.

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

Usage Guidelines4/5

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

The description makes the intended use case clear by naming the calendar applications it supports. It does not explicitly compare against alternatives such as vn_holidays_year or mention when not to use this export format, so it stops short of full routing guidance.

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