Skip to main content
Glama

hivecloud_nfe_info

Read-onlyIdempotent

Consulta os dados de uma NF-e pela chave de acesso (44 dígitos) via emissor: remetente e destinatário (já resolvidos no cadastro), valor da carga, pesos, volumes e produto predominante. É o passo antes de criar o CT-e. A consulta conta na franquia de consultas de NF-e do plano do emissor.

Bulk support: accepts empresa_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chaveYes
accountNo
empresa_idNo
empresa_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the operation read-only and idempotent. The description adds meaningful behavioral context by warning that the query counts against the NF-e query quota and by disclosing bulk execution via empresa_ids. No contradiction with annotations.

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?

The description is compact and front-loaded: it states the operation, lists returned data, gives usage context, notes quota impact, and mentions bulk support in a few sentences. No filler or redundancy.

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 lookup with annotations, the description covers purpose, key input, returned fields, prerequisite context, quota, and bulk behavior. The main gap is incomplete parameter semantics for account and empresa_id, but overall it is sufficiently complete for selection and invocation.

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?

The description explains the key chave parameter (44-digit access key) and clarifies that empresa_ids enables batched execution, which the schema does not convey. However, account and empresa_id are left unexplained, and with 0% schema description coverage the description should compensate more fully.

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?

The description clearly states the tool consults NF-e data by 44-digit access key and enumerates the returned fields (sender, recipient, load value, weights, volumes, predominant product). It also positions the tool as the step before CT-e creation, distinguishing it from CT-e-related siblings.

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?

The phrase 'É o passo antes de criar o CT-e' gives clear contextual guidance on when to use this lookup. It does not explicitly name alternatives or when-not-to-use conditions, so it stops short of a 5.

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.