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 €15/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. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world; the description adds material behavior the agent cannot get elsewhere: data provenance ('maintained open-source holiday rules'), zero external dependency, latency under 50 ms, and the full auth/rate-limit model (free 5 calls/day per IP, X-API-Key subscription, or x402 per-call billing). That is exactly the kind of cost and access disclosure 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?

Content is front-loaded: capability and year range first, then language, provenance/latency, then access terms. It is dense but single-paragraph and every clause carries information; the two pricing URLs and multi-tier billing detail are somewhat heavy for a tool description.

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 correctly states the returned fields and supports that with access, cost, and latency. Minor gaps remain around error behavior (invalid country/subdivision) and whether subdivision is required for countries that have regions, but nothing critical is missing for correct invocation.

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?

Schema coverage is 100%, so baseline is 3; the description goes beyond the schema by tightening the year domain to 1950-2100 (the schema only says minimum 0 with no maximum) and by explaining that language names are only available where the country has them. Country and subdivision semantics are left to the already-descriptive schema fields.

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 names a specific verb+resource ('Official public holidays for a country (and state/province/region)') and enumerates returned fields (date, name, weekday), so the agent knows exactly what it gets. It does not explicitly distinguish itself from the adjacent sibling public_holidays_long_weekends, which keeps it from a 5.

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 context is implied rather than stated: the year range 1950-2100 and the 5 calls/day free tier hint at when the tool applies and how much it can be used, but there is no explicit when-to-use/when-not and no routing to alternatives such as the long-weekends endpoint or calendar-based siblings.

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