Skip to main content
Glama

Instruments for the economic measurement of law

IS-01: the cost of keeping the IPI burden in Brazil's Selective Tax

is_01_selective_tax_ipi_burden
Read-onlyIdempotent

Measures, 2027 to 2033, how much more is charged when the Selective Tax (Imposto Seletivo) set by MP 1.399/2026 repeats the IPI amount (reading on the rate) instead of keeping the IPI burden (reading on the burden), since the Selective Tax enters the base of CBS, IBS and, where applicable, ICMS. Use when: Someone needs to measure in advance what the two readings of IPI neutrality mean for a product under MP 1.399/2026. Do not use when: The person needs a tax opinion on which reading prevails, or rates after 2027 as forecasts. Do not invent inputs: ask the user for every value they have not given, and say which values are their assumptions. If the result has status 'refused', report the refusal and its reason; it is a result of the method, not an error to work around.

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": {
      "ipi_per_unit": "<ipi_per_unit>",
      "price_per_unit": "<price_per_unit>",
      "annual_volume": "<annual_volume>",
      "cbs_2027_pct": "<cbs_2027_pct>",
      "ibs_cbs_2033_pct": "<ibs_cbs_2033_pct>",
      "icms_differential_pct": "<icms_differential_pct>"
    },
    "name": "is_01_selective_tax_ipi_burden"
  }
}

Input Schema

NameRequiredDescriptionDefault
cbs_2027_pctYesCBS reference rate in 2027, in percent
ipi_per_unitYesCurrent IPI per unit, in R$
annual_volumeYesUnits sold per year
icms_rate_pctNoThe product's ICMS rate in percent; required when icms_on_transaction is true
price_per_unitYesSale price per unit, in R$
ibs_cbs_2033_pctYesIBS plus CBS in 2033, in percent
icms_on_transactionNoWhether ICMS is levied on the transaction value (adds the ICMS layer). Default false
icms_differential_pctYesThe product's ICMS rate minus the standard rate, in percentage points

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds one genuinely behavioral detail beyond that: the result can carry status 'refused', which is a method outcome and must be reported rather than worked around. Beyond this it says nothing about output units, magnitude, or sensitivity of results.

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?

The measure and its time horizon are front-loaded, and the Use/Do-not-use/refusal blocks are each one sentence with no filler. The opening sentence is long and stacks the rate-vs-burden distinction, which slightly hurts scanability.

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 an 8-parameter, 6-required calculation with no output schema, the description covers the scenario, the horizon, the two competing readings, the assumption-handling rule and the refusal outcome. It stops short of indicating the shape or units of the returned figure, which would help an agent report results.

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 every parameter is already documented in the schema, which sets the baseline at 3. The description adds the conceptual framing of the two IPI readings but no per-parameter meaning (e.g. how icms_differential_pct interacts with the CBS/IBS layers) that isn't already in 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?

It names a concrete computation: how much more is charged when the Selective Tax repeats the IPI amount ('reading on the rate') rather than preserving the IPI burden, over 2027-2033. The mechanism (Selective Tax enters the CBS/IBS/ICMS base) is stated, so the tool is distinguishable from the sibling exposure/settlement calculators. The dense phrasing of 'reading on the rate' vs 'reading on the burden' takes effort to parse, keeping it just short of a 5.

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

Usage Guidelines5/5

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

Explicit 'Use when' (measuring in advance what the two IPI-neutrality readings mean for a product under MP 1.399/2026) and 'Do not use when' (needs a legal tax opinion on which reading prevails, or forecast rates beyond 2027). It also forbids inventing inputs and instructs the agent to label user-supplied assumptions.

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