Skip to main content
Glama

FiscalAPI

Consultar CRF/FGTS

consultar_crf_fgts

Consulta o Certificado de Regularidade do FGTS (Caixa) de um CPF ou CNPJ (um só). Devolve status, emissão, validade e protocolo. O PDF não vem pelo MCP. Custo: 1 consulta do saldo (Lite R$ 0,67; Starter R$ 0,10 (recarga R$ 0,12); Pro R$ 0,065 (recarga R$ 0,07); Enterprise R$ 0,025 (recarga R$ 0,02)). Erro não é cobrado. Resposta sem inscrição encontrada, sem_certidao ou nao_contribuinte conta como consulta.

Input Schema

NameRequiredDescriptionDefault
cpfNoCPF, com ou sem pontuação (informe só um documento).
cnpjNoCNPJ, com ou sem pontuação (informe só um documento).
confirmo_custoNoObrigatório para executar: true só depois que o usuário aceitou o custo descrito na ferramenta. Sem isso a ferramenta só explica o custo e não consulta nada.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it discloses return fields, that the PDF is not delivered via MCP, exact cost tiers, that errors are not charged, and that certain negative responses count as a query. Only auth/permission details are absent, which are likely handled by the MCP layer.

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 front-loaded with purpose, then returns, PDF caveat, cost, and billing rules. The cost tier list is verbose but necessary for the confirmation step, and the structure remains logical and efficient overall.

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 an output schema and full schema coverage, the description is nearly complete for this moderately complex tool. It omits an explicit statement that confirmo_custo=true is required to execute, but that detail is fully covered by the schema.

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%, so all three parameters are fully documented in the schema. The description reinforces the 'one document only' constraint and gives cost details relevant to confirmo_custo, but adds no meaningful semantics beyond what the schema already provides.

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 states a specific verb ('Consulta') and resource ('Certificado de Regularidade do FGTS (Caixa)') with scope 'CPF ou CNPJ (um só)'. This is clearly distinguishable from sibling tools like consultar_cnd_federal or consultar_cndt because the FGTS certificate is a unique document type.

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 by naming the certificate and input constraint, and provides cost context. However, it does not explicitly say when to choose this tool over similar certificate consultas (e.g., CND estadual/federal) or state any preconditions beyond cost, leaving routing guidance to be inferred.

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.