Skip to main content
Glama

Consultar Simples Nacional

consultar_simples_nacional

Consulta a situação de um CNPJ no Simples Nacional (com a data da opção), no SIMEI e nos regimes regulares de IBS e CBS, com os eventos futuros. Para filiais, a situação é a da matriz. Custo por consulta, descontado do saldo em créditos (1 crédito = R$ 1): Starter R$ 0,10 (R$ 0,12 com créditos extras); Pro R$ 0,065 (R$ 0,085); Enterprise R$ 0,025 (R$ 0,035). Erro não é cobrado. Exige plano ou créditos extras: as 10 consultas grátis do mês são só no painel, não valem pelo MCP.

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": "consultar_simples_nacional"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjYesCNPJ, com ou sem pontuação.
confirmo_custoNoObrigatório para executar: true só depois que o usuário aceitou o custo descrito na ferramenta. Sem isso a ferramenta só explica o custo e não consulta nada.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: per-plan pricing with and without extra credits, errors are not charged, the confirmation gate blocks execution, and branches return the head office's status. These are exactly the behavioral facts an agent needs before spending the user's credits.

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?

Front-loaded with purpose, then the branch caveat, then pricing and the credit requirement. The tier-by-tier price list is verbose but earns its place since the agent must relay exact costs to the user before confirming.

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?

Covers the billing model, the execution gate, the branch edge case, and error non-charge, and an output schema exists so return values need no explanation. Nothing an agent needs to invoke this safely is missing.

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 the baseline is 3, but the description adds real meaning by tying the cost schedule to confirmo_custo — explaining what the user must accept before it can be set true. The CNPJ parameter itself gets no extra detail beyond the schema.

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 verb ('Consulta a situação') plus a precisely scoped resource: Simples Nacional with option date, SIMEI, and the regular IBS/CBS regimes, including future events. That scope clearly separates it from general siblings like consultar_cnpj or consultar_ie without needing to name them.

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?

Gives clear preconditions: a plan or extra credits are required because the 10 free monthly queries only work in the panel, not via MCP, and execution requires cost acceptance. It does not explicitly say when to prefer this over consultar_cnpj, so an explicit alternative comparison is the one gap.

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.