Skip to main content
Glama

Genesis tools

Public Holiday & Business-Day Lookup API (per-call)

public_holiday
Read-only

Check whether any date is a public holiday or a business day in a given country, backed by authoritative public-holiday open data. Input a date (YYYY-MM-DD) and a country code; get a clean JSON verdict: is_holiday, holiday_name, is_business_day and country. Covers major economies (US, GB, DE, FR, CA, AU, JP and more). Source: public holiday open data (reusable). Ideal for scheduling, billing runs, and date-aware agents that must know whether a day is a working day. Example input: {"country": "US", "date": "2026-12-25", "year": 2026}. Uses one call of your free daily calls or prepaid key; x402 clients pay $0.001 per call in USDC. Only successful calls count.

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

Input Schema

NameRequiredDescriptionDefault
dateNo
yearNo
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description goes further with billing behavior an agent cannot get from annotations: one call against a free daily quota, $0.001/call in USDC via x402, and 'only successful calls count.' It does not explain quota limits or how open-world data gaps (e.g. unknown country) are surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the return fields are front-loaded, which is good, but there is redundancy — 'backed by authoritative public-holiday open data' is repeated later as 'Source: public holiday open data (reusable)' — plus mildly promotional phrasing like 'get a clean JSON verdict.' Priced/example details could be tightened to one sentence each.

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?

For a 3-parameter read-only lookup with no output schema, the description covers the essential contract: what goes in (date, country), what comes back (four named fields), examples, coverage, and cost. The only meaningful hole is the unexplained 'year' parameter and which fields are mandatory (schema marks zero required).

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 0%, so the description must carry the load — it does add the date format (YYYY-MM-DD), an example payload, and country examples ('US, GB, DE, FR...'), implying alpha-2 codes. However, the 'year' parameter is never explained (its relationship to 'date' is ambiguous), and nothing indicates which of the three optional parameters are actually required.

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 opens with a precise verb+resource: 'Check whether any date is a public holiday or a business day in a given country.' It also names the exact outputs (is_holiday, holiday_name, is_business_day, country), which no sibling lookup provides, so an agent can distinguish it from the other *_lookup tools on resource alone.

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 concrete usage contexts ('Ideal for scheduling, billing runs, and date-aware agents that must know whether a day is a working day'), which is enough to select it over the crypto/domain/email lookups. It stops short of explicit when-not conditions or naming an alternative, but no sibling overlaps this resource.

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