Skip to main content
Glama
DeHor-Labs

mcp-fiscal-brasil

by DeHor-Labs

consultar_status_sefaz

Check the operational status of a Brazilian state's SEFAZ web service for NFe emission. Helps diagnose tax document transmission failures.

Instructions

Consulta o status atual do serviço SEFAZ de um estado brasileiro. Verifica se o webservice da SEFAZ para emissão de NFe está operacional. Útil para diagnosticar falhas de transmissão de notas fiscais.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ufYesSigla do estado com 2 letras (ex.: "SP", "MG", "RJ"). Validada contra as UFs do Brasil.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It indicates a read operation (querying status) with no side effects, which is implicit. However, it does not explicitly state that it is safe or read-only, nor does it describe the response nature beyond the output schema. An explicit statement about being a non-destructive query would improve transparency.

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 concise with three sentences, each providing essential information: what it does, the specific check, and its utility. No redundant words or unnecessary details.

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?

Given the simple one-parameter query tool and the presence of an output schema for return values, the description sufficiently covers the tool's behavior and purpose. No additional details about output are needed.

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?

The schema already describes the 'uf' parameter as a two-letter state abbreviation, but the description adds valuable context: it specifies that the state must be Brazilian, provides examples ('SP', 'MG', 'RJ'), and mentions validation against Brazilian states. This goes beyond the schema's minimal description.

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's purpose: to query the current status of the SEFAZ service for a Brazilian state, specifically checking if the NFe webservice is operational. This distinguishes it from sibling tools like consultar_nfe (which queries NFe documents) and validates its specific role.

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 description provides a clear use case: diagnosing transmission failures of tax documents. It implies using this tool before transmitting NFe to verify service availability. However, it does not explicitly state when not to use it or mention alternatives, but the context of siblings makes the guidance sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DeHor-Labs/mcp-fiscal-brasil'

If you have feedback or need assistance with the MCP directory API, please join our Discord server