Skip to main content
Glama

company_br

company_br
Read-only

Brazilian company record by CNPJ from the Receita Federal registry: legal and trade name, registration status and date, founding date, legal nature, size, share capital, main and secondary CNAE activities, full address, phone, email, Simples Nacional and MEI flags, and the partners (QSA) with roles. Check digits validated before the lookup; send the 14 digits (dots and dashes are ignored; omit the slash). Price: $0.005 USDC per call (x402).

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": {
      "cnpj": "<cnpj>"
    },
    "name": "company_br"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjYesCNPJ as 14 digits, e.g. 19131243000197

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Consistent with readOnlyHint=true. Beyond the annotations it discloses genuinely useful behavior: check-digit pre-validation before the lookup, input normalization (dots/dashes ignored, omit the slash), and a per-call price of $0.005 USDC via x402 — cost disclosure is rare and valuable. It does not say what happens on an invalid or unknown CNPJ, which is the main remaining gap.

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?

A single dense sentence that front-loads the resource and registry, then the returned fields, then the input contract and price. The long field enumeration is long but each item helps an agent judge relevance; nothing is pure filler, though a period before the input rules would improve scannability.

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 single-parameter lookup with no output schema and only readOnlyHint, the description carries the load well: it enumerates the returned fields, pins the input format, states validation behavior, and discloses the paid-call cost. An agent can decide and invoke correctly from this text alone.

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 baseline would be 3, but the description adds real meaning: exactly 14 digits, punctuation is tolerated/ignored, and the slash must be omitted, plus the validation step applied to the value. That goes beyond the schema's bare format example.

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 specific verb+resource: a Brazilian company record looked up by CNPJ from the Receita Federal registry, and enumerates exactly what the record contains (names, status, CNAE, QSA, Simples/MEI). The Brazilian-registry scope implicitly separates it from other company tools, but no sibling is named explicitly, so the differentiation is left 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 Guidelines4/5

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

Clear context for when to reach for it: a CNPJ-keyed lookup against a specific national registry, with the added condition that check digits are validated before lookup and the exact input form to send. There are no exclusions or pointers to alternative tools for other countries or fuzzy name search.

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.