Skip to main content
Glama

Public Holidays API - 150+ countries and their states/regions

public_holidays
Read-onlyIdempotent

Official public holidays for a country (and state/province/region) for any year 1950-2100: date, name, weekday. Local-language names where available (language=de, fr, bg...). Maintained open-source holiday rules, no outside call, < 50 ms. 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.

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": 2026,
      "country": "DE",
      "subdivision": "BY"
    },
    "name": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear, default this year
countryYesISO 3166 alpha-2 code, e.g. DE, BG, US, GB
languageNoName language, e.g. en, de, fr (if the country has it)
subdivisionNoState/region code, e.g. BY (Bavaria), CA (California)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / year / minimum
      Added value: +0
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and openWorld, and the description adds substantial context beyond them: coverage window 1950-2100, local-language names, self-maintained rules with no outside call, sub-50 ms latency, free tier of 5 calls/day per IP, and both paid auth paths (X-API-Key via Radar or x402 pay-per-call). Rate limits and auth requirements are exactly the behavior an agent needs before calling.

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 core capability and coverage window come first, followed by language, reliability, then access/pricing. It is dense and telegraphic but nearly every clause carries information; the two pricing URLs are the bulkier part but are justified by the dual billing model.

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?

For a four-parameter lookup with no output schema, the description covers the returned fields, the year range, language behavior, latency and authentication. It omits error behavior for unknown country or subdivision codes and any pagination or result-count expectations, which is a modest gap.

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 each parameter is already documented with format examples. The description adds only marginal meaning: the year range 1950-2100 and the fact that language names appear only when the country has them, which usefully implies language is best-effort rather than guaranteed.

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+resource: official public holidays for a country and subdivision for any year 1950-2100, returning date, name and weekday. The scope and return fields are concrete. It does not name the sibling public_holidays_long_weekends, so the agent must infer differentiation from the name alone.

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 resource (look up holidays for a country/year), and the tiering tells an agent about access constraints. There is no explicit when-to-use versus when-not guidance, and the long-weekends sibling is never mentioned as an alternative for that kind of query.

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