Skip to main content
Glama

empresa_por_cnpj

Read-onlyIdempotent

Dados públicos de uma empresa de TI brasileira pelo CNPJ (14 dígitos, com ou sem pontuação): razão social, porte, CNAE, cidade, Fit (0-100, prioridade de abordagem), site e tecnologias. Não traz contato nem decisor.

Input Schema

NameRequiredDescriptionDefault
cnpjYesCNPJ, ex.: 54.517.628/0001-98

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the description does not need to re-establish safety. It adds useful scope context by listing the returned fields and explicitly stating 'Não traz contato nem decisor', which tells the agent what data is absent and prevents over-expecting contact details. It stops short of describing error behavior for invalid or not-found CNPJs.

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

Conciseness5/5

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

A single compact sentence is front-loaded with the lookup key, followed by the returned fields and then the negative scope. Every clause earns its place and there is no redundancy.

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?

For a one-parameter read-only lookup with full schema coverage and annotations covering safety and idempotency, the description supplies the returned fields, input format, and the important limitation that no contact or decision-maker data is included. An agent has enough to decide to call it and interpret the result.

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% and the schema already gives an example with punctuation. The description still adds meaning by specifying 14 digits and that punctuation is optional, clarifying accepted formats beyond the single example. That is marginal but genuinely useful parameter clarification.

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?

States a specific resource and retrieval method: public data of a Brazilian IT company by CNPJ, and enumerates the returned fields (razão social, porte, CNAE, cidade, Fit, site, tecnologias). The 'pelo CNPJ' scope clearly distinguishes it from the sibling empresas_por_dominio, which looks companies up by domain.

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 CNPJ-based lookup scope implies when to use it versus the domain-based sibling, and the required '14 dígitos, com ou sem pontuação' format is explicit. It does not explicitly state exclusions or say 'use empresas_por_dominio instead when...', so it falls short of a full when/when-not statement.

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