Skip to main content
Glama

Brazil - Business Verification (CNPJ) (0.30 credits)

brasil_api_company_lookup
Read-onlyIdempotent

Look up a Brazilian company by CNPJ to retrieve its legal name, registration number, and registration status for business verification.

Instructions

Brazil company lookup by CNPJ. Returns the legal name, CNPJ, and registration status. Inputs: documentType CNPJ and documentNumber. Use it for a business. Use brasil_api_identity_lookup for a person's CPF and brasil_api_criminal_history for antecedentes. Costs 0.30 credits per successful call.

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": {
      "documentType": "<documentType>",
      "documentNumber": "<documentNumber>"
    },
    "name": "brasil_api_company_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentTypeYesGovernment-issued document type code for this country.
documentNumberYesDocument number. Dots, dashes, and spaces are accepted and ignored for length checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the bar is lower. The description adds genuine context beyond them: the fields returned and the billing model ('0.30 credits per successful call'), though the credit figure is duplicated from the title and no latency or failure behavior is mentioned.

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?

Four short sentences, front-loaded with purpose, then return values, then alternatives, then cost — a sensible order. The sentence 'Use it for a business' is mildly redundant given the opening 'company lookup', keeping it from a 5.

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 two-parameter, fully documented, read-only lookup with no output schema, the description covers purpose, inputs, return fields, alternatives, and cost. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 100%, so both parameters are already documented, including the enum lock to CNPJ and the tolerance for dots, dashes, and spaces. The description merely restates 'Inputs: documentType CNPJ and documentNumber' without adding format or validation meaning, so baseline 3 applies.

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 and resource ('Brazil company lookup by CNPJ') and immediately names the return payload (legal name, CNPJ, registration status). It distinguishes itself from sibling identity tools by scope (business vs. person) and country, so an agent can select it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives an explicit when-to-use ('Use it for a business') plus named alternatives with their conditions: brasil_api_identity_lookup for a person's CPF and brasil_api_criminal_history for antecedentes. The credit cost per successful call is also disclosed, which supports cost-aware routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools