reforma-tributaria-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RTC_BASE_URL | No | Base URL of the official Receita Federal calculator API (calculadora-rtc-regime-regular). | http://localhost:8080/api/calculadora |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calcular_tributosA | Calcula CBS, IBS e Imposto Seletivo de uma operação (regime geral, LC 214/2025).
|
| explicar_erroC | Descreve um código de erro da calculadora (ex.: REG-011). |
| base_calculo_unificadaC | Base de cálculo unificada da NF-e (55) / NFC-e (65): devolve baseRG, baseIS, baseSN e avisos de campos ignorados pela vigência do ano informado. |
| consultar_ncmC | Consulta uma NCM nos dados abertos. |
| consultar_nbsC | Consulta uma NBS (serviços) nos dados abertos. |
| consultar_classificacao_tributariaC | Consulta uma cClassTrib (CBS/IBS): CST, reduções e requisitos. |
| listar_situacoes_tributariasA | Lista os CST de CBS/IBS vigentes na data (AAAA-MM-DD). |
| fundamentacoes_legaisB | Lista as fundamentações legais (base legal) vigentes na data (AAAA-MM-DD). |
| aliquota_referenciaA | Alíquota de referência: |
| gerar_xmlC | Gera o XML do grupo de tributação a partir da resposta de |
| validar_xmlC | Valida um XML (grupo de tributação ou nota) contra o XSD oficial. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
The tools target largely distinct tasks: tax calculation, unified bases, XML generation/validation, code lookups, rates, legal bases, and error explanation. The only potential overlap is between calcular_tributos and base_calculo_unificada, but their descriptions clarify different outputs and use cases.
All names use snake_case and are readable, but conventions mix verb_noun (calcular_tributos, validar_xml) with noun phrases (base_calculo_unificada, aliquota_referencia, fundamentacoes_legais). This inconsistency is minor but breaks a predictable pattern.
11 tools are well-scoped for a tax calculation and XML domain, covering calculation, reference data, XML lifecycle, and error support. No obvious filler tools are present.
The surface supports an end-to-end workflow: validate inputs, calculate taxes and bases, generate and validate XML, look up codes/rates/legal bases, and explain errors. No obvious lifecycle operation is missing for the stated domain.