calcular_iof_investimentos_cambio

Calcula o IOF (Imposto sobre Operações Financeiras) nas três modalidades principais: (1) Investimento: IOF regressivo sobre rendimentos de CDB/Tesouro Direto nos primeiros 29 dias — tabela de 96% (dia 1) até 0% (dia 30), Decreto 6.306/2007 Anexo I. (2) Câmbio: IOF sobre operações cambiais — cartã...

Server Contaí — Calculadoras Fiscais Brasileiras @contai-evoluke/mcp-server
Category Read
Risk class Low
Parameters 91 required

What calcular_iof_investimentos_cambio does on Contaí — Calculadoras Fiscais Brasileiras

AI agents call calcular_iof_investimentos_cambio to retrieve information from Contaí — Calculadoras Fiscais Brasileiras without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
modalidade string Yes Modalidade de IOF a calcular: "investimento" (IOF regressivo sobre rendimento de CDB/Tesouro — primeiros 29 dias), "cambio" (IOF sobre operações de câmbio — car
pessoaTipo string Tipo de pessoa para cálculo do IOF de crédito: "pf" (pessoa física — IOF diário 0,0082%/dia) ou "pj" (pessoa jurídica — IOF diário 0,0041%/dia). Default: "pf"
prazoCreditoDias integer Prazo do crédito em dias corridos (1 a 3.650). Obrigatório para modalidade "credito". IOF diário é calculado sobre no máximo 365 dias (teto da tabela)
prazoResgateDias integer Prazo do resgate em dias corridos (1 a 30). Obrigatório para modalidade "investimento". IOF decresce de 96% no dia 1 até 0% no dia 30 (tabela Decreto 6.306/2007
valorCreditoCents integer Valor do empréstimo ou financiamento em centavos. Obrigatório para modalidade "credito". Ex: R$ 10.000 → 1000000
tipoOperacaoCambio string Tipo de operação de câmbio. Obrigatório para modalidade "cambio": "compra_especie_viagem" (IOF 1,10%), "cartao_credito_exterior" (IOF 3,38%), "cartao_debito_ext
valorAplicadoCents integer Valor principal da aplicação em centavos. Obrigatório para modalidade "investimento". Ex: R$ 20.000 → 2000000
rendimentoBrutoCents integer Rendimento bruto obtido na aplicação em centavos. Obrigatório para modalidade "investimento". Deve ser menor que o valorAplicadoCents. Ex: R$ 250 → 25000
valorCambioReaisCents integer Valor da operação de câmbio em reais, em centavos. Obrigatório para modalidade "cambio". Ex: R$ 5.000 → 500000

Parameters from the server's own tool schema.

Why calcular_iof_investimentos_cambio needs a policy

This tool performs tax calculations (IOF) based on input parameters and returns computed values. It retrieves/computes fiscal information without modifying any data, executing commands, or moving money. It is a pure calculation/read tool with no side effects.

From the tool's definition Calcula o IOF (Imposto sobre Operações Financeiras) nas três modalidades principais... Decreto 6.306/2007

Questions about calcular_iof_investimentos_cambio

What does the calcular_iof_investimentos_cambio tool do? +

Calcula o IOF (Imposto sobre Operações Financeiras) nas três modalidades principais: (1) Investimento: IOF regressivo sobre rendimentos de CDB/Tesouro Direto nos primeiros 29 dias — tabela de 96% (dia 1) até 0% (dia 30), Decreto 6.306/2007 Anexo I. (2) Câmbio: IOF sobre operações cambiais — cartão crédito exterior 3,38%, espécie viagem 1,10%, remessa 0,38%, recebimento e educação/saúde isentos. (3) Crédito: IOF fixo 0,38% + IOF diário (PF: 0,0082%/dia, PJ: 0,0041%/dia, máx 365 dias). Fonte: Decreto 6.306/2007. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.

What parameters does calcular_iof_investimentos_cambio accept? +

calcular_iof_investimentos_cambio accepts 9 parameters: modalidade, pessoaTipo, prazoCreditoDias, prazoResgateDias, valorCreditoCents, tipoOperacaoCambio, valorAplicadoCents, rendimentoBrutoCents, valorCambioReaisCents. Required: modalidade. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on calcular_iof_investimentos_cambio? +

Register the Contaí — Calculadoras Fiscais Brasileiras MCP server in PolicyLayer and add a rule for calcular_iof_investimentos_cambio: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Contaí — Calculadoras Fiscais Brasileiras. Nothing to install.

What risk level is calcular_iof_investimentos_cambio? +

calcular_iof_investimentos_cambio is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit calcular_iof_investimentos_cambio? +

Yes. Add a rate_limit block to the calcular_iof_investimentos_cambio rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block calcular_iof_investimentos_cambio completely? +

Set action: deny in the PolicyLayer policy for calcular_iof_investimentos_cambio. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides calcular_iof_investimentos_cambio? +

calcular_iof_investimentos_cambio is provided by the Contaí — Calculadoras Fiscais Brasileiras MCP server (@contai-evoluke/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.