Skip to main content
Glama

Holidays and weekdays

ot_holidays
Read-onlyIdempotent

List Iranian public holidays, including Fridays, for a date range with Jalali dates and weekdays; plan around confirmed holidays, but treat dates beyond roughly seven weeks as unknown.

Instructions

List Iranian public holidays (Fridays included) in a date range, with Jalali dates and weekdays.

Flags are filled only about 7 weeks ahead: later days with no holidays mean unknown, not working days.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "ot_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesLast day, inclusive (max a year after start).
startYesFirst day YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • changedInput schema / properties / end / description
      Previous value: -"Last day (inclusive), e.g. '2026-12-31'; max a year after start."New value: +"Last day, inclusive (max a year after start)."
    • changedInput schema / properties / start / description
      Previous value: -"First day YYYY-MM-DD, e.g. '2026-10-20'."New value: +"First day YYYY-MM-DD."
  2. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / end / description
      Previous value: -"Last day (inclusive), e.g. '2026-12-31'. At most a year after start."New value: +"Last day (inclusive), e.g. '2026-12-31'; max a year after start."
    • removedInput schema / properties / end / title
      Removed value: -"End"
    • changedInput schema / properties / start / description
      Previous value: -"First day, Gregorian YYYY-MM-DD, e.g. '2026-10-20'."New value: +"First day YYYY-MM-DD, e.g. '2026-10-20'."
    • removedInput schema / properties / start / title
      Removed value: -"Start"
    • removedInput schema / title
      Removed value: -"ot_holidaysArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ot_holidaysDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower, and the description still adds a material behavioral caveat about data freshness and the risk of misreading empty results. That caveat is valuable beyond the structured metadata. It loses a point because the term 'Flags' is never defined, leaving the agent unsure which output field the caveat applies to.

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 core capability front-loaded and the freshness caveat second, which is the right priority order. Every sentence earns its place, but the undefined 'Flags' reference makes the second sentence less effective than its length suggests.

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?

There is no output schema, so the description carries the burden of describing returns, and it does name Jalali dates, weekday names, and flags. For a simple two-parameter read-only tool this is nearly sufficient, but the undefined 'Flags' field leaves a real gap in what the caller can expect back.

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 description coverage is 100%, so both parameters (start, end) are already documented in the schema, including the one-year maximum span. The description only restates that a date range is required and adds no format, boundary, or edge-case detail beyond the schema, which fits the baseline of 3.

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 verb and resource ('List Iranian public holidays') plus the scope ('in a date range') and the returned content ('Jalali dates and weekdays'). It is unambiguous, though it does not explicitly contrast itself with any sibling tool (none of the siblings are holiday-related, so differentiation is implicit rather than stated).

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 clear context for invocation: supply a date range, and note that Fridays are included as holidays. The additional warning that flags are only populated about seven weeks ahead, so blank later days mean 'unknown' rather than 'working day', is genuine usage guidance for interpreting results. It stops short of explicit when-not-to-use or alternative routing, so it is not a 5.

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