Skip to main content
Glama

Receita Federal PJ

receita_pj_consultar

Read-onlyIdempotent

Consulta os dados cadastrais de uma empresa na Receita Federal a partir do CNPJ, com opção do quadro societário. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de ACESSO PÚBLICO em bases e fontes oficiais (a mesma disponível ao cidadão), não é dado privado nem sigiloso. O cliente é o controlador dos dados e responde pela finalidade legítima (LGPD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
QsaYes
CnpjYes
completoNo

Schema Changelog

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

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds valuable context: no authentication needed, pay-per-query billing, public data source, and LGPD compliance responsibility. It does not describe response format or error cases, but the safety profile is well covered by annotations.

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 the core purpose and each sentence adds relevant context (payment model, public access, LGPD). It is reasonably concise, though the legal disclaimer could be slightly tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having annotations for safety, the tool has 3 parameters with 0% schema coverage and no output schema. The description omits input formatting, the meaning of Qsa and 'completo', and any details about the response. It covers the access model and legal context but leaves essential invocation details unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must clarify parameters. It only explains CNPJ and vaguely mentions 'quadro societário' for Qsa, but does not explain Qsa's expected value format, why it is required, or what the optional 'completo' boolean does. This is insufficient for reliable invocation.

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 uses a specific verb ('Consulta') and a clear resource ('dados cadastrais de uma empresa na Receita Federal'), explicitly naming CNPJ as the key input and mentioning the optional 'quadro societário'. This makes the tool's purpose unambiguous and distinguishes it from unrelated sibling tools.

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 clear operational context: it is hosted by the platform, requires no credentials, charges prepaid credits per query, and is limited to publicly accessible data. It does not explicitly name alternatives or exclusion cases, but no similar sibling tool exists, and the prerequisites for use are clear.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools serve distinct platform functions (auth, status, version, bug reporting) and the sole domain tool is clearly separated. However, connect and toolkit_info both expose connection status, and marketplace is a broad catch-all, creating minor overlap.

Naming Consistency2/5

Naming is inconsistent: verbs (authenticate, connect, report_bug, show_version), nouns (marketplace, toolkit_info), and a Portuguese object-verb order (receita_pj_consultar) are mixed without a clear pattern. While style is all lowercase with underscores, the convention is not predictable.

Tool Count3/5

At 7 tools the count is within a reasonable range, but six of the seven are platform meta-tools unrelated to the Receita Federal domain suggested by the server name. This dilutes the tool set's purpose and makes it feel cluttered.

Completeness4/5

The core CNPJ consultation is covered with optional shareholder data, which is appropriate for a public-data lookup. There are no obvious lifecycle gaps since the operation is read-only, though search or batch capabilities are missing directly but could be discovered via the marketplace tool.