Skip to main content
Glama

Feriados do ano

feriados
Read-onlyIdempotent

Retrieve Brazilian national holidays for a given year and, when a state code is supplied, that state's holidays too. Use it to plan dates and deadlines around public holidays.

Instructions

Lista os feriados nacionais de um ano e, se informada a UF, também os estaduais. Feriados municipais não estão incluídos.

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
ufNoSigla do estado (ex.: RS). Com ela entram também os feriados estaduais.
anoNoAno com 4 dígitos. Se omitido, o ano corrente.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond them: municipal holidays are not included, which prevents an agent from assuming complete coverage. It does not address result ordering, volume, or error behavior.

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?

A single sentence split into two clauses, with the core purpose front-loaded and the scope exclusion trailing. Every clause carries information; nothing is redundant or padded.

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 simple, side-effect-free holiday lookup with two optional parameters, fully described schema, and full annotations, this is nearly complete. The only minor gap is that the response shape (e.g., whether dates and holiday names are returned together) is not hinted at, and no output schema exists to cover it.

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 (uf with its enum, ano with 1900-2199 bounds and current-year default) are already documented. The description only echoes the UF effect already stated in the schema, adding no format or edge-case detail; baseline 3 applies.

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?

States a concrete verb and resource ('Lista os feriados nacionais de um ano') plus the conditional scope extension (state holidays when UF is given) and an explicit exclusion (municipal holidays). The scope is fully unambiguous, though no sibling tool such as dias_uteis is named to sharpen the distinction.

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

Usage Guidelines3/5

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

Usage is implied by the conditional phrasing 'se informada a UF', which tells the agent that omitting UF narrows results to national holidays, and the exclusion of municipal holidays sets a negative boundary. However, there is no explicit guidance on when to pick this over dias_uteis (business-day calculations) or other siblings.

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