Skip to main content
Glama

Buscar Feriados

buscar_feriados

Busca feriados brasileiros com filtros flexíveis. Use esta tool para consultas gerais quando precisar filtrar por múltiplos critérios ao mesmo tempo. Pode filtrar por data, tipo (NACIONAL/ESTADUAL/MUNICIPAL/FACULTATIVO), estado (UF), cidade (código IBGE), ano e mês. Para buscas mais específicas, prefira usar as tools especializadas (feriados_nacionais, feriados_por_estado, etc.). Retorna lista paginada de feriados com nome, data (DD/MM/YYYY), tipo, descrição e indicador bancário (FEBRABAN).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufNoSigla do estado em maiúsculas (ex: SP, RJ, MG)
anoNoAno com 4 dígitos (ex: 2026)
dateNoData no formato YYYY-MM-DD (ex: 2026-12-25)
ibgeNoCódigo IBGE do município (ex: 3550308 para São Paulo)
typeNoTipo do feriado
monthNoMês de 1 a 12 (requer que 'ano' também seja informado)
bancariosNoSe true, retorna apenas feriados bancários (calendário FEBRABAN)

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds valuable context by stating the return format: 'Retorna lista paginada de feriados com nome, data (DD/MM/YYYY), tipo, descrição e indicador bancário (FEBRABAN)' (returns paginated list of holidays with name, date, type, description, and FEBRABAN bank indicator). However, it does not disclose potential error behavior, auth requirements, or the mechanics of pagination (e.g., page parameters). Still, it goes beyond the schema by revealing the output structure.

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?

The description is compact and front-loaded, leading with the core purpose in the first sentence. It avoids restating the schema in full, instead providing a high-level overview and then directing users to specialized tools. Every sentence earns its place, and the length is ideal for a query tool with multiple filters.

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?

Given the tool has 7 parameters, no required fields, and no output schema, the description provides a solid overview of both input and output. It explains the return fields (name, date, type, description, FEBRABAN indicator), pagination, and where it fits relative to sibling tools. It lacks explicit mention of pagination controls or common error conditions, but for a general-purpose search tool, it covers the essential context needed for an AI agent to select and invoke it correctly.

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?

The schema description coverage is 100%, so the baseline is 3. The description adds a small amount of value by summarizing filterable attributes ('Pode filtrar por data, tipo, estado (UF), cidade (código IBGE), ano e mês'), which helps users parse which parameters are relevant. However, it does not add meaning beyond the schema's already-detailed property descriptions, such as the relationship between month and ano (which is already in the schema). Therefore, a 3 is appropriate.

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 clearly states the tool's purpose: 'Busca feriados brasileiros com filtros flexíveis' (searches Brazilian holidays with flexible filters). It also explicitly distinguishes itself from specialized siblings by noting that for more specific searches, specialized tools like feriados_nacionais and feriados_por_estado should be preferred. This prevents ambiguity.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool: 'Use esta tool para consultas gerais quando precisar filtrar por múltiplos critérios ao mesmo tempo' (use for general queries when filtering by multiple criteria at once). It also provides clear alternatives: 'Para buscas mais específicas, prefira usar as tools especializadas' (for more specific searches, prefer the specialized tools). This contrasts with sibling tools and offers actionable guidance.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with no ambiguity. For example, 'buscar_feriados' is for general searches with multiple filters, while 'feriados_nacionais' and 'feriados_por_estado' target specific scopes, and 'verificar_data' checks a single date. The descriptions explicitly guide when to use each tool, preventing misselection.

Naming Consistency5/5

Tool names follow a consistent verb_noun pattern in Portuguese, such as 'buscar_feriados', 'listar_estados', and 'verificar_data'. All names use snake_case and descriptive verbs like 'buscar', 'listar', and 'verificar', making the set predictable and readable.

Tool Count5/5

With 9 tools, the count is well-scoped for the domain of Brazilian holidays. Each tool serves a specific function, from general searches to specialized checks and utility functions like listing states or municipalities, ensuring no tool feels redundant or missing for the server's purpose.

Completeness5/5

The tool set provides complete coverage for querying Brazilian holidays, including general searches, filters by type, location, and date, as well as utility tools for municipalities and states. It supports full workflows, such as finding IBGE codes before checking city holidays, and includes specialized checks for banking days, leaving no obvious gaps.

Resources