Skip to main content
Glama

public_holidays

Portugal's public holidays for a year (default: this year), with weekday.

Always lists the national holidays. Pass municipality (a concelho, e.g. "Braga", "Lisboa", "Funchal") to add its own municipal holiday and, in the Azores or Madeira, the regional ones: that answers "is tomorrow a holiday in Braga?". Carnival is listed as optional: it is usually a day off by government decision, not by law.

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": "public_holidays"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo
municipalityNo
upcoming_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / municipality
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Municipality"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden but discloses useful behavior: default year is the current one, national holidays are always included, municipality adds municipal and island-regional holidays, and Carnival is flagged as optional-by-decision rather than law. It says nothing about the `upcoming_only` flag's effect, caching/rate limits, or data freshness.

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?

Front-loads the core purpose in the first sentence, then layers the municipality behavior and a caveat about Carnival. The Carnival sentence is marginally tangential but earns its place by preventing a common misreading.

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?

An output schema exists, so return format needn't be described, and the core listing behavior is covered. However, for a three-parameter tool with zero schema descriptions and no annotations, the unexplained `upcoming_only` parameter is a real completeness gap.

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 0%, so the description must compensate. It does well for `year` (defaults to this year) and `municipality` (a concelho, with examples like Braga, Lisboa, Funchal) but leaves `upcoming_only` completely unexplained, so one of three parameters remains opaque.

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?

States a specific verb and resource ("Portugal's public holidays for a year") plus the returned attribute (weekday), so an agent knows exactly what it retrieves. It also distinguishes scope from the sibling "municipality" tool by explaining that this one lists national holidays rather than municipal data.

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?

Gives explicit conditional guidance: pass `municipality` to add a municipal/regional holiday and answers the concrete query "is tomorrow a holiday in Braga?". It does not state when to avoid this tool or route to an alternative for non-holiday date questions, but the usage context is clear.

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.