Skip to main content
Glama

ClockCrest time tools

Public holidays of a country

get_country_holidays
Read-onlyIdempotent

Public holidays of a country for one year (2025–2028), including regional ones flagged with their subdivisions. Source: Nager.Date.

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>",
      "year": "<year>"
    },
    "name": "get_country_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesFour-digit year with data (2025–2028)
countryYesISO 3166-1 alpha-2 country code, e.g. FR

Output Schema

NameRequiredDescriptionDefault
yearYes
countYes
sourceYesWhere the data or the algorithm comes from.
countryYesISO 3166-1 alpha-2 country code
holidaysYes
dataYearsYesYears the holiday data covers for this country.
sourceUrlYes
countryNameYes
lastUpdatedYesDate the underlying data set was last generated or checked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds genuinely useful content-level context: regional holidays are included and marked with their subdivisions, and the data comes from Nager.Date. It does not describe result shape, but an output schema exists.

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?

Two tight sentences, front-loaded with what the tool returns and its temporal scope. The source attribution is short and defensible. No filler or repetition.

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 only two required, fully documented parameters and an output schema, the description covers what an agent needs to invoke the call correctly and even flags the regional-subdivision nuance. Missing only explicit routing guidance against siblings.

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 coverage is 100%, with the ISO 3166-1 alpha-2 format, example, and the 2025–2028 year bound all documented in the schema itself. The description repeats the year range but adds no new meaning about either parameter, so the baseline of 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?

The description names a specific resource ('public holidays of a country for one year') and constrains scope to 2025–2028, which is enough for an agent to distinguish it from siblings like get_calendar or calculate_business_days. It does not explicitly name or contrast any sibling, so it stops short of full differentiation.

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: provide a country and a year to get holidays. There is no statement of when to prefer this over get_calendar or calculate_business_days, and no mention of prerequisites or failure modes for unsupported years or invalid codes.

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