Skip to main content
Glama

Feriados de Uruguay y días hábiles

feriados
Read-onlyIdempotent

Calculates Uruguay’s national holidays and business days from statutory rules offline: provide a year for holiday dates, types, and observed days, or a date range for working days by holiday definition.

Instructions

Feriados nacionales de Uruguay calculados desde la ley, sin red. Con anio: los del año, con su tipo (pago o laborable) y el día al que se trasladan. Con desde y hasta (AAAA-MM-DD): los días hábiles del rango con dos definiciones (sin ningún feriado, sin feriados pagos).

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

Input Schema

NameRequiredDescriptionDefault
anioNo
desdeNo
hastaNo

Output Schema

NameRequiredDescriptionDefault
anioYes
notaYes
desdeYes
hastaYes
fuenteYes
feriadosYes
dias_habilesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorldHint=false; the description reinforces this by stating results are computed from the law with no network access. It also discloses non-obvious output semantics — holiday type (pago vs laborable) and the shifted day — plus the fact that business days are reported under two competing definitions. No rate limits or auth needs are discussed, but none appear relevant.

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?

Three compact sentences, no filler, and the key scoping fact (computed from law, offline) is front-loaded before the two parameter-driven modes. Every clause conveys information an agent needs.

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?

An output schema exists, so return-value details need not be spelled out, and all three optional parameters are given meaning. The only omissions are edge behaviour — what happens with no arguments, or when `anio` and the date range are combined — which are minor for a read-only lookup tool.

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 description coverage is 0%, so the description must carry the load, and it largely does: it maps `anio` to a year's holiday list and gives the AAAA-MM-DD format for `desde`/`hasta` along with their meaning. It does not state how the two modes interact when both are supplied, nor what the empty/null defaults do, leaving a small but real gap.

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 resource (feriados nacionales de Uruguay) and a specific computation source (calculados desde la ley, sin red), then splits the tool into two clearly labelled modes keyed on parameters. An agent can immediately tell what the tool returns in each case, and it is distinct from every sibling listed.

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?

Effectively explains which parameters select which mode: `anio` for a year's holidays with type and observed date, `desde`/`hasta` for business-day counts over a range. There is no explicit when-not guidance or mention of alternatives, but the mode routing is explicit and sufficient for selection.

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