Skip to main content
Glama

Public holidays by country

public_holidays
Read-only

Retrieve public and bank holidays for over 100 countries, any year from 1975 to 2075, including local names and regional dates, to schedule deliveries and calculate business days.

Instructions

Public and bank holidays for 100+ countries, any year from 1975 to 2075, with local names, regional holidays and the next upcoming one (in the year asked). Useful for scheduling, delivery dates and business-day math. Costs $0.001 per call.

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": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear. Default: this year.
countryYesISO country code, e.g. "US", "GB", "DE", "BR".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so the safety profile is covered; the description goes further by disclosing the country coverage breadth, the hard year window (1975-2075), what fields the response includes, and a per-call price of $0.001. The pricing and range limits are exactly the kind of context annotations cannot express. It stops short of noting coverage gaps or per-country caveats for the regional-holiday data.

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?

Two sentences, zero waste. Scope and payload come first, practical uses second, and the cost note is a single short clause at the end. Nothing is repeated from the title beyond what adds precision (the year window and 100+ country count).

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 two-parameter read-only lookup with no output schema, the description covers coverage, valid range, response contents, and cost — enough to call it confidently. A brief note on how regional holidays are returned (per-subdivision?) would close the remaining 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%, with both the ISO country code and the year bounds already documented including the default. The description's mention of the 1975-2075 window echoes the schema's minimum/maximum rather than adding format or edge-case meaning. Baseline 3 applies because the schema does the heavy lifting.

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 the resource precisely (public and bank holidays), the scope (100+ countries, years 1975-2075), and the payload contents (local names, regional holidays, next upcoming holiday). An agent can tell exactly what comes back, though it never contrasts itself with the closest sibling, country_info, or with date_calc for business-day math.

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 supplies concrete use contexts — scheduling, delivery dates, business-day math — which is more than generic filler. There are no exclusions, prerequisites, or named alternatives (e.g. 'for date arithmetic alone, use date_calc'), so guidance is contextual but not routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.