Skip to main content
Glama

Cálculo de Pensão Alimentícia

calculo_dosimetria

Read-onlyIdempotent

Dosimetria da pena (art. 68 CP, sistema trifásico): pena-base pelas circunstâncias judiciais (art. 59), pena intermediária por atenuantes/agravantes (Súmula 231 STJ), pena definitiva por causas de aumento/diminuição (ex.: tentativa). Frações configuráveis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agravantesNo
atenuantesNo
fracao_fase1No
fracao_fase2No
pena_max_anosYes
pena_min_anosYes
causas_aumentoNo
causas_diminuicaoNo
circunstancias_desfavoraveisNo

Schema Changelog

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

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safe, non-mutating nature. The description adds meaningful behavioral context by explaining the three-phase calculation method and that fractions are configurable, which helps the agent understand what the tool actually computes.

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?

The description is compact, front-loaded with the core purpose, and each sentence adds domain-specific detail. There is no repetition or filler.

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

Completeness2/5

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

For a tool with 9 parameters, no output schema, and no parameter descriptions, the description is too high-level. It omits expected input units/ranges, the meaning of the required penalty range parameters, and what the result looks like, leaving the agent to guess crucial invocation details.

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

Parameters2/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 full burden of explaining parameters, but it only maps broad conceptual phases to categories like atenuantes/agravantes and causes of increase/decrease. It does not clarify the meaning of required fields pena_min_anos/pena_max_anos, the numeric format for fractions (decimal vs percentage), or how the arrays should be structured.

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 identifies a specific legal computation — criminal sentence calculation under the three-phase system of art. 68 CP — with concrete references to art. 59, Súmula 231 STJ, and causes of increase/decrease. This clearly distinguishes it from sibling tools like calculo_fgts or calculo_aluguel.

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 description implies the tool is for criminal sentencing dosimetry, so an agent can infer when to use it. However, it does not explicitly state when to prefer this over alternatives or mention any excluded scenarios, such as prison progression (calculo_progressao).

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.

TDQS

B3.3/5.0
Disambiguation3/5

The calculo_* tools are mostly distinct by legal domain, but calculo_atualizar is a generic monetary-correction tool that overlaps with correction logic built into calculo_pensao, calculo_aluguel, and calculo_fgts. The platform tools like connect and toolkit_info are distinct but sit awkwardly alongside the calculators.

Naming Consistency3/5

The legal calculators consistently use a calculo_ prefix in snake_case, but suffixes mix verbs, nouns, adjectives, and acronyms. The six meta tools break the pattern entirely with bare names like connect, marketplace, and report_bug.

Tool Count2/5

22 tools is already on the heavy side, but the scope mismatch is severe: a server named 'Cálculo de Pensão Alimentícia' exposes 16 calculators for unrelated legal areas plus 6 platform administration tools. Only calculo_pensao directly matches the server name, making the count feel inflated and unfocused.

Completeness2/5

For the stated child-support purpose, the surface is incomplete: calculo_pensao covers only arrears and lacks clear support for prospective alimony calculation, modification/review, or enforcement scenarios. If viewed as a general legal calculator suite, it is broad but still has notable gaps, and the narrow server name makes those gaps more glaring.