Skip to main content
Glama

Crypto & Web Data API for Agents

Public holidays for a country and year via Nager.Date

world_holidays
Read-only

Public holidays for a country and year via Nager.Date. Returns the list of public holidays with dates, names, regions and types, plus the next upcoming holiday. Use for planning around non-working days. Price $0.005 per call (x402: USDC on Base or Solana).

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

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
yearNoYear (defaults to current year)
countryYesISO 3166-1 alpha-2 country code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds substantive context beyond that: the exact fields returned, the bonus upcoming-holiday payload, and the payment model (x402, USDC on Base or Solana, $0.005 per call) — the last being critical for an agent that may need to fund a call.

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?

Four short sentences, front-loaded with purpose, then return shape, then usage, then cost. Every sentence carries information; only the pricing detail could be trimmed by an agent that doesn't pay, but it is genuinely needed for invocation.

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 no output schema, the description correctly compensates by enumerating the returned fields. Combined with full schema coverage and the payment disclosure, an agent has everything needed to call it correctly; only error behavior for an invalid country code is unaddressed.

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%, including format patterns, an example, and the current-year default, so the schema carries the parameter burden. The description adds no syntax or semantics beyond restating 'country and year', and the `tx` parameter is left entirely to the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and scope ('Public holidays for a country and year') plus the backing source (Nager.Date), so an agent knows exactly what data comes back. No sibling tool in the catalog covers holidays, so there is no ambiguity to resolve.

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?

'Use for planning around non-working days' gives a concrete task context for selecting this tool. It stops short of stating exclusions or naming an alternative, which is acceptable here since no sibling overlaps.

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