Skip to main content
Glama

holiday_list

List Indian public holidays by year and state or central jurisdiction, returning dates, names, occasions, and holiday types for scheduling and planning.

Instructions

List Indian public holidays for a given year and state (or "central" for national holidays). Returns date, day-of-week, name, occasion and type (Central/Federal/State/Gazetted/Optional). Use when a user asks "what holidays are there in 2025 for Maharashtra?" or "central holidays 2024".

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": {
      "year": "<year>",
      "state": "<state>"
    },
    "name": "holiday_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes4-digit year, e.g. "2025".
stateYesState name or "central". Available: central, Maharashtra, Karnataka, Tamil Nadu.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the return payload (date, day-of-week, name, occasion, type with the Central/Federal/State/Gazetted/Optional taxonomy), which is genuinely useful, but says nothing about failure modes for an unsupported state, whether results are cached, or that the call is a side-effect-free read.

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?

Three sentences ordered purpose-first, then return shape, then usage triggers; no filler. The two quoted example queries are slightly redundant with the usage clause but do earn their place by pinning down the "central" case.

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 two-parameter, read-only listing tool with no output schema, the description covers what the tool does, what it returns, and the canonical invocation scenarios. Only edge-case behavior for invalid input is unaddressed, which is minor at this complexity.

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% and both parameters are already documented with an example year and a list of available states. The description adds only a small clarification that "central" means national holidays, which is close to what the schema already states, so the 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?

The description gives a specific verb and resource ("List Indian public holidays") plus the scoping dimensions (year, state) and the shape of the returned fields. It is distinguishable in practice from search- or next-holiday siblings, though it never names them, so differentiation is only implicit.

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?

The "Use when a user asks ..." clause supplies concrete positive triggers, including the exact phrasing "central holidays 2024", which clarifies that national holidays go through this tool. There is no explicit when-not guidance or pointer to holiday_search / next_holiday for narrower or upcoming-holiday needs.

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

Deploy Server

Other Tools