Skip to main content
Glama

Afriref: cited government 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

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

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. Changed4 schema fields changed
    • removedOutput schema / properties / label_basis / properties / source_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / label_basis / properties / source_type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / label_basis / properties / verification_age_days / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / label_basis / properties / verification_age_days / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. 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"
      +}
  3. 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"
      +}
  4. 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"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ao",
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "dz",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "mu",
      -  "mz",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tn",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cd",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ls",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "sz",
      +  "td",
      +  "tg",
      +  "tn",
      +  "tz",
      +  "ug",
      +  "za",
      +  "zm"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ao",
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "dz",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "mu",
      -  "mz",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tn",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bf",
      -  "bj",
      -  "bw",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "na",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug",
      -  "zm"
      -]New value: +[
      +  "ao",
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "dz",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "mu",
      +  "mz",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  8. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bf",
      -  "bj",
      -  "cf",
      -  "cg",
      -  "ci",
      -  "cm",
      -  "eg",
      -  "et",
      -  "ga",
      -  "gh",
      -  "gq",
      -  "ke",
      -  "ma",
      -  "ml",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "td",
      -  "tg",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bf",
      +  "bj",
      +  "bw",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "na",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug",
      +  "zm"
      +]
  9. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "bj",
      -  "ci",
      -  "eg",
      -  "et",
      -  "gh",
      -  "ke",
      -  "ma",
      -  "ne",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bf",
      +  "bj",
      +  "cf",
      +  "cg",
      +  "ci",
      +  "cm",
      +  "eg",
      +  "et",
      +  "ga",
      +  "gh",
      +  "gq",
      +  "ke",
      +  "ma",
      +  "ml",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "td",
      +  "tg",
      +  "tz",
      +  "ug"
      +]
  10. Changed1 schema field changed
    • changedInput schema / properties / country / enum
      Previous value: -[
      -  "ci",
      -  "eg",
      -  "et",
      -  "gh",
      -  "ke",
      -  "ma",
      -  "ng",
      -  "rw",
      -  "sn",
      -  "tz",
      -  "ug"
      -]New value: +[
      +  "bj",
      +  "ci",
      +  "eg",
      +  "et",
      +  "gh",
      +  "ke",
      +  "ma",
      +  "ne",
      +  "ng",
      +  "rw",
      +  "sn",
      +  "tz",
      +  "ug"
      +]
  11. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, so the bar is lower. The description still adds real behavioral context: the call is FREE, results cite an official government source, sub-national calendars exist where available, and passing `subdivision` returns national plus regional days tagged national/regional. No freshness/rate-limit or error behavior is mentioned, keeping it below 5.

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

Conciseness5/5

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

Three sentences, front-loaded with the free/country-scope framing before the subdivision detail. Every clause carries information (source citation, merge semantics, code format) with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the two parameters are fully covered in the schema. The description supplies the remaining context an agent needs, the country scope, the data provenance, and the sub-national merge behavior, making it complete for this read-only tool.

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 both parameters are already documented in the schema, including the exact merge behavior and the 'DE-BY' style example that the description repeats. The description's only added nuance is pointing at the response's `subdivisions` field to discover valid region codes, which is marginal given full schema coverage.

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-holiday calendar for a supported country') and adds scope detail (gazetted movable holidays, official government source cited). It implicitly separates itself from get_public_holidays_worldwide by emphasizing a single supported country, but never names that sibling explicitly.

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?

Gives conditional guidance for the `subdivision` parameter ('omit for the national calendar'), which is useful. However, it offers no tool-selection guidance against nearby siblings such as get_public_holidays_worldwide, is_business_day, or get_calendar, leaving when-to-use-this-vs-that to inference.

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