Skip to main content
Glama

Feriados por Cidade

feriados_por_cidade

Lista todos os feriados de uma cidade brasileira (feriados nacionais + estaduais + municipais). Use quando o usuário perguntar sobre feriados em uma cidade específica. Requer o código IBGE do município. Se não souber o código IBGE, use primeiro a tool 'buscar_municipios' para encontrá-lo. Exemplos de códigos IBGE: São Paulo = 3550308, Rio de Janeiro = 3304557, Belo Horizonte = 3106200, Brasília = 5300108.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anoNoAno com 4 dígitos (ex: 2026)
ibgeYesCódigo IBGE do município (ex: 3550308 para São Paulo). Use 'buscar_municipios' se não souber o código.
bancariosNoSe true, retorna apenas feriados bancários (calendário FEBRABAN)
facultativosNoSe true, inclui feriados facultativos

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It states the operation (lists holidays) and requires the IBGE code, but does not disclose return format, error handling, default behavior for optional parameters, or any limitations (e.g., valid years). It adds some context with examples but lacks richer behavioral details for a tool with no structured annotations.

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 concise and well-structured: a clear first sentence stating purpose, a usage trigger, a requirement note with an alternative tool, and concrete examples. Every sentence earns its place, with no fluff or repetition.

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?

The tool is a simple list operation with 4 parameters and no output schema. The description adequately covers the main purpose, usage context, and prerequisite (IBGE code). However, it does not describe the output structure or default behavior (e.g., year default), which would be helpful given the absence of an output schema, but this is a minor gap for a straightforward list 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 coverage is 100%, so the baseline is 3. The description adds value beyond the schema by providing concrete IBGE code examples for major cities and reiterating the need to use 'buscar_municipios' when the code is unknown. This reinforces the 'ibge' parameter semantics, though it does not add much for 'ano', 'bancarios', or 'facultativos'.

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 a specific verb and resource: 'Lista todos os feriados de uma cidade brasileira' (lists all holidays of a Brazilian city). It distinguishes this tool from siblings by specifying the scope (city-level, including national, state, and municipal holidays) and by providing usage context for city-specific queries.

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 explicitly says when to use this tool: 'Use quando o usuário perguntar sobre feriados em uma cidade específica.' It also gives a clear alternative workflow: if the IBGE code is unknown, use 'buscar_municipios' first. However, it does not explicitly contrast with sibling tools like 'feriados_nacionais' or 'feriados_por_estado', so it lacks a full when-not 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