Skip to main content
Glama

SEFAZ BA: NFC-e (Completa)

sefaz_ba_nfce_completa_consultar

Read-onlyIdempotent

SEFAZ BA: NFC-e (Completa), consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais brasileiros (a mesma disponível ao cidadão), não é dado sigiloso. O cliente é o controlador dos dados e responde pela finalidade legítima (LGPD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nfceYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable context: it is hosted by the platform, requires no platform credentials, is paid per query with prepaid credits, and clarifies data privacy (LGPD) and that data is not confidential. This goes beyond annotations and helps the agent understand operational constraints.

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?

The description is a single paragraph with three sentences, each adding distinct information: purpose, operational details, and legal context. It is concise and front-loaded with the core purpose. No wasted words, though it could be slightly more structured with bullet points, but it is acceptable.

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?

Given the tool's simplicity (one parameter, no output schema), the description covers the essential aspects: what it does, how it is accessed (paid, prepaid), and legal considerations. It does not describe the return format, but since there is no output schema, the description could have mentioned what the response contains. However, for a simple query tool with good annotations, this is reasonably complete.

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 schema has one required parameter 'nfce' with no description, and schema description coverage is 0%. The description does not explain what 'nfce' should contain (e.g., the access key format, length, or example). However, with only one parameter and a clear name, the meaning is somewhat inferable, but the description should have provided format details to compensate for the lack of schema documentation.

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 clearly states the tool queries the official SEFAZ BA source for complete NFC-e data, distinguishing it from a generic query by specifying the state (BA) and type (Completa). It does not explicitly contrast with sibling tools, but the siblings are unrelated (auth, connect, etc.), so the purpose is clear enough.

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?

The description implies usage for consulting official Brazilian tax documents, but it does not provide explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives. It does clarify that it is a paid per-query service with prepaid credits, which gives some context, but no exclusions or alternative tool references.

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.