Skip to main content
Glama

Arquivix Notas · NFS-e

nfse_list

Read-onlyIdempotent

List NFS-e invoices for the tenant with optional status and origin filters and cursor pagination. With type "nfe" it lists NF-e, with type "nfce" NFC-e; with type "all", NFS-e, NF-e and NFC-e together (newest first); they take only the status, company_id, external_id, limit and cursor filters. To find a note by your own reference (the external_id you sent when issuing) pass external_id: exact match, any type, and it is not unique, so more than one note can come back.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nfse_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoKind of invoice: "nfse" (default), "nfe" (goods), "nfce" (consumer sale) or "all" (NFS-e, NF-e and NFC-e together, newest first). With "nfe", "nfce" or "all" only status, company_id, external_id, limit and cursor filters apply.nfse
limitNoItens por página, de 1 a 1000.
cursorNoPagination cursor from previous response
originNoFilter by where the invoice came from (dashboard, api, integration, schedule, import): dashboard = issued in the web app, integration = a sale from a connected payment platform, schedule, import, api = sent by a client or AI agent
statusNoFilter by status (queued, processing, authorized, rejected, retry_pending, reconciliation_required, manual_review, failed, cancelling, cancelled)
company_idNoOnly this company (UUID). Only with type "nfe", "nfce" or "all".
external_idNoYour own reference of the note (the external_id sent when issuing), exact match. Works for NFS-e, NF-e, NFC-e and "all". Not unique: it can return more than one note.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds genuine value with the ordering rule ("newest first" for type all) and the warning that external_id is not unique and can return multiple notes. It does not cover pagination exhaustion or response shape, so it goes modestly beyond the annotations rather than substantially.

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?

Two sentences, front-loaded with the core action, with no filler or marketing language. The second sentence is dense and the pronoun "they" for nfe/nfce/all requires a re-read, which keeps it from a 5.

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 a read-only list tool with full schema coverage and a complete annotation set, the description covers scope, filter applicability and the one surprising behavior (non-unique external_id). Without an output schema, a brief note on what the cursor/limit pair yields in the response would have closed the remaining gap.

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 the four enumerated types, the origin values, the status list and the external_id caveat are all already in the schema. The prose mostly restates those descriptions; it does not add format, default or interaction details beyond them. Baseline 3 applies when the schema carries the weight.

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 opening sentence gives a clear verb and resource ("List NFS-e invoices for the tenant") plus the scoping dimension (status/origin filters, cursor pagination), and the type branching clarifies that the tool spans NF-e and NFC-e too. It never names a sibling such as nfse_get or nfse_query, so the reader must infer the boundary between listing and retrieving a single note.

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?

It gives concrete usage direction: use external_id when looking a note up by your own reference, and it states the constraint that nfe/nfce/all accept only status, company_id, external_id, limit and cursor. What's missing is any routing to alternatives — nothing tells the agent to use nfse_get when it already holds a note id, or nfse_query for richer filtering.

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