Skip to main content
Glama
DeHor-Labs

mcp-fiscal-brasil

by DeHor-Labs

manifestar_nfe

Manifest recipient in Brazilian NF-e by sending event (ciência, confirmação, desconhecimento, or operação não realizada) using local digital certificate. Required for accessing complete NF-e XML.

Instructions

Manifesta o destinatario em uma NF-e via NFeRecepcaoEvento. REQUER certificado digital A1 (.pfx/.p12) do proprio usuario instalado localmente. O certificado NUNCA e enviado a nenhum servidor - a assinatura e feita localmente. Eventos: 210200 (Ciencia), 210210 (Confirmacao), 210220 (Desconhecimento), 210240 (Operacao nao Realizada, requer justificativa). A Ciencia (210200) e prerequisito obrigatorio para obter o XML completo da NF-e.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chaveYesChave de acesso de 44 digitos da NF-e.
tipo_eventoYesCodigo do evento ("210200", "210210", "210220" ou "210240").
caminho_certificadoYesCaminho absoluto para o arquivo .pfx/.p12.
senhaYesSenha do certificado A1. Nunca logada ou incluida em excecoes.
cnpj_cpfYesCNPJ (14 dig) ou CPF (11 dig) do destinatario.
ufNoUF do autor. Default "91" = AN (Ambiente Nacional) para manifestacao.91
numero_sequenciaNoNumero sequencial do evento para esta chave (1 a 20).
justificativaNoObrigatoria para evento 210240 (minimo 15 caracteres).
ambienteNo"producao" ou "homologacao".producao
timeoutNoTimeout HTTP em segundos (default 30.0).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses critical security behavior: the certificate is never sent to any server and the password is never logged. It also lists event types with requirements. Some server-side behavior is implied but not detailed.

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?

The description is somewhat long but well-structured, with clear formatting for event codes. It is front-loaded with the main action and includes important details like certificate handling and password security.

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?

Given the tool's complexity (10 parameters, output schema exists), the description covers key behavioral aspects, security, prerequisites, and event types. It could include more detail on server-side processing but is generally complete.

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 coverage is 100%, so the schema already documents parameters. The description adds value by clarifying the event codes and their meanings, but does not significantly enhance parameter semantics beyond what the schema 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 tool's purpose: 'Manifesta o destinatario em uma NF-e via NFeRecepcaoEvento.' It lists specific event codes, distinguishing it from sibling tools like consultar_nfe or baixar_nfe_distribuicao.

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 explicitly requires a local A1 digital certificate and explains that the 'Ciencia' event is a prerequisite for obtaining the full XML. It provides context but does not explicitly mention when not to use this tool or suggest alternatives.

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/DeHor-Labs/mcp-fiscal-brasil'

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