Skip to main content
Glama

Cálculo de Pensão Alimentícia

calculo_pensao

Read-onlyIdempotent

Pensão alimentícia em atraso (art. 528 CPC): por mês do período calcula o devido (% do salário mínimo do mês, valor fixo ou % da remuneração), subtrai pagamentos e aplica correção (INPC) + juros 1% a.m. desde cada vencimento.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formaYes
jurosNo
indiceNo
fim_atrasoYes
pagamentosNo
referenciaYes
data_calculoNo
remuneracoesNo
inicio_atrasoYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the full calculation flow: monthly amount by mode, subtraction of payments, INPC correction, and 1% monthly interest from each due date. This adds meaningful behavior beyond the annotations, though it does not mention that the index or interest rate can be customized via the optional indice/juros parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One information-dense sentence with no filler or repetition. The subject and legal article are front-loaded, followed by the calculation steps in a compact, readable sequence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for a read-only calculator with safety annotations, but it does not describe the output format and leaves 'data_calculo' unexplained. Since there is no output schema, the agent still has a clear gap in knowing what the tool returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the burden, and it does: it explains the three 'forma' modes, payments, remuneration percentages, correction index, and interest. It leaves 'referencia' and 'data_calculo' somewhat implicit, but an agent can infer their roles from the described formula.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the exact resource ('Pensão alimentícia em atraso') and legal basis (art. 528 CPC), then states the specific computation performed. This makes it immediately distinguishable from the sibling calculation tools, which target other domains such as labor, FGTS, aluguel, or INSS.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Pensão alimentícia em atraso' implies when the tool applies, but there is no explicit guidance about when to choose this over alternatives or when not to use it. The description identifies the context but does not compare it with sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.