calcular_media_escolar

Calcula média escolar aritmética ou ponderada e verifica aprovação. Aritmética: soma das notas / quantidade. Ponderada: soma(nota × peso) / soma(pesos). Retorna: média calculada, se passou, e diferença necessária para atingir a média mínima.

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

What calcular_media_escolar does on Contaí — Calculadoras Fiscais Brasileiras

AI agents call calcular_media_escolar 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
notas array Yes Lista de notas com valor e peso
formula string Yes Tipo de média: aritmetica (pesos ignorados) ou ponderada (usa pesos)
currentDate string Data de referência YYYY-MM-DD para tabelas fiscais (INSS/IRRF/IOF/etc.). Default: hoje.
mediaMinima number Yes Média mínima para aprovação (ex: 5.0 ou 6.0)

Parameters from the server's own tool schema.

Why calcular_media_escolar needs a policy

This tool purely retrieves/computes a mathematical result from provided inputs (grades and weights). It performs arithmetic calculations and logical checks (approval verification) but produces no side effects on any data store, system, or external service. This is a straightforward calculation utility with informational output only, characteristic of Read category operations.

From the tool's definition Tool performs calculation operations: 'Calcula média escolar', 'soma das notas / quantidade', 'soma(nota × peso) / soma(pesos)'. Returns computed results: 'média calculada, se passou, e diferença necessária'.

Questions about calcular_media_escolar

What does the calcular_media_escolar tool do? +

Calcula média escolar aritmética ou ponderada e verifica aprovação. Aritmética: soma das notas / quantidade. Ponderada: soma(nota × peso) / soma(pesos). Retorna: média calculada, se passou, e diferença necessária para atingir a média mínima. 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_media_escolar accept? +

calcular_media_escolar accepts 4 parameters: notas, formula, currentDate, mediaMinima. Required: notas, formula, mediaMinima. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on calcular_media_escolar? +

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

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

Can I rate-limit calcular_media_escolar? +

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

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

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