Skip to main content
Glama
reforma-tributaria-mcp

reforma-tributaria-mcp

consultar_classificacao_tributaria

Retrieve CBS/IBS tax classification details for a cClassTrib code, including CST, reductions, and requirements, with an optional date for time-specific lookup.

Instructions

Consulta uma cClassTrib (CBS/IBS): CST, reduções e requisitos. data AAAA-MM-DD.

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": {
      "c_class_trib": "<c_class_trib>"
    },
    "name": "consultar_classificacao_tributaria"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
c_class_tribYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does disclose the response content ('CST, reduções e requisitos'), which tells the agent what to expect from a lookup. However, it does not state the behavior for an unknown or malformed code, whether the result is a single record or a list, or what the date parameter changes in the result.

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?

Very tight: one clause on the lookup, one on the return, one on the parameter format, with the core purpose front-loaded. Brevity here edges toward under-specification rather than padding, and no sentence is wasted.

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

Completeness2/5

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

No annotations and no output schema mean the description must cover behavior, and with 0% schema coverage it must also cover parameters. It only partially does so: the date semantics and the origin/validation of the cClassTrib code remain undefined, which is material for a lookup tool an agent must call with a correct code.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It does give the format for `data` (AAAA-MM-DD), but not what the date means (reference/effective date?), and it leaves `c_class_trib` undocumented apart from being implied by the tool name; no format, length, or source of valid codes.

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?

States a specific verb and resource: looks up a cClassTrib in the CBS/IBS reform context, and it names the return content (CST, reductions, requirements). That distinguishes it from NBS/NCM lookups, but it never contrasts with the closest sibling listar_situacoes_tributarias.

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

Usage Guidelines2/5

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

No when-to-use, when-not, or prerequisite guidance is given; it does not say whether the caller must already hold a known cClassTrib code or should enumerate codes another way first. The sibling list contains plausible alternatives (listar_situacoes_tributarias, consultar_ncm), and the description offers no routing between them.

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