Skip to main content
Glama
nota-fiscal-mcp

nota-fiscal-mcp

by FAVIOSENGER

emitir_nfe

Issues a Brazilian NF-e product invoice (model 55) asynchronously; use the same ref with consultar_nfe to retrieve the result and download links.

Instructions

Emite uma Nota Fiscal eletronica de produto (NF-e, modelo 55). Fluxo assincrono: use consultar_nfe com a mesma ref para obter o resultado e os downloads.

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": {
      "ref": "<ref>",
      "dados": "<dados>"
    },
    "name": "emitir_nfe"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesIdentificador unico da nota (ex.: 'venda-5567').
dadosYesObjeto com os dados fiscais da NF-e no formato do provedor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does disclose the most important trait: the flow is asynchronous and returns no immediate result, with consultar_nfe as the retrieval path. It says nothing about whether ref is idempotent, whether a successful emission is irreversible, permission/authentication requirements, or failure behavior.

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 sentences with zero filler; the operation and fiscal model come first, followed immediately by the asynchronous retrieval instruction. Nothing redundant.

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 an async emission tool with no output schema, the definition covers what an agent most needs: that results are not returned here and how to fetch them. Remaining gaps — idempotency of ref, error handling, irreversibility of emission — are meaningful for a fiscal write operation but secondary.

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 both 'ref' and 'dados' are already documented in the schema. The description adds only that the same 'ref' is the key used later with consultar_nfe, a useful link but no further detail on the provider-specific payload format.

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?

States a specific verb and resource — 'Emite uma Nota Fiscal eletronica de produto (NF-e, modelo 55)' — including the fiscal model number, which separates it from the NFSe siblings. An agent can tell this is product-invoice issuance without opening any schema.

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?

Explicitly describes the follow-up path: this call is asynchronous, so use 'consultar_nfe com a mesma ref' to obtain the result and downloads. That is clear routing guidance. It stops short of stating exclusions (e.g., when to prefer emitir_nfse instead) or preconditions, so it is strong but not complete.

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