Skip to main content
Glama

Fichário — CNPJ Brasil

buscar_empresa

Busca empresas brasileiras ativas pelo nome (razão social ou fantasia), CNPJ, e-mail (e-mail inteiro acha as empresas que o usam; '@dominio.com.br' lista as do domínio, menos provedores pessoais) ou CEP ('89874-000' lista as empresas do CEP; '89874-000 369', as do prédio). Devolve até 20 resultados. Limites grátis: 60 req/min e 3.000/dia por IP; Pro (Bearer fch_live_…): 10×. CNDT/publicações: 6/min e 40/dia (Pro 60/400). Base 2026-11. Volume: /precos ou WhatsApp +55 21 99598-8404.

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": {
      "consulta": "<consulta>"
    },
    "name": "buscar_empresa"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNoSigla da UF (opcional)
cidadeNoMunicípio (opcional, exige uf para ser rápido)
consultaYesComeço do nome (fantasia ou razão social) ou CNPJ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the 20-result cap, per-IP and per-key rate limits with the Pro multiplier, a separate stricter quota for CNDT/publicações, the data-snapshot date (2026-11), and the Bearer-token auth scheme. It stops short of stating read-only semantics explicitly or what happens on quota exhaustion, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core matching semantics are front-loaded and efficient, but the sentence piles quota tiers, snapshot date, and promotional contact/pricing pointers into what should be a lookup definition, and the '/precos ou WhatsApp' close is pure sales copy that does not help invocation.

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

Completeness3/5

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

For a 3-parameter lookup it covers inputs, matching behavior, and quotas well, but with no output schema the description never says what a returned company record contains beyond the count of up to 20, so the agent cannot plan on the response shape. It also omits the uf/cidade interplay that the schema only hints at.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning the schema lacks: the schema defines 'consulta' as only a name prefix or CNPJ, while the description reveals it also accepts full e-mails, '@dominio.com.br' patterns, and CEP with optional building suffix. The uf/cidade parameters are left to the schema, including the notable 'cidade exige uf' constraint, which the description never reinforces.

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?

States a concrete verb and resource ('Busca empresas brasileiras ativas') and enumerates the four match modes (nome, CNPJ, e-mail, CEP) with format examples, so the agent knows exactly what the tool resolves. It does not, however, name a sibling such as busca_avancada or consultar_cnpj to say how this simple lookup differs from those, leaving differentiation to inference.

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 implied by the match-mode list: use this when you have a name, CNPJ, e-mail, or CEP and want a list of companies. There is no explicit 'use X instead when…' guidance and no stated preconditions (e.g., that cidade requires uf, or when to prefer the advanced-search sibling), so the agent must guess at boundaries.

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