Skip to main content
Glama

Get next public holidays

get_next_public_holidays
Read-onlyIdempotent

Fetch upcoming public holidays for a specific country or worldwide over the next 7 days to plan events and avoid scheduling conflicts.

Instructions

Fetch upcoming public holidays for a specific country or worldwide over the next 7 days.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_next_public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum holidays returned (default 15).
country_codeNoOptional 2-letter ISO country code; omit for worldwide next 7 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive, open-world call, so the safety burden is largely covered. The description adds a genuine behavioral constraint not present in the annotations or schema: results are bounded to the next 7 days and omitting country_code switches to worldwide scope. Return shape and any rate/remote-API caveats are not covered, keeping it below a 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?

A single sentence that front-loads the verb and resource, then the scope. No filler, no redundancy, and nothing that could be cut without losing scope information.

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 optional, fully documented parameters and rich annotations, the definition supplies everything essential for a correct call. Minor gaps remain: whether the 7-day window is rolling from now, whether today counts, and which timezone governs the boundary.

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%: country_code's ISO format and worldwide fallback, plus limit's default and bounds, are all documented in the schema. The description's phrase 'specific country or worldwide' restates the schema rather than adding syntax or edge-case detail, so 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 ('Fetch upcoming public holidays') plus the scoping ('for a specific country or worldwide over the next 7 days'), which distinguishes it from a generic holiday lookup. It does not name the closest sibling (get_public_holidays), so the differentiation is implicit rather than explicit.

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?

The 7-day horizon and the country-vs-worldwide choice imply when this tool is appropriate, and the schema reinforces it. However, there is no explicit when-to-use/when-not guidance and no named alternative (e.g. get_public_holidays for a different time range), leaving the agent to infer routing.

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