Skip to main content
Glama
OpenHolidays Global Calendars MCP

OpenHolidays Global Calendars MCP

Get public holidays

get_public_holidays
Read-onlyIdempotent

Retrieve official public holidays for a country and date range, optionally filtered by regional subdivision code, to plan schedules and avoid conflicts.

Instructions

Retrieve official public holidays for a country and date range, optionally filtered by regional subdivision code.

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_iso_code": "<country_iso_code>",
      "valid_from": "<valid_from>",
      "valid_to": "<valid_to>"
    },
    "name": "get_public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
valid_toYesEnd date in YYYY-MM-DD format (e.g. "2026-12-31").
valid_fromYesStart date in YYYY-MM-DD format (e.g. "2026-01-01").
country_iso_codeYes2-letter ISO country code (e.g. "DE", "FR", "NL", "CH", "PL").
subdivision_codeNoOptional subdivision code (e.g. "DE-BY" for Bavaria).
language_iso_codeNo2-letter ISO language code for holiday names. Default "EN".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, covering the safety and repeatability profile. The description adds no behavior beyond that: no note on result ordering, how the default language applies, what happens with an unrecognized subdivision code, or whether open-world external data can change between calls.

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?

A single front-loaded sentence with the core scope first and the optional filter second. Every clause maps to a real parameter; there is no filler 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 5 parameters, 3 required, and no output schema, the description should say something about what comes back (holiday names, dates, whether subdivision matches are included) and about invalid-code handling. It covers the input intent adequately but leaves the return shape and failure behavior unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with formats, examples, and the 'EN' default all documented inline, so the baseline is 3. The description restates the country/date-range/subdivision roles but adds no syntax, constraints, or edge-case meaning beyond the schema, and never mentions language_iso_code.

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 ('Retrieve') and resource ('official public holidays') with the scoping dimensions (country, date range, optional subdivision). It implicitly distinguishes itself from the similarly-named get_school_holidays by specifying 'public', but never names or contrasts any sibling explicitly.

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 description ('for a country and date range'), and the 'optionally filtered by regional subdivision code' phrase hints at when to supply that parameter. However, there is no explicit when-to-use versus when-not, and no routing to check_is_public_holiday for single-date lookups or list_supported_countries for valid codes.

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