Skip to main content
Glama

Contazz AutoPilot

Calculadora CBS/IBS

calcular_cbs_ibs
Read-only

Calcula alíquotas CBS (federal) e IBS (estadual/municipal) da Reforma Tributária (LC 214/2025) para um produto (NCM) ou serviço. Usa a API oficial da Receita Federal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ncmNoCódigo NCM do produto (8 dígitos) ou código de serviço
ufOrigemNoUF de origem (2 letras)SP
ufDestinoNoUF de destino (2 letras)SP
tipoOperacaoNoTipo de operaçãoprestacao_servico
codigoServicoNoCódigo do serviço municipal
valorOperacaoNoValor da operação em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint annotation already indicates a safe read operation, and the description adds context about using the official Receita Federal API. However, it does not disclose limitations, rate limits, or what 'calcular' involves beyond querying rates, so it adds only modest behavioral context beyond the annotation.

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?

The description is two short sentences, front-loaded with the core action and resource, and every word adds relevant information. No filler or redundancy.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 6 parameters and no output schema, the description provides only high-level intent and data source. It does not clarify expected return values, how to choose between NCM and service code, or the role of origin/destination fields. While the schema covers parameter names, the operational context is incomplete.

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 coverage is 100%, so each parameter has a description. The tool description adds slight nuance by mentioning 'produto (NCM) ou serviço', which clarifies the ncm and codigoServico parameters, but it does not explain parameter interactions or optionality beyond the schema. 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 clearly states a specific verb ('Calcula') and resource ('alíquotas CBS e IBS'), narrowing to product (NCM) or service, and distinguishes itself from sibling tools like 'consultar_aliquota_cbs_ibs' by using 'calcular' instead of 'consultar'. It also mentions the legal basis (LC 214/2025) and the official API source.

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

Usage Guidelines3/5

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

The description implies use for calculating tax rates but provides no explicit guidance on when to choose this tool over similar siblings such as 'consultar_aliquota_cbs_ibs' or 'simular_imposto_reforma'. No exclusions or alternative recommendations are given, leaving usage context vague.

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