Skip to main content
Glama

Arquivix Notas · NFS-e

import_get

Read-onlyIdempotent

Status and counters of an import: processing, ready (to review), emitting, done or failed. Counters: total, valid, invalid, accepted, authorized, awaiting_credits (turned away for lack of credits, not errors), failed, pending, and valid_amount in BRL. While processing, rows_expected tells how many rows the file has.

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

Input Schema

NameRequiredDescriptionDefault
import_idYesUUID of the import

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?

Annotations already cover read-only, idempotent, non-destructive, closed-world, so the safety profile is settled. The description then adds meaningful domain behavior: the state machine, the distinction that awaiting_credits is not an error, and that rows_expected only appears during processing. Polling cadence and permissions are not mentioned, keeping it just short of a 5.

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 dense sentences with zero filler: states first, then counter meanings, then a conditional caveat about rows_expected. Nothing is repeated and the most useful clarifications (awaiting_credits is not an error) are called out inline.

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, so the description carries the burden of explaining return values, and it does: enumerating statuses, all counters, the currency of valid_amount, and the processing-only field. There is nothing essential an agent would need to call and interpret this tool that 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?

There is a single parameter (import_id) with 100% schema description coverage, so the schema fully documents it. The description adds no parameter-specific detail, but none is needed; a strong baseline is warranted.

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 names the resource (an import) and precisely what is returned: status plus counters, along with the enumerated lifecycle states (processing, ready, emitting, done, failed). It does not explicitly distinguish itself from siblings like import_rows or import_list, which is the only gap.

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 rather than stated — reading status/counters suggests polling or reviewing an import, and the note about rows_expected hints at progress checks. There is no explicit when-to-use versus import_list/import_rows guidance or any exclusion.

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