Skip to main content
Glama

holidays

holidays
Read-only

Public holidays for 100+ countries (optional state/province), plus business-day math: count business days between two dates, add N business days to a date, or check if a date is a business day. Costs $0.002 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD, counts business days from..to
fromNoYYYY-MM-DD
yearNo
regionNoOptional state/province code, e.g. ON
countryYesISO 2-letter code, e.g. US, CA, GB
add_business_daysNoAdds N business days to from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond the annotations: a per-call cost of $0.002 USDC via x402 payment, which is essential for an agent deciding whether to invoke it. It stops short of covering rate limits or result shape.

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 tight sentences: capability scope first, then the three operations, then cost last. Every clause carries information; nothing is padding.

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 read-only lookup tool with no output schema, the definition covers scope, optional region, the date-operation modes, and cost. Minor gaps remain around return format (holiday name/date fields) and empty-result behavior, but the essential invocation information is present.

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 coverage is 83%, so the schema carries most parameter documentation. The description still adds value by grouping from/to/add_business_days into named operations (count between two dates, add N days, check a date), clarifying how the date params combine rather than leaving them as loose fields.

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 specific resources and modes: public holidays for 100+ countries plus three business-day operations (count between dates, add N days, check if a date is a business day). Very clear what the tool does. It does not, however, differentiate itself from the near-identical sibling 'dates_business_days', leaving the overlap unaddressed.

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?

Usage is implied by the enumerated modes, so an agent can infer when each parameter combination applies. There is no explicit when-to-use guidance, no exclusions, and no routing away from the overlapping 'dates_business_days' or 'business_counts' siblings.

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