Skip to main content
Glama

feriados_ddd_lookup

Check Brazilian national holidays, business-day status, and verify DDD area codes against state and municipalities for anti-fraud registration consistency. No API key required.

Instructions

Check Brazilian national holidays / business days or verify DDD area codes against state (UF) and municipalities via BrasilAPI. Use uf_esperada with tipo='ddd' for registration anti-fraud consistency checks. No API key required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tipo": "<tipo>"
    },
    "name": "feriados_ddd_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
anoNoYear (1900-2199) for national holidays
dddNo2-digit Brazilian area code (required when tipo='ddd')
dataNoISO date (YYYY-MM-DD) to check holiday, weekend, and business day status
tipoYesLookup type: 'feriados' or 'ddd'
uf_esperadaNoOptional 2-letter expected state UF for consistency verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose one real trait — 'No API key required' — and the read-only nature is strongly implied by 'Check'/'verify'. It says nothing about rate limits, error behavior when a DDD is unknown, or whether weekend/holiday flags are returned, so a good part of the burden is unmet.

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 sentences, no filler, with the core dual purpose front-loaded before the actionable anti-fraud tip and the auth note. The only slight looseness is the trailing 'No API key required', which reads as an afterthought rather than being woven into the operational guidance.

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

Completeness3/5

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

For a 5-parameter, two-mode tool with no output schema and no annotations, the description covers the 'what' and one 'how' but not the shape of results — an agent cannot tell whether 'feriados' returns a holiday list for a year or a boolean status for a date, nor what 'ddd' returns alongside the UF match. It is adequate but leaves meaningful gaps for a tool this flexible.

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 ano, ddd, data, tipo and uf_esperada, making 3 the baseline. The description adds a modest amount of meaning by pairing uf_esperada with tipo='ddd' as a consistency check, but it does not explain the ano-vs-data relationship or clarify what 'ddd' returns.

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 two concrete capabilities with specific resources: checking Brazilian national holidays/business days, and verifying DDD area codes against UF and municipalities via BrasilAPI. The verbs ('Check', 'verify') and the two modes map directly onto the tipo enum, so an agent understands the tool immediately. It doesn't need to differentiate from siblings, since none of the listed siblings touch holidays or DDDs.

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

Usage Guidelines3/5

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

One usage scenario is given explicitly: use uf_esperada with tipo='ddd' for registration anti-fraud consistency checks, which is genuinely helpful routing guidance. However, nothing is said about when to prefer the 'feriados' mode's variants (ano vs data), nor are there exclusions or prerequisites. Usage is implied for half the tool's surface rather than stated.

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