Skip to main content
Glama

reference-data

get_public_holidays

Read-onlyIdempotent

FREE. Official public-holiday calendar for a supported country, including gazetted movable holidays, with the official government source cited. Some countries also carry sub-national calendars (e.g. the German Laender): the subdivisions field lists them, and passing subdivision (ISO 3166-2, e.g. 'DE-BY') returns the national calendar merged with that region's statutory days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryYesISO country code
subdivisionNoOptional ISO 3166-2 region code (e.g. 'DE-BY'). Returns national + that region's statutory holidays, each tagged national/regional. Omit for the national calendar.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNo
errorNoPresent on a free refusal or error; no charge
notesNo
staleNo
valueNo
seriesNo
sourceNo
countryNo
no_chargeNo
price_usdNo
confidenceNo
disclaimerNo
how_to_payNo
bind_seriesNo
explanationNo
label_basisNoInputs and the rule ids that produced the two labels
subdivisionNo
x_next_bindNo
http_endpointNo
coverage_labelNoHow much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules
effective_fromNo
last_confirmedNo
confidence_labelNoEvidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules
payment_requiredNotrue when the call needs payment; how_to_pay explains x402 or card
available_subdivisionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / confidence_label
      Added value: +{
      +  "description": "Evidence verdict derived from source type, verification age and the stale flag (answers: the weakest series read). Rules at /label-rules",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / coverage_label
      Added value: +{
      +  "description": "How much of the question is covered: ready = complete; partial = held with a disclosed limitation or default; gap = no number served. Rules at /label-rules",
      +  "enum": [
      +    "ready",
      +    "partial",
      +    "gap"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / label_basis
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Inputs and the rule ids that produced the two labels",
      +  "properties": {
      +    "confidence_reasons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "coverage_reasons": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "inputs": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "rules": {
      +      "type": "string"
      +    },
      +    "rules_version": {
      +      "type": "string"
      +    },
      +    "source_type": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "verification_age_days": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "Holiday calendar series with cited source; with subdivision, merged national+regional days",
      +  "properties": {
      +    "available_subdivisions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "bind_series": {},
      +    "confidence": {},
      +    "country": {
      +      "type": "string"
      +    },
      +    "disclaimer": {},
      +    "effective_from": {},
      +    "error": {
      +      "description": "Present on a free refusal or error; no charge"
      +    },
      +    "explanation": {},
      +    "how_to_pay": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "http_endpoint": {
      +      "type": "string"
      +    },
      +    "last_confirmed": {},
      +    "no_charge": {
      +      "type": "boolean"
      +    },
      +    "notes": {},
      +    "payment_required": {
      +      "description": "true when the call needs payment; how_to_pay explains x402 or card",
      +      "type": "boolean"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "series": {
      +      "type": "string"
      +    },
      +    "source": {},
      +    "stale": {
      +      "type": "boolean"
      +    },
      +    "subdivision": {},
      +    "unit": {},
      +    "value": {},
      +    "x_next_bind": {}
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / subdivision
      Added value: +{
      +  "description": "Optional ISO 3166-2 region code (e.g. 'DE-BY'). Returns national + that region's statutory holidays, each tagged national/regional. Omit for the national calendar.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ae",
      -  "bd",
      -  "bh",
      -  "cn",
      -  "hk",
      -  "id",
      -  "il",
      -  "in",
      -  "jp",
      -  "kr",
      -  "kw",
      -  "kz",
      -  "lk",
      -  "my",
      -  "om",
      -  "ph",
      -  "pk",
      -  "qa",
      -  "sa",
      -  "sg",
      -  "th",
      -  "tr",
      -  "tw",
      -  "vn"
      -]New value: +[
      +  "ae",
      +  "bd",
      +  "bh",
      +  "cn",
      +  "hk",
      +  "id",
      +  "il",
      +  "in",
      +  "iq",
      +  "jo",
      +  "jp",
      +  "kr",
      +  "kw",
      +  "kz",
      +  "lk",
      +  "my",
      +  "np",
      +  "om",
      +  "ph",
      +  "pk",
      +  "qa",
      +  "sa",
      +  "sg",
      +  "th",
      +  "tr",
      +  "tw",
      +  "uz",
      +  "vn"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ae",
      -  "bd",
      -  "bh",
      -  "cn",
      -  "hk",
      -  "id",
      -  "il",
      -  "in",
      -  "jp",
      -  "kr",
      -  "kw",
      -  "my",
      -  "om",
      -  "ph",
      -  "pk",
      -  "qa",
      -  "sa",
      -  "sg",
      -  "th",
      -  "tr",
      -  "tw",
      -  "vn"
      -]New value: +[
      +  "ae",
      +  "bd",
      +  "bh",
      +  "cn",
      +  "hk",
      +  "id",
      +  "il",
      +  "in",
      +  "jp",
      +  "kr",
      +  "kw",
      +  "kz",
      +  "lk",
      +  "my",
      +  "om",
      +  "ph",
      +  "pk",
      +  "qa",
      +  "sa",
      +  "sg",
      +  "th",
      +  "tr",
      +  "tw",
      +  "vn"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ae",
      -  "bd",
      -  "cn",
      -  "hk",
      -  "id",
      -  "in",
      -  "jp",
      -  "kr",
      -  "my",
      -  "ph",
      -  "pk",
      -  "qa",
      -  "sa",
      -  "sg",
      -  "th",
      -  "tr",
      -  "tw",
      -  "vn"
      -]New value: +[
      +  "ae",
      +  "bd",
      +  "bh",
      +  "cn",
      +  "hk",
      +  "id",
      +  "il",
      +  "in",
      +  "jp",
      +  "kr",
      +  "kw",
      +  "my",
      +  "om",
      +  "ph",
      +  "pk",
      +  "qa",
      +  "sa",
      +  "sg",
      +  "th",
      +  "tr",
      +  "tw",
      +  "vn"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bd",
      -  "id",
      -  "in",
      -  "jp",
      -  "kr",
      -  "my",
      -  "ph",
      -  "sg",
      -  "th",
      -  "vn"
      -]New value: +[
      +  "ae",
      +  "bd",
      +  "cn",
      +  "hk",
      +  "id",
      +  "in",
      +  "jp",
      +  "kr",
      +  "my",
      +  "ph",
      +  "pk",
      +  "qa",
      +  "sa",
      +  "sg",
      +  "th",
      +  "tr",
      +  "tw",
      +  "vn"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "in",
      -  "jp",
      -  "kr",
      -  "ph",
      -  "sg"
      -]New value: +[
      +  "bd",
      +  "id",
      +  "in",
      +  "jp",
      +  "kr",
      +  "my",
      +  "ph",
      +  "sg",
      +  "th",
      +  "vn"
      +]
  9. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources