Skip to main content
Glama

Get Holidays

get_holidays
Read-only

Fetch public holidays by country for a year or specific date, with optional month, region, and observed-day details, to support travel and scheduling decisions.

Instructions

Fetch public holidays by country from the Holiday API (vacanza/holidays). Requires country and either year or date. Month is optional when paired with year/date.

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": {
      "country": "<country>"
    },
    "name": "get_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoReference date (YYYY-MM-DD). Provide either year or date.
yearNoYear (e.g., 2026). Provide either year or date.
monthNoMonth (1-12). Use with year or date.
subdivNoOptional subdivision/region code (e.g., US state).
countryYesISO 3166-1 alpha-2 country code (e.g., "KR", "US").
observedNoInclude observed/alternate holidays (default: true).

Output Schema

NameRequiredDescriptionDefault
dataNo
sourcesYes

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 only declare readOnlyHint=true, so the description adds real value by naming the backing Holiday API and by surfacing a constraint the schema does not enforce (only country is in the schema's required list, yet the description says year or date is also needed). It does not describe rate limits, pagination, or behavior when neither year nor date is supplied, but with annotations and an output schema present those gaps are minor.

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?

Three short sentences, front-loaded with the action and resource, then the prerequisite rule. No filler, nothing repeated from the schema verbatim beyond the necessary constraint summary.

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?

With 6 documented parameters, an output schema, and a read-only annotation, the description covers what an agent needs to decide and call correctly. The remaining gap is guidance on combining this with adjacent travel tools and on how subdivisions are keyed, but that is secondary for a lookup endpoint.

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 earns an extra point by stating the cross-parameter rule (either year or date, month optional when paired) that the schema lists only as per-field prose. It does not clarify the interaction between subdiv and country or what happens when both year and date are given.

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 verb and resource ("Fetch public holidays by country") and even names the underlying data source (vacanza/holidays), which helps an agent judge holiday coverage. No sibling overlaps with this resource, so no sibling differentiation is needed, but the description stops short of noting what is not returned (e.g., non-public observances).

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 resource plus the stated prerequisites (country required, year or date required, month optional), which is enough to call it correctly. There is no explicit when-to-use guidance, no mention of pairing with trip-planning siblings such as check_packing or generate_trip_briefing, and no stated limits.

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