calcular_dias_entre_datas

Calcula a diferença entre duas datas em dias corridos, dias úteis, semanas, meses e anos. Dias úteis: exclui sábados e domingos (feriados nacionais/estaduais não são modelados). Útil para prazos de contratos, vencimentos, contagem regressiva.

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

What calcular_dias_entre_datas does on Contaí — Calculadoras Fiscais Brasileiras

AI agents call calcular_dias_entre_datas 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
dataFim string Yes Data de fim no formato YYYY-MM-DD
dataInicio string Yes Data de início no formato YYYY-MM-DD
currentDate string Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje.
diasUteisApenas boolean Yes Se true, retorna apenas dias úteis (exclui fins de semana); não modela feriados

Parameters from the server's own tool schema.

Why calcular_dias_entre_datas needs a policy

This tool is a pure computational utility that takes two dates as input and returns calculated time differences. It has no side effects, does not modify any state, and does not trigger external operations. It is purely informational/analytical in nature, fitting the 'Read' category for tools that retrieve or query data without side effects.

From the tool's definition Tool 'calcular_dias_entre_datas' performs a calculation that 'Calcula a diferença entre duas datas em dias corridos, dias úteis, semanas, meses e anos.' No modification, deletion, or external operations occur—it only retrieves or computes a derived result…

Questions about calcular_dias_entre_datas

What does the calcular_dias_entre_datas tool do? +

Calcula a diferença entre duas datas em dias corridos, dias úteis, semanas, meses e anos. Dias úteis: exclui sábados e domingos (feriados nacionais/estaduais não são modelados). Útil para prazos de contratos, vencimentos, contagem regressiva. 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_dias_entre_datas accept? +

calcular_dias_entre_datas accepts 4 parameters: dataFim, dataInicio, currentDate, diasUteisApenas. Required: dataFim, dataInicio, diasUteisApenas. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on calcular_dias_entre_datas? +

Register the Contaí — Calculadoras Fiscais Brasileiras MCP server in PolicyLayer and add a rule for calcular_dias_entre_datas: 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_dias_entre_datas? +

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

Can I rate-limit calcular_dias_entre_datas? +

Yes. Add a rate_limit block to the calcular_dias_entre_datas 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_dias_entre_datas completely? +

Set action: deny in the PolicyLayer policy for calcular_dias_entre_datas. 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_dias_entre_datas? +

calcular_dias_entre_datas 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.