Skip to main content
Glama

inutilizar_nfe

Invalidate a range of unused NF-e numbers to correct numbering gaps. Specify issuer CNPJ/CPF, year, series, and range with justification.

Instructions

Inutiliza uma faixa de numeração de NF-e que não será utilizada (ex: falhas de sequência)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
anoYesAno da numeração (ex: 2026)
serieYesSérie da NF-e
ambienteNoAmbientehomologacao
cpf_cnpjYesCPF ou CNPJ do emitente
numero_finalYesNúmero final da faixa
justificativaYesMotivo da inutilização (mínimo 15 caracteres)
numero_inicialYesNúmero inicial da faixa
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing side effects. It says the tool 'inutiliza' a range, but does not mention that this is typically an irreversible, government-registered operation, nor does it explain prerequisites, permissions, or consequences. This is a significant gap for a write operation.

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 a single, focused sentence with an active verb and an illustrative example. It avoids fluff and front-loads the obvious action, making it easy to parse quickly.

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?

The description captures the core purpose and an example scenario, and the schema thoroughly details parameters. However, with no output schema and no annotations, it omits information about expected results, error conditions, or integration behavior with SEFAZ, leaving notable gaps for a tool with 7 parameters.

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?

The schema provides descriptions for all seven parameters (100% coverage), so the baseline is 3. The description's phrase 'faixa de numeração' loosely maps to numero_inicial and numero_final, but adds no additional semantic detail beyond what the schema already provides.

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 the action ('Inutiliza') and the resource ('faixa de numeração de NF-e'), with an explicit example ('falhas de sequência'). This distinguishes it from sibling tools like cancelar_nfe, which cancel individual issued invoices, whereas this invalidates an unused range of numbers.

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 provides a clear context for use: numbers that will not be used (e.g., sequence failures). It implies when to use the tool, but does not explicitly contrast with alternatives or state when not to use it, so it falls short of full exclusion guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rodrigo-do-carmo/mcp-nota-fiscal'

If you have feedback or need assistance with the MCP directory API, please join our Discord server