Skip to main content
Glama

get_public_holidays

Read-only

Get official public holidays for a country and year, including dates, local and English names, and types. Use it to plan events and schedules around national holidays.

Instructions

Full list of official public holidays for a country in a given year. Use for "what are the holidays in Germany in 2026", planning around a country's holiday calendar, or any "list the holidays for X" question. country_code is a 2-letter ISO code (US, GB, DE, FR, JP, ...) -- roughly 100 countries are covered, not every country worldwide. Returns each holiday's date, local name, English name, and type (e.g. Public, Bank, Observance).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes
country_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is known. The description adds useful behavioral context beyond that, including the return format (date, local name, English name, type) and the country coverage limitation. It does not mention error handling or constraints on the year parameter, but for a simple read tool this is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is composed of three sentences: the first states the core purpose, the second gives usage examples, and the third provides parameter and return details. Each sentence adds value and the text is front-loaded with the main purpose. It is slightly longer than strictly necessary, but remains concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with two parameters and an existing output schema, the description provides complete context: purpose, usage examples, country_code format, coverage limitation, and return fields. It also implicitly differentiates from the sibling tool by focusing on listing, so the agent can select and invoke it correctly. No significant gaps remain.

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?

The schema provides no descriptions for the two parameters, and schema coverage is 0%. The description compensates by explaining `country_code` is a 2-letter ISO code with examples (US, GB, DE, FR, JP, ...) and that only about 100 countries are covered. The `year` parameter is left as a simple integer, but its meaning is self-evident from the tool purpose. This partial compensation is helpful, though not exhaustive.

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 clearly states that the tool returns a full list of official public holidays for a country in a given year. The verb 'get' is implied by the name, but the description uses 'Full list' to specify the scope, distinguishing it from the sibling tool is_public_holiday which likely checks a single date. It also gives example queries, making the purpose unmistakable.

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 provides specific example use cases like 'what are the holidays in Germany in 2026' and 'planning around a country's holiday calendar', which clearly indicate when to use the tool. It also states a limitation (roughly 100 countries are covered), which sets expectations. However, it does not explicitly mention when not to use it or name the alternative tool for single-day checks, so it lacks explicit exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lulu-The-Narwhal/holidays-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server