Skip to main content
Glama

Public holidays

pz_holidays
Read-onlyIdempotent

Retrieve official Iranian public holidays and occasions between two Gregorian dates, including Persian names and Hijri dates; Fridays are excluded.

Instructions

Official Iranian public holidays and occasions between two dates (Persian name, Hijri date).

Fridays are not listed.

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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "pz_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toYesGregorian YYYY-MM-DD, max a year after date_from.
date_fromYesGregorian YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / date_from / description
      Previous value: -"First day, Gregorian YYYY-MM-DD, e.g. '2026-10-01'."New value: +"Gregorian YYYY-MM-DD."
    • changedInput schema / properties / date_to / description
      Previous value: -"Last day, Gregorian YYYY-MM-DD, at most a year later, e.g. '2026-12-31'."New value: +"Gregorian YYYY-MM-DD, max a year after date_from."
  2. Changed4 schema fields changedv0.3.0
    • removedInput schema / properties / date_from / title
      Removed value: -"Date From"
    • removedInput schema / properties / date_to / title
      Removed value: -"Date To"
    • removedInput schema / title
      Removed value: -"pz_holidaysArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "pz_holidaysDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the lower bar applies, and the description adds two genuinely useful facts: what comes back (Persian name plus Hijri date) and the non-obvious exclusion of Fridays. It stops short of saying whether 'occasions' are official days off or mere observances, which affects interpretation of results.

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 short sentences, front-loaded with the resource and scope, and the Friday caveat isolated on its own line for emphasis. Nothing is wasted.

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?

With no output schema, the description does at least identify the returned fields, which is the main thing an agent needs. However, the ambiguous term 'occasions', the unspecified sort order, and the lack of any hint about result volume or edge behavior (empty ranges, weekend handling beyond Fridays) leave gaps for a calendar lookup tool.

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 document Gregorian YYYY-MM-DD format and the one-year maximum span, so the schema carries the semantics. The description only adds 'between two dates' and introduces no format or boundary conventions of its own.

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 names a specific resource and scope: official Iranian public holidays within a date range, plus the shape of the returned data (Persian name, Hijri date). It does not differentiate itself from sibling pz_free_days, which plausibly covers non-working days, so the agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no mention of alternatives, despite pz_free_days being a near-neighbor tool. The only constraint offered is the negative one that Fridays are excluded, which is a data trait rather than usage guidance.

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