Skip to main content
Glama

reference-data

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: -[
      -  "ca",
      -  "cr",
      -  "do",
      -  "gt",
      -  "hn",
      -  "mx",
      -  "pa",
      -  "sv",
      -  "us"
      -]New value: +[
      +  "bs",
      +  "ca",
      +  "cr",
      +  "do",
      +  "gt",
      +  "hn",
      +  "mx",
      +  "pa",
      +  "sv",
      +  "us"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ca",
      -  "mx",
      -  "us"
      -]New value: +[
      +  "ca",
      +  "cr",
      +  "do",
      +  "gt",
      +  "hn",
      +  "mx",
      +  "pa",
      +  "sv",
      +  "us"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ca",
      -  "us"
      -]New value: +[
      +  "ca",
      +  "mx",
      +  "us"
      +]
  5. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral transparency. It discloses the tool is free and returns official data with source citation. It mentions the merged behavior for subdivisions. However, it does not explicitly state it is read-only, has no side effects, or any rate limits.

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 description is very concise: two sentences, no wasted words. The first sentence states the core purpose and key features, and the second elaborates on subdivisions. It is front-loaded and efficient.

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?

Given no output schema and no annotations, the description covers essential aspects: purpose, subdivision feature, official source, and free nature. It does not describe the output format but is reasonably complete for a simple holiday lookup tool. Minor gaps: no mention of error cases or country list.

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 parameters are documented. The description adds significant value beyond the schema: explains the 'subdivisions' field, gives an example (DE-BY), and clarifies that passing subdivision returns merged national+regional holidays tagged as such. This extra context helps usage.

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?

The description clearly states it provides an official public-holiday calendar for supported countries with sub-national options. The tool name 'get_public_holidays' reinforces its purpose, and it is distinct from sibling tools which handle taxes, wages, and working days. However, the description does not explicitly start with a verb like 'Retrieve' to emphasize the action.

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?

The description explains when to use the subdivision parameter and notes the tool is free. It implies usage for fetching official holidays, but does not explicitly state when not to use it (e.g., for working days count) or compare to sibling tools like count_working_days.

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