Skip to main content
Glama

Arquivix Notas · NFS-e

nfe_inutilize

DestructiveIdempotent

Inutilize a range of NF-e (model 55, default) or NFC-e (model 65) numbers that will never be used (for example skipped numbers). It cannot be undone. At most 1000 numbers per request, and the range may not start more than 1000 numbers after the last number used. Justification of 15 to 255 characters. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs.

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": {
      "company_id": "<company_id>",
      "series": "<series>",
      "start": "<start>",
      "end": "<end>",
      "justification": "<justification>"
    },
    "name": "nfe_inutilize"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesÚltimo número da faixa; igual a start para um número só.
modelNo55 for NF-e (default), 65 for NFC-e.
startYesPrimeiro número da faixa.
seriesYesSérie da faixa a inutilizar, de 0 a 999.
confirmNotrue runs the action. Without it nothing changes and only a preview is returned.
company_idYesUUID of the issuing company
justificationYesMotivo da inutilização, de 15 a 255 caracteres.
idempotency_keyNoRepeat the same key to avoid doing it twice.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

The annotations already flag destructive=true, idempotent=true, openWorld=true and readOnly=false, so the safety profile is largely covered. The description still adds real value beyond them: irreversibility ('It cannot be undone'), the 1000-number batch ceiling, the window constraint relative to the last used number, and the crucial preview-vs-execute split tied to confirm. It stops short of describing authorization requirements or what the preview payload contains.

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?

Sentences are short, front-loaded with purpose, then limits, then the confirm behavior, which is exactly the order an agent needs to decide and act. Every clause carries a constraint or behavioral fact; there is no filler or restatement of the tool name.

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

Completeness5/5

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

For a destructive, parameterized mutation with no output schema, the description covers the essentials: what it destroys, that it is irreversible, the batch limits, the justification length, and the dry-run default. The only minor omission is how errors or partial failures are surfaced, which is low-stakes for a single-call operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds business rules the schema cannot express: the 1000-number cap on start/end and the constraint that the range may not begin more than 1000 numbers past the last used number. It also reinforces the model default (55) and the confirm gate semantics, though idempotency_key and series are left entirely to the schema.

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 opens with a specific verb and resource ('Inutilize a range of NF-e ... or NFC-e ... numbers') and clarifies the business meaning ('numbers that will never be used, for example skipped numbers'). It is unambiguous on its own, but it never names or contrasts a sibling such as nfe_number_gaps, which is the natural companion for locating the gaps being inutilized.

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?

Usage is implied through the 'skipped numbers' example and the hard limits (max 1000 numbers, range may not start more than 1000 after the last used number), which tell the agent when a request is invalid. However, there is no explicit when-to-use versus when-not guidance, no pointer to the sibling that finds gaps, and no stated prerequisites such as company/certificate readiness.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources