Skip to main content
Glama

Buscar Municípios

buscar_municipios

Busca municípios brasileiros por estado. Retorna nome, UF e código IBGE de cada município. Use esta tool para descobrir o código IBGE de uma cidade antes de consultar feriados municipais com 'feriados_por_cidade'. Pode filtrar por UF para listar apenas municípios de um estado. O Brasil possui mais de 5.500 municípios; use o filtro de UF para resultados mais precisos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufNoSigla do estado para filtrar (ex: SP, RJ). Se omitido, retorna todos os municípios paginados.
pageNoNúmero da página (default: 1)
limitNoItens por página (default: 50, max: 100)

TDQS

A4.6/5.0
Behavior4/5

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

Não há annotations, então a descrição assume o papel de transparência. Ela detalha o que é retornado, a possibilidade de filtro por UF e o alerta sobre mais de 5.500 municípios. Não menciona paginação explicitamente, mas o schema cobre esse aspecto.

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?

Quatro frases objetivas, com a informação principal no início e sem redundâncias. Cada frase contribui com um aspecto relevante: o que faz, o que retorna, quando usar e como usar eficientemente.

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?

Não há output schema, mas a descrição informa os campos retornados e o caso de uso. A paginação e limites estão cobertos pelo input schema, o que torna a ferramenta suficientemente completa para uma listagem simples.

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?

O schema cobre 100% dos parâmetros, então a baseline é 3. A descrição adiciona valor além do schema ao contextualizar o filtro por UF como forma de obter resultados mais precisos e ao conectar a ferramenta ao fluxo de feriados municipais.

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?

A descrição usa verbo específico ('Busca') e recurso claro ('municípios brasileiros por estado'), informando o retorno (nome, UF, código IBGE). Isso a diferencia dos tools irmãos focados em feriados e estados.

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?

Orienta explicitamente quando usar: para descobrir o código IBGE antes de consultar 'feriados_por_cidade'. Também recomenda filtrar por UF devido ao grande volume de municípios, indicando uma alternativa prática e melhorando a precisão.

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