Skip to main content
Glama

Alomo: Lookups

US federal holidays and observances

us_federal_holidays
Read-onlyIdempotent

Lists US federal holidays for a year (5 U.S.C. 6103) with the date federal employees observe them when they fall on a weekend (OPM rule: Saturday → Friday, Sunday → Monday), plus common non-holiday observances (Mother's Day, daylight saving changes, Election Day and others). With a date, says whether it's a federal holiday (or observed one) and which is next. Computed from the statutory rules.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "us_federal_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional YYYY-MM-DD to check.
yearNoYear, 1971–2100 (default: the current year).
include_observancesNoInclude non-holiday observances (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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), so the description's job is added context, and it delivers: the OPM weekend-observance rule, the statutory basis, and the fact that non-holiday observances are mixed in by default. It doesn't describe the shape of the response (no output schema exists), which is the remaining gap.

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?

The listing mode is front-loaded and the checking mode follows, with every clause carrying information (statute, weekend rule, observances). The stacked parentheticals make it slightly denser than necessary but nothing is wasted.

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 three-parameter, all-optional, read-only tool, the description covers both operating modes, data sources, and the weekend-observance nuance. Only the return-value structure is unaddressed, and with no output schema that is a minor but real omission.

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 100%, so baseline is 3; the description earns an extra point by explaining what the 'date' parameter actually yields (holiday status plus the next upcoming holiday) rather than just restating that it is an optional date. The 'year' range and 'include_observances' default are left to the schema, which already documents them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('Lists US federal holidays for a year') and pins the scope to 5 U.S.C. 6103, then adds a distinct second mode ('With a date, says whether it's a federal holiday ... and which is next'). An agent can immediately tell this apart from calculation siblings such as business_days.

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 clearly maps the two calling modes: pass a year to list, pass a date to check a specific day. What it lacks is explicit routing guidance relative to alternatives (e.g. business_days for working-day math) or a statement of when not to use it.

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