Skip to main content
Glama
GusMesquita

brasilapi-mcp-server

by GusMesquita

get_holidays

Read-onlyIdempotent

Retrieve Brazilian national holidays for a specified year. Input a four-digit year to obtain the list of official holidays.

Instructions

List Brazilian national holidays for a given year.

Args: year: Four-digit year (e.g. 2026).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds the useful boundary that only Brazilian national holidays are returned and requires a four-digit year, going slightly beyond the structured hints.

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?

Two compact, front-loaded sentences plus an Args listing. Every sentence earns its place with no filler or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read-only tool with annotations and an output schema, this is complete. It covers input format, scope, and safety implications without missing anything critical.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only defines year as an integer, so the description's 'Four-digit year (e.g. 2026)' adds essential format and semantic meaning. It fully compensates for the 0% schema description coverage.

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 opening sentence names a precise verb and resource ('List Brazilian national holidays') and scopes it to a year. It is clearly distinct from sibling tools that look up CNPJ, CEP, or banks.

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?

The description gives clear invocation context: use this when you need Brazilian national holidays for a given year. It implies the exclusivity to national holidays, though it does not explicitly name alternative tools or negative cases.

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

Deploy Server

Other Tools