Skip to main content
Glama
nota-fiscal-mcp

nota-fiscal-mcp

by FAVIOSENGER

emitir_nfse

Issues a Brazilian electronic service invoice (NFS-e) from a unique reference and provider-format fiscal data; processing is asynchronous, so query status using the same reference.

Instructions

Emite uma Nota Fiscal de Servico eletronica (NFS-e). Informe uma 'ref' unica para identificar a nota (ex.: numero do pedido) e o objeto 'dados' com o conteudo fiscal no formato do provedor. A emissao e assincrona: use consultar_nfse com a mesma ref para acompanhar o processamento.

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_nfse"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesIdentificador unico que voce escolhe para a nota (ex.: 'pedido-1023').
dadosYesObjeto com os dados fiscais da NFS-e no formato do provedor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/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 burden. It usefully discloses the key behavioral trait — asynchronous emission — but omits idempotency/duplicate-ref behavior, permission requirements, what is returned on success, and how validation failures surface.

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?

Three short sentences with no waste: purpose first, then the two required inputs, then the asynchronous follow-up. Every sentence carries information an agent needs before calling.

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 async workflow is covered, which is the most important missing piece for a fire-and-poll tool. But for a mutation with a free-form nested 'dados' object, no output schema, and no annotations, the description says nothing about the payload shape, return value, or failure modes.

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 both parameters, and the description largely restates them (a unique ref such as an order number, a dados object). It adds the notion that dados must follow 'o formato do provedor' but gives no hint about that format for a nested, free-form object.

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?

States a specific verb and resource ('Emite uma Nota Fiscal de Servico eletronica (NFS-e)'), which separates it from the NFe siblings that deal with goods invoices. It also names consultar_nfse for follow-up, though it never explicitly contrasts itself with emitir_nfe.

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?

Gives a clear operating context: emission is asynchronous and must be followed up with consultar_nfse using the same ref. There is no explicit when-not guidance or prerequisite (e.g., credentials, required fiscal fields) beyond that workflow.

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