Skip to main content
Glama

Public Holidays API - 2026-2028 holidays, long weekends and bridge days for 200+ countries

public_holidays_long_weekends
Read-onlyIdempotent

Public holidays of any country (and state or region: US states, German Laender, Australian states, UK nations ...) for 2026, 2027 or 2028, with weekday and observed days, plus the LONG WEEKENDS (3+ days off in a row) and the BRIDGE DAYS worth taking off ('take Fri 7 May off = 4 days in a row'). Up to 15 countries in one call for teams across borders. Offline open-source holiday rules (python-holidays, MIT), 0 AI, nothing stored, under 50 ms. For HR and leave apps, payroll and delivery planning, travel sites and chat bots. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/public-holidays-long-weekends.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2027,
      "countries": "US,GB"
    },
    "name": "public_holidays_long_weekends"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear: 2026, 2027 or 2028
regionNoOptional state/region code of the FIRST country (e.g. CA, NSW, BY, SCT)
countriesNoOne or more ISO 3166 2-letter codes or English names, comma separated (max 15), e.g. 'US,GB,DE'US

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses data provenance (offline python-holidays rules, MIT), that nothing is stored, sub-50ms latency, a free tier of 5 calls/day per IP, and two paid paths (Radar API key via X-API-Key, or $0.001/call via x402). Rate limits and auth mechanics are exactly the kind of context annotations cannot carry.

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

Conciseness3/5

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

Purpose is front-loaded and the bridge-day example is genuinely clarifying, but the text is padded with promotional copy ('0 AI', 'nothing stored', pricing URL, 'from €9/mo') that an agent does not need to select or invoke the tool. Several clauses could be dropped without losing selection-relevant information.

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?

With no output schema, the description does the work of explaining return content: holidays with weekday and observed days, plus long weekends and bridge days. Combined with the disclosed auth and rate-limit behavior, an agent has enough to call it correctly; only the response shape/wrapping remains unspecified.

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 year, region, and countries are already fully documented with defaults and the region-applies-to-first-country caveat. The description adds only reinforcement ('Up to 15 countries in one call', region examples like US states/German Laender), which largely restates the schema; baseline 3 applies.

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 gives a concrete verb+resource: it returns public holidays for any country/state/region for 2026-2028, and additionally LONG WEEKENDS and BRIDGE DAYS, with a worked example ('take Fri 7 May off = 4 days in a row'). This distinguishes it in substance from the plain sibling public_holidays, though it never names that sibling as the lighter alternative.

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 framed by audience ('For HR and leave apps, payroll and delivery planning, travel sites and chat bots') rather than by conditions of use. There is no explicit statement of when to prefer this over public_holidays or business_days, and no exclusions; the reader must infer the split from the description.

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