Skip to main content
Glama

Cnaes

cnaes
Read-onlyIdempotent

Sugestões de termos de busca por atividade econômica (CNAE), com descrição, família e indicadores de cobertura. Grátis. Sem q, lista atividades com mais fornecedores registrados. Com q, busca por prefixo do código (1412, 1412-6/01) ou por palavra da descrição. familia/termos nulos dizem que o CNAE ainda não está no dicionário: um alerta por CNPJ não o usa.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoPrefixo do código (1412) ou palavra da descrição (opcional)
limiteNo1 a 100 (padrão 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds real context beyond that — 'Grátis' (no cost), how null field values should be interpreted, and the downstream consequence that an alert per CNPJ won't use such a CNAE.

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 dense sentences with the core purpose front-loaded and no filler; each sentence adds a distinct behavioral fact. It is appropriately sized for a two-parameter tool, though it slightly blurs description vs schema content.

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?

With no output schema, the description carries the return-value burden and does name the returned fields (description, family, coverage indicators). For a simple read-only, free suggestion endpoint the description covers modes, defaults, and edge cases, leaving only minor gaps like pagination/limits.

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 description coverage is 100%, so both parameters are already documented and the baseline is 3. The description adds value above that by giving concrete `q` examples (`1412`, `1412-6/01`), clarifying prefix-vs-word matching, and describing the default listing behavior when `q` is absent; `limite` itself is left to the schema.

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?

The description states a specific verb+resource: search-term suggestions for economic activity (CNAE), explicitly listing what comes back (description, family, coverage indicators). It does not contrast itself with any sibling, but the CNAE domain is distinctive enough that an agent can identify 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 Guidelines4/5

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

It spells out the two operating modes conditionally — without `q` it lists activities with the most registered suppliers, with `q` it searches by code prefix or description word — and gives the edge-case semantics (null `familia`/`termos` means the CNAE is not in the dictionary and a per-CNPJ alert skips it). Clear context, but no explicit when-not or alternative-tool routing.

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