Skip to main content
Glama
batilieri

MCP NFS-e

by batilieri

Consultar dados de empresa por CNPJ

nfse_consultar_cnpj

Retrieve company registration data (legal name, address) by CNPJ from public records to prefill service recipient details before issuing NFS-e.

Instructions

Busca os dados cadastrais de uma empresa pelo CNPJ (razao social, endereco, etc.) em base publica. Util para preencher os dados do tomador antes da emissao.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cnpjYesCNPJ (com ou sem pontuacao)
Behavior3/5

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

No annotations are present, so the description carries the burden of behavioral disclosure. It does state this is a read-only lookup on a 'base publica', which implies a safe query operation, but it does not mention auth needs, rate limits, response shape, or error behavior. Basic context is provided, but not rich behavioral detail.

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?

Two sentences with no filler: the first states the core lookup purpose and example fields, and the second gives a practical usage tip. Every sentence earns its place and the key information is front-loaded.

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

Completeness4/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, the description adequately covers purpose, target data, and a concrete use case. Minor omissions like return structure or error conditions exist, but given the low complexity and sibling context, the description is largely sufficient.

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 the schema already documents the single 'cnpj' parameter and its format. The description only restates 'pelo CNPJ' and adds no meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 ('Busca') and resource ('dados cadastrais de uma empresa pelo CNPJ') with concrete examples like razao social and endereco. It is clearly distinct from siblings that consult by chave, numero, or id_dps, so an agent can differentiate it without opening schemas.

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 a clear use case: 'Util para preencher os dados do tomador antes da emissao.' This gives context for when to use the tool, though it does not explicitly name alternatives or state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/batilieri/mcp_nfs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server