Skip to main content
Glama

Get public holidays

get_holidays
Read-only

Public holidays of a country, or one of its regions, in one year. Example: {"country":"DE","year":2027,"region":"BY"}.

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_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
regionNo
countryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful scope constraints (one year only, region optional, country-level or regional granularity), but says nothing about the return shape, error behavior for unknown country/region codes, or coverage of past vs future years. Adequate, not rich.

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: the first front-loads the resource and its scope, the second gives a compact, directly usable example. Nothing is redundant and no wording is wasted.

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

Completeness3/5

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

For a simple three-parameter read tool with no output schema, the description covers what the tool is and how to format inputs, but leaves the return value (dates, holiday names, locale handling) and failure modes unstated. Sufficient to call, incomplete for predicting results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden — and it partly does. The example pins down value formats that the bare schema does not: country as an ISO-style code ("DE"), region as a subdivision code ("BY"), and year as a plain integer (2027). It still doesn't say whether region is required to be a subdivision of the given country or what happens if it isn't.

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 resource (public holidays) with explicit scope: a country or one of its regions, limited to a single year. An agent immediately knows what it returns. It does not differentiate from siblings, though the siblings listed (get_history, get_series, get_table) appear unrelated rather than overlapping, so the omission is minor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no named alternative. The usage is only inferable from the resource itself (you want holidays → call this), which is the definition of implied rather than stated 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