calcular_capital_de_giro_necessario
Calcula a Necessidade de Capital de Giro (NCG) pelo Modelo Fleuriet. NCG = Ciclo Financeiro × Receita Diária; CF = PMR + PME − PMP. Ciclo Financeiro negativo = situação favorável (fornecedores financiam o ciclo). Situação: favoravel (CF<0) | neutro (0≤CF≤15) | critica (CF>15). Reserva operacional...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-capital-de-giro-necessario.md
What calcular_capital_de_giro_necessario does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_capital_de_giro_necessario to retrieve information from Contaí — Calculadoras Fiscais Brasileiras without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
custosMensaisCents | integer | — | Custos fixos mensais em centavos. Usado para calcular reserva operacional (50%). Default 0. |
receitaMensalCents | integer | Yes | Receita mensal bruta em centavos (ex: R$ 100.000 = 10000000) |
prazoMedioEstoquesDias | integer | — | PME — Prazo Médio de Estoques (dias). Tempo de giro do estoque. Default 30. |
prazoMedioPagamentosDias | integer | — | PMP — Prazo Médio de Pagamento a fornecedores (dias). Default 30. |
prazoMedioRecebimentosDias | integer | — | PMR — Prazo Médio de Recebimento (dias). Tempo médio para receber vendas a prazo. Default 30. |
Parameters from the server's own tool schema.
Why calcular_capital_de_giro_necessario is rated Low
This is a computational/analytical tool that performs mathematical modeling of working capital requirements. It retrieves or derives financial metrics from input parameters but does not create, modify, delete, or move money. The tool provides decision-support information (classification: favorable/neutral/critical) but does not execute transactions, execute arbitrary code, or cause irreversible changes.
From the tool's definition Tool performs financial calculation and analysis: 'Calcula a Necessidade de Capital de Giro (NCG)' using the Fleuriet Model.
Attacks that exploit this kind of access
The rule that runs calcular_capital_de_giro_necessario safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Contaí — Calculadoras Fiscais Brasileiras, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For calcular_capital_de_giro_necessario, this is the rule to start with:
calcular_capital_de_giro_necessario is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Contaí — Calculadoras Fiscais Brasileiras, apply this rule, and every calcular_capital_de_giro_necessario call is checked against it from then on.
Questions about calcular_capital_de_giro_necessario
Calcula a Necessidade de Capital de Giro (NCG) pelo Modelo Fleuriet. NCG = Ciclo Financeiro × Receita Diária; CF = PMR + PME − PMP. Ciclo Financeiro negativo = situação favorável (fornecedores financiam o ciclo). Situação: favoravel (CF<0) | neutro (0≤CF≤15) | critica (CF>15). Reserva operacional = 50% dos custos mensais fixos. Fonte: Fleuriet et al. — A Dinâmica Financeira das Empresas Brasileiras (FGV, 1978). It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_capital_de_giro_necessario accepts 5 parameters: custosMensaisCents, receitaMensalCents, prazoMedioEstoquesDias, prazoMedioPagamentosDias, prazoMedioRecebimentosDias. Required: receitaMensalCents. The full parameter table on this page comes from the server's own tool schema.
Register the Contaí — Calculadoras Fiscais Brasileiras MCP server in PolicyLayer and add a rule for calcular_capital_de_giro_necessario: 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.
calcular_capital_de_giro_necessario is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the calcular_capital_de_giro_necessario 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.
Set action: deny in the PolicyLayer policy for calcular_capital_de_giro_necessario. 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.
calcular_capital_de_giro_necessario 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.
More on Contaí — Calculadoras Fiscais Brasileiras, and thousands of servers like it.
Across the catalogue