Skip to main content
Glama

get_public_holidays

FREE. Official public-holiday calendar for a supported country, including gazetted movable holidays, with the official government source cited. Some countries also carry sub-national calendars (e.g. the German Laender): the subdivisions field lists them, and passing subdivision (ISO 3166-2, e.g. 'DE-BY') returns the national calendar merged with that region's statutory days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryYesISO country code
subdivisionNoOptional ISO 3166-2 region code (e.g. 'DE-BY'). Returns national + that region's statutory holidays, each tagged national/regional. Omit for the national calendar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / subdivision
      Added value: +{
      +  "description": "Optional ISO 3166-2 region code (e.g. 'DE-BY'). Returns national + that region's statutory holidays, each tagged national/regional. Omit for the national calendar.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "au",
      -  "nz"
      -]New value: +[
      +  "au",
      +  "fj",
      +  "nz",
      +  "pg",
      +  "sb",
      +  "to",
      +  "vu",
      +  "ws"
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that the tool is free, cites official sources, and explains behavior with subdivisions (merged calendar). It does not mention rate limits or auth, but for a read-only holiday tool this is sufficient. Missing details on response format, but the explanation of sub-national calendars adds transparency.

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 sentences, front-loaded with the core purpose in the first sentence. The second sentence provides essential sub-national detail. No fluff or redundancy.

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?

With 2 parameters and no output schema, the description covers the main functionality (national and sub-national calendars). However, it does not clarify the limited set of supported countries (the enum shows only 8 Pacific nations), nor does it describe the expected response structure (e.g., list of holiday objects). This could leave the agent uncertain about handling unsupported countries or the output format.

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 100%, baseline 3. Description adds value by explaining that 'country' is an ISO code with examples, and that 'subdivision' returns merged national+regional holidays. It also mentions the existence of the 'subdivisions' field in the response, which goes beyond the schema.

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?

Description clearly states it provides official public holiday calendars, including movable holidays and sub-national calendars. It uses specific verbs like 'get' and 'returns', and distinguishes from siblings like count_working_days or settlement_date by focusing on holiday data.

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?

Explicitly marked as 'FREE', and explains when to use the subdivision parameter. It implies usage for obtaining holiday data but does not state when not to use it or provide direct comparison to sibling tools. However, given sibling tools are about wage, tax, working days, etc., the context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources