Skip to main content
Glama

Consultar uma chave monitorada de NF-e

consultar_chave_monitorada_nfe
Read-only

Situação atual de uma NF-e do monitor da conta, os eventos registrados na nota (cancelamento, carta de correção...), a próxima verificação, o fim do monitoramento e os avisos que o webhook não recebeu. Usa a chave da FiscalAPI e não cobra.

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": {
      "chave": "<chave>"
    },
    "name": "consultar_chave_monitorada_nfe"
  }
}

Input Schema

NameRequiredDescriptionDefault
chaveYesChave de acesso da NF-e (44 dígitos); separadores são ignorados.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The description adds genuinely useful context beyond the annotations: it states the call uses the FiscalAPI key and is not billed ('não cobra'), and that it surfaces webhook notifications that were never delivered. However, with readOnlyHint=true and openWorldHint=false already covering the safety profile, it says nothing about whether a not-yet-monitored key errors or returns empty.

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, no filler, with the scope stated first and the cost/credential note last. The first sentence is a long comma-separated enumeration of returned items, which is dense but each item is informative rather than redundant.

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?

An output schema exists, so return values did not need spelling out, yet the description still flags the notable ones (missed webhook notices). One required parameter at full schema coverage plus read-only annotations means little is missing; only the preconditions for a valid call are absent.

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 coverage is 100% and the single parameter already documents the 44-digit format and that separators are ignored, so the description adds no parameter meaning. Baseline 3 applies since the schema carries the full burden.

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 a specific operation on a single resource ('Situação atual de uma NF-e do monitor da conta') and enumerates what it reports back: events, next check, monitoring end, and missed webhook notices. That singular, per-key scope implicitly separates it from listar_chaves_monitoradas_nfe and monitorar_chaves_nfe, but no sibling is ever named explicitly.

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 only implied: an agent can infer this is the lookup for an already-monitored key, but there is no stated prerequisite (e.g. the key must already be monitored), no 'when not to use', and no routing to listar_chaves_monitoradas_nfe for discovery or monitorar_chaves_nfe for adding a key.

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.