Skip to main content
Glama

next_holiday

Return the next public holidays for a specified Indian state or central jurisdiction, defaulting to five, to answer queries about upcoming holidays.

Instructions

Return the upcoming N holidays (from today) for a given state. Defaults to the next 5. Use when a user asks "what are the next holidays in Tamil Nadu?" or "upcoming central 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": {
      "state": "<state>"
    },
    "name": "next_holiday"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many upcoming holidays to return (default 5).
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 at all, the description carries the full disclosure burden. It usefully reveals that the window starts 'from today' and that the count defaults to 5, but it says nothing about ordering, calendar basis, or what a returned holiday record contains. That is meaningful context but leaves a read-only tool's output behavior largely unspecified.

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?

Two tight sentences with the action and default front-loaded, followed by routing examples. Nothing is wasted, though the 'Defaults to the next 5' statement partially duplicates the count parameter's own documentation.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with a fully described schema, most of what an agent needs is present. However, with no output schema, the description should say what a holiday entry looks like (name, date, type); that gap is the main shortfall.

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%, so both parameters are already documented in the input schema, including the default of 5 and the available state values. The description restates rather than extends this — no format rules, casing, or behavior for a count larger than the available holidays.

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 a specific verb and resource ('Return the upcoming N holidays'), plus scope ('from today', 'for a given state') and the default of 5. It does not name or explicitly contrast with the siblings holiday_list and holiday_search, so the agent must infer the distinction from the example queries rather than a direct statement.

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 description gives concrete trigger phrasing — 'what are the next holidays in Tamil Nadu?' and 'upcoming central holidays' — which tells the agent the query shape this tool serves. It stops short of exclusions or naming alternatives, so it is clear context but not full when/when-not guidance.

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