calcular_calculadora_gestacional
Calcula idade gestacional e DPP (Data Provável do Parto) a partir da DUM. Usa regra de Naegele modificada: DPP = DUM + 280 dias + (ciclo − 28). Retorna semanas + dias de gestação, trimestre, dias até DPP, status (gestação ou pós-termo). Útil pra contadora gestacional, agendar consultas, planejar ...
This record as markdown: /tools/io-github-lfhillesheim-contai-mcp-server/calcular-calculadora-gestacional.md
What calcular_calculadora_gestacional does on Contaí — Calculadoras Fiscais Brasileiras
AI agents call calcular_calculadora_gestacional 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 |
|---|---|---|---|
dum | string | Yes | Data da Última Menstruação (DUM) no formato YYYY-MM-DD |
cicloDias | integer | — | Duração do ciclo menstrual em dias. Default 28. |
currentDate | string | — | Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje. |
Parameters from the server's own tool schema.
Why calcular_calculadora_gestacional is rated Low
This is a pure calculation/query tool that takes gestational data as input and returns computed gestational age and delivery date estimates. It has no side effects, does not modify persistent state, and produces only informational output. The use case ('agendar consultas, planejar licença-maternidade') confirms it supports planning rather than executing actions. It falls squarely into the Read category.
From the tool's definition Tool name: 'calcular_calculadora_gestacional'; description states it 'Calcula idade gestacional e DPP... Retorna semanas + dias de gestação, trimestre, dias até DPP, status'.
Attacks that exploit this kind of access
The rule that runs calcular_calculadora_gestacional 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_calculadora_gestacional, this is the rule to start with:
calcular_calculadora_gestacional 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_calculadora_gestacional call is checked against it from then on.
Questions about calcular_calculadora_gestacional
Calcula idade gestacional e DPP (Data Provável do Parto) a partir da DUM. Usa regra de Naegele modificada: DPP = DUM + 280 dias + (ciclo − 28). Retorna semanas + dias de gestação, trimestre, dias até DPP, status (gestação ou pós-termo). Útil pra contadora gestacional, agendar consultas, planejar licença-maternidade. Fonte: regra de Naegele modificada (cycle-adjusted). It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_calculadora_gestacional accepts 3 parameters: dum, cicloDias, currentDate. Required: dum. 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_calculadora_gestacional: 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_calculadora_gestacional 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_calculadora_gestacional 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_calculadora_gestacional. 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_calculadora_gestacional 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