Distribui macronutrientes (proteínas, carboidratos, gorduras) a partir da meta calórica diária. Perfis por estilo de dieta (ACSM/ADA): equilibrada 30/40/30, low_carb 35/25/40, high_protein 40/35/25, cetogênica 30/5/65. Conversão: proteína 4 kcal/g, carbo 4 kcal/g, gordura 9 kcal/g. Retorna: grama...
AI agents call calcular_calorias_macros 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
pesoKg | number | Yes | Peso corporal em quilogramas (para calcular proteína por kg) |
objetivo | string | Yes | Objetivo nutricional: perda_peso, manutencao ou ganho_massa |
estiloDieta | string | Yes | Estilo de dieta: equilibrada (30/40/30 P/C/G), low_carb (35/25/40), high_protein (40/35/25), cetogenica (30/5/65) |
caloriasDiariasAlvo | number | Yes | Meta de calorias diárias (geralmente obtida do GET/TMB) |
Parameters from the server's own tool schema.
This is a pure calculation and information retrieval tool. It takes input parameters (caloric goal, diet style, body weight) and returns computed macronutrient breakdowns. There are no state changes, no data modifications, no external operations triggered, and no destructive actions. It functions as a nutritional calculator, similar to a reference lookup.
From the tool's definition The tool 'calcular_calorias_macros' distributes macronutrients based on daily caloric goals and diet profiles. It performs calculations and returns nutrient information (grams, percentages, ratios) with no side effects.
Attacks that exploit this kind of access
Distribui macronutrientes (proteínas, carboidratos, gorduras) a partir da meta calórica diária. Perfis por estilo de dieta (ACSM/ADA): equilibrada 30/40/30, low_carb 35/25/40, high_protein 40/35/25, cetogênica 30/5/65. Conversão: proteína 4 kcal/g, carbo 4 kcal/g, gordura 9 kcal/g. Retorna: gramas de cada macro, % por macro, proteína por kg corporal. It is categorised as a Read tool in the Contaí — Calculadoras Fiscais Brasileiras MCP Server, which means it retrieves data without modifying state.
calcular_calorias_macros accepts 4 parameters: pesoKg, objetivo, estiloDieta, caloriasDiariasAlvo. Required: pesoKg, objetivo, estiloDieta, caloriasDiariasAlvo. 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_calorias_macros: 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_calorias_macros 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_calorias_macros 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_calorias_macros. 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_calorias_macros 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.
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 →