Skip to main content
Glama

O que falta para emitir

verificar_prontidao
Read-onlyIdempotent

Lê o cadastro da conta e diz, item a item, o que já está certo, o que impede a próxima NFS-e e o que vale conferir: certificado A1 (e validade), regime, código do serviço, NBS, inscrição municipal, código de tributação municipal e acesso ao webservice quando a nota sai pelo sistema da prefeitura, e créditos. Cada item traz a tela do painel que resolve, o campo que configurar_emissao ajusta e, quando dá, uma sugestao (ex.: o NBS da correlação oficial). Use ANTES da primeira emissão e quando uma nota for recusada por cadastro.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "verificar_prontidao"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes further by disclosing the tri-state output shape (já está certo / impede a próxima NFS-e / vale conferir) plus the per-item fields (tela do painel, `campo`, `sugestao`). Because no output schema exists, this is the only place that behavior is documented, and it is documented well.

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, front-loaded with the core action and ending with usage guidance. The mid-sentence checklist of checks is long but each entry tells the agent what coverage to expect, so nothing is filler; a slightly tighter enumeration would make it cleaner.

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?

A zero-parameter, read-only diagnostic whose annotations and description together cover everything an agent needs: what is inspected, what the results mean, where the fix lives, and when to call it. Nothing material 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?

The tool takes no parameters, so the baseline of 4 applies. The mention of `campo` and `sugestao` refers to returned fields rather than inputs, so it adds no input semantics — but none are needed.

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?

Opens with a specific verb+resource ("Lê o cadastro da conta") and then enumerates exactly what it checks: certificado A1 e validade, regime, código do serviço, NBS, inscrição municipal, código de tributação municipal, acesso ao webservice e créditos. This distinguishes it clearly from emitir_nota (which issues) and configurar_emissao (which writes the `campo` each finding points to).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States two explicit trigger conditions: "Use ANTES da primeira emissão e quando uma nota for recusada por cadastro." It also routes follow-up work to the right sibling by noting each item names the `campo` that configurar_emissao adjusts, so the agent knows this tool diagnoses rather than fixes.

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