Skip to main content
Glama

Public holidays by country: list a country's public holidays for a year

holidays
Read-only

Public holidays for a year in over 100 countries: date, local and English name, whether it is nationwide, and the observed day where a weekend moves it. Statutory rules of our own for the US, UK, Sweden, Germany, France, Norway, Denmark and Finland (2024-2100); Nager.Date for the rest (Japan, Canada, Australia, India, Brazil…). Use for scheduling, delivery dates and business-day maths. Example: country=SE. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "<country>"
    },
    "name": "holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear, 2024-2100 (default this year)
countryYesISO 3166-1 alpha-2 code (US, GB, SE, JP, CA…) or English country name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / year / maximum
      Previous value: -9007199254740991New value: +2100
    • changedInput schema / properties / year / minimum
      Previous value: --9007199254740991New value: +2024
  2. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 code: US, GB (UK), SE, DE, FR, NO, DK or FI; English country names also work"New value: +"ISO 3166-1 alpha-2 code (US, GB, SE, JP, CA…) or English country name"
  3. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"ISO 3166-1 alpha-2 code: US, GB, SE, DE, FR, NO, DK or FI"New value: +"ISO 3166-1 alpha-2 code: US, GB (UK), SE, DE, FR, NO, DK or FI; English country names also work"
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive and non-idempotent, and the description adds genuinely useful information beyond them: per-call pricing, ten free calls, failed calls free, and the 2024-2100 validity window. It does not cover behavior for unsupported country codes or how billing errors surface, which keeps it from a 5.

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?

Purpose and coverage are front-loaded, then sources, then pricing — a sensible order. The parenthetical country lists and the repeated 'reads or computes only and changes nothing' phrasing add bulk that partly duplicates the readOnly annotation.

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 enumerates the returned fields and vendors' data provenance, which is what an agent needs to interpret results. The remaining gap is failure behavior — what happens for an unsupported country or out-of-range year — which a paid, billed call would benefit from stating.

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 the baseline is 3, but the description adds meaning the schema lacks: which countries get first-party statutory rules versus third-party data, and that the year window is tied to that source split. The example (country=SE) reinforces the accepted input style already noted in the schema.

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?

It states a specific resource (public holidays for a year), the exact return fields (date, local and English name, nationwide flag, observed day), and the coverage scope (100+ countries, first-party rules for 8 named countries from 2024-2100, Nager.Date elsewhere). An agent knows precisely what this returns without opening the schema.

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

Usage Guidelines4/5

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

It gives explicit use cases ('scheduling, delivery dates and business-day maths') and a concrete call example (country=SE), which is clear positive guidance. It does not state when to prefer a sibling or what to do for an unsupported country, so it stops short of full when/when-not routing.

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