Skip to main content
Glama

Arquivix Notas · NFS-e

import_emit

DestructiveIdempotent

Issue every valid row of the import, in chunks. Idempotent: running it again sends only the rows not sent yet. If credits run out, rows are left awaiting_credits and go out on a later run after a top-up. Progress shows in the import status. Issuing many notes cannot be undone. Without confirm: true it changes nothing and returns a preview; with confirm: true it runs. The preview shows the rows to issue, the total amount, the companies and whether e-mails go out (they do not through this tool).

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": {
      "import_id": "<import_id>"
    },
    "name": "import_emit"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue runs the action. Without it nothing changes and only a preview is returned.
import_idYesUUID of the import

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructive, idempotent, and open-world, and the description adds substantive context on top: chunked issuance, only unsent rows on re-run, the awaiting_credits state when credits run out, progress visible in import status, and that e-mails are not sent by this tool. The 'cannot be undone' warning is consistent with destructiveHint=true.

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?

Front-loaded with the core action, then constraints, then the confirm contract. It is dense but each sentence carries a distinct fact; the confirm sentence slightly overlaps the schema's own description of that parameter.

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?

No output schema exists, and the description covers what the agent gets back (a preview of rows, amount, companies, e-mail flag) and where to track progress. For a destructive, credit-consuming operation with only two parameters, nothing material is missing.

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 meaning beyond the schema by describing what the preview contains (rows, total amount, companies, e-mail behavior) rather than just repeating that confirm gates execution. import_id semantics are left entirely to the schema, which is acceptable given full coverage.

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 ('Issue every valid row of the import') plus the batching scope ('in chunks'), which immediately separates it from read-only siblings like import_rows or import_get. An agent knows what this does without opening the 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?

Explains the confirm/no-confirm decision clearly (preview vs. run) and gives the repeat-run case via idempotency. It does not explicitly name when to prefer a sibling (e.g., import_fix_row before issuing invalid rows), so it stops short of full alternative routing.

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