Skip to main content
Glama

Feriados e pontos facultativos

catalogo_feriados
Read-onlyIdempotent

Retrieve national, state, and municipal holidays and optional holiday points for PJe-Calc calculations, filtered by type, UF, municipality, or name, so calculations use correct non-working days.

Instructions

Feriados (tipo F) e pontos facultativos (tipo P) do PJe-Calc: nacionais (abrangência F), estaduais (E) e municipais (M). Pontos facultativos são marcados no cálculo pelo nome em calculo.pontosFacultativos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufNoSigla da UF dos feriados estaduais e municipais.
tipoNoF feriado, P ponto facultativo.
filtroNoParte do nome.
municipioNoNome do município (filtra os municipais).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.16.0-mcp.14
    • addedInput schema / properties / uf / description
      Added value: +"Sigla da UF dos feriados estaduais e municipais."
  2. First observedv2.16.0-mcp.13

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds that this is static PJe-Calc catalog data tied to calculo.pontosFacultativos, but says nothing about return format, ordering, or pagination. Adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with no filler, and the core resource definition is front-loaded before the ancillary note about calculo.pontosFacultativos. Efficient for the amount of information conveyed.

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 read-only catalog lookup with no output schema and fully documented parameters, the description explains what data comes back and how it relates to the calculation. Only the return shape and filtering behavior are left implicit, which is a minor gap.

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 the schema already documents uf, tipo, filtro and municipio, establishing the baseline of 3. The description restates the tipo F/P meaning and adds the F/E/M abrangência taxonomy, which actually refers to holiday records rather than a parameter and omits the schema's third enum value 'B'. Marginal added value.

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?

The description names the exact resource (feriados tipo F and pontos facultativos tipo P from PJe-Calc) and its scope (national/state/municipal). An agent can tell it apart from sibling catalogs like catalogo_municipios or catalogo_verbas. It never states an explicit verb such as 'list/retrieve', but the catalog nature is clear.

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

Usage Guidelines2/5

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

No guidance on when to call this versus sibling catalogs, and no prerequisites. The only contextual hint is that pontos facultativos are marked in the calculation by name in calculo.pontosFacultativos, which describes downstream use rather than when to invoke this tool.

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