Skip to main content
Glama

Public holidays for a country and year

public_holidays
Read-onlyIdempotent

List official public holidays for 100+ countries for a given year (date, local name, English name, national or regional), from the Nager.Date open dataset.

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 current)
countryYesISO 3166 alpha-2 code, e.g. US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered by structured data. The description adds useful provenance (Nager.Date open dataset) and the shape of the returned rows, but says nothing about coverage limits ('100+' implies some countries are absent), error behavior for unsupported codes, or rate limits.

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?

A single front-loaded sentence with the resource and scope first and the parenthetical field enumeration compactly packed; every clause earns its place with no filler.

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 full schema coverage and explicit annotations, this is nearly complete, and the field list compensates for the absence of an output schema. Minor gaps remain around unsupported country codes and whether regional holidays can be filtered.

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 with types and the ISO 3166 alpha-2 example. The description adds only the country-count scale and the returned field list, so the baseline 3 applies.

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 and resource ('List official public holidays') plus scope ('100+ countries', 'given year') and even enumerates the returned fields, so an agent knows exactly what it retrieves. It does not explicitly contrast itself with the nearest sibling (business_days), which keeps it out of the top score.

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 is only implied by the phrase 'for a given year' – there is no explicit when-to-use, when-not-to-use, or named alternative such as business_days for working-day calculations. An agent can infer the call pattern but gets no routing guidance.

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