Skip to main content
Glama

OpenHolidays Global Calendars MCP

Check if date is a public holiday

check_is_public_holiday
Read-onlyIdempotent

Check whether a single YYYY-MM-DD date is a public holiday in a country or regional subdivision for payroll and SLA scheduling.

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>",
      "date": "<date>"
    },
    "name": "check_is_public_holiday"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate to check in YYYY-MM-DD format (e.g. "2026-01-01").
country_iso_codeYes2-letter ISO country code (e.g. "DE").
subdivision_codeNoOptional regional subdivision code (e.g. "DE-BY").
language_iso_codeNo2-letter ISO language code. Default "EN".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorldHint, so the safety and external-data profile is covered structurally. The description adds nothing beyond that: it does not say what is returned (boolean only, or holiday name), how unknown country/subdivision codes or uncovered regions are handled, or that results depend on external holiday data coverage.

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?

One compact sentence with the core scope (single date, country/subdivision) front-loaded and no filler. It could be marginally better by putting the distinguishing scope ahead of the business-context clause, but structure is sound.

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 no output schema, the description should describe the return value, yet it never says whether the result is a boolean, a holiday name, or an error for uncovered regions. Inputs are fully covered by the schema, so the remaining gap is the response shape and coverage caveats.

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%, so the baseline is 3; each parameter including subdivision_code and language_iso_code is documented in the schema. The description reinforces 'single date' and 'country or regional subdivision', but adds no format, default, or precedence semantics 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 (check) and resource (public holiday) with clear scoping: a single YYYY-MM-DD date in a country or regional subdivision. This implicitly distinguishes it from the list-style sibling get_public_holidays, but it never names the sibling or explicitly contrasts the two.

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 phrase 'for payroll and SLA scheduling' gives a usage context, but there are no explicit when-to-use/when-not-to-use rules and no pointer to get_public_holidays for range queries or list_country_subdivisions for finding valid subdivision codes. Usage is implied rather than stated.

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.