Skip to main content
Glama

is_public_holiday

Read-only

Check if a specific date is a public holiday in a country and get its name. Use for single-date holiday queries like 'Is Dec 25 a holiday in the US?'

Instructions

Checks whether one specific date is a public holiday in a country, and names it if so. Use for "is Dec 25 2026 a holiday in the US", "is the office closed on this date", or any single-date holiday check -- prefer this over get_public_holidays when the question is about just one day. country_code is a 2-letter ISO code; date is YYYY-MM-DD. Returns whether it's a holiday and, if so, its name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
country_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the readOnlyHint annotation, the description adds that the tool returns a boolean holiday status and the holiday's name if applicable. It also clarifies that it checks exactly one date, which is useful behavioral context. No contradiction with annotations.

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 concise yet information-dense, covering purpose, usage, parameter formats, and return behavior in just a few sentences. It is front-loaded with the core function and contains no filler.

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 two-parameter, read-only tool with an output schema, the description covers all necessary aspects: what it does, when to use it, parameter semantics, and return behavior. It is fully complete without being verbose.

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

Parameters5/5

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

Despite 0% schema coverage, the description explicitly defines both parameters: country_code as a 2-letter ISO code and date as YYYY-MM-DD. This fully compensates for the lack of schema descriptions, providing precise format and meaning.

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?

Clearly states the tool checks whether one specific date is a public holiday in a country and names it if so. The verb 'checks' and specific resource (single date + country) make the purpose unambiguous. It also distinguishes from sibling get_public_holidays by noting the single-day focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides usage examples and says to prefer this over get_public_holidays for single-date checks. This gives clear when-to-use guidance and names the alternative, satisfying the highest bar for this dimension.

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