Skip to main content
Glama

public_holidays

Idempotent

Public holidays of one German state (all 16), Austria or Switzerland for one year: date, name (German or English), weekday and the next upcoming holiday. Calculated on our server, no external source. Returns: JSON with region, year, language, count, holidays, next, coverage. PAID: 0.002 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing. NOTE: No municipal or cantonal special days and no school holidays.

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": {
      "region": "<region>"
    },
    "name": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear, default the current year.
regionYesDE-BY, DE-BW, DE-BE, DE-BB, DE-HB, DE-HH, DE-HE, DE-MV, DE-NI, DE-NW, DE-RP, DE-SL, DE-SN, DE-ST, DE-SH, DE-TH (German states), AT or CH.
languageNoLanguage of the holiday names, de or en. Default en.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the cost model, the exact payment mechanism and header field, the no-charge failure mode, and that results are computed server-side rather than fetched live. It also states data coverage limits (no municipal/cantonal or school holidays). The readOnlyHint=false annotation is implicitly explained by the per-call charge even though the tool itself only reads/computes.

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?

The core capability is front-loaded in the first sentence, followed by the return shape, then payment mechanics, then exclusions. Every sentence carries information, though the payment parenthetical (client library example and chain identifier) is dense and could be trimmed for readability.

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

Completeness5/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 still enumerates the return keys (region, year, language, count, holidays, next, coverage) and explains the gating condition for getting any result. For a three-parameter computational lookup, an agent has everything needed to invoke it correctly and interpret a payment-required response.

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 region, year and language are already fully documented with enums and a default. The description reinforces scope ('all 16' German states plus AT and CH) and that names come in German or English, but adds no syntax, defaulting, or format meaning beyond 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 opening sentence names the exact resource and scope: public holidays for one German state (all 16), Austria or Switzerland, for one year, with the specific fields returned (date, name, weekday, next upcoming holiday). The closing NOTE explicitly rules out municipal/cantonal special days and school holidays, which sharpens the boundary of what the tool is.

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?

It gives clear operating context: paid tool at 0.002 USDC on eip155:8453 via x402 v2, requires an x402-capable MCP client attaching payment in _meta["x402/payment"], and without payment returns a 'payment required' result and charges nothing. What is absent is guidance on when to prefer this over adjacent tools (e.g. regional_data or open_data_search), but the coverage exclusions set the boundary clearly.

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