Skip to main content
Glama

Atualização Monetária

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?

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the description's job is light. It adds valuable context: the three-phase calculation, the Súmula 231 STJ constraint on phase 2, and configurable fractions. No contradiction with annotations; no side effects are implied.

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?

A single dense sentence that front-loads the core purpose, packs legal citations into parentheticals, and closes with the configurable-fractions detail. No filler or redundancy.

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?

For a calculation with 9 parameters and no output schema, the legal algorithm is well covered, but an agent is left to infer how the required pena_min_anos/pena_max_anos map to the three phases and what the result or fraction format looks like. These are meaningful gaps given the schema provides no descriptions.

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

Parameters3/5

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

With 0% schema coverage, the description must compensate and does partially: it maps 'circunstâncias judiciais' to circunstancias_desfavoraveis, 'atenuantes/agravantes' to those fields, and 'causas de aumento/diminuição' to the cause arrays. But it never names pena_min_anos/pena_max_anos as the statutory range, nor specifies units, fraction format, or defaults for optional fields.

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

Purpose4/5

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

The description identifies the resource ('Dosimetria da pena') and the exact legal method (art. 68 CP, three-phase system), which clearly separates this from sibling calculo_* tools such as calculo_fgts or calculo_pensao. It lacks an explicit verb like 'calcula', so it stops just short of a 5.

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 legal context implies when to use it: for criminal sentence dosimetry with the three-phase framework, not for other calculations. However, it never states when not to use it, mentions no alternative tools, and gives no prerequisites or exclusions.

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

A3.6/5.0
Disambiguation4/5

Each calculo_* tool targets a distinct legal/financial area (rent, alimony, FGTS, criminal sentencing, etc.), and their descriptions cite specific statutes that make the purpose clear. The only mild ambiguity is that calculo_atualizar and calculo_indice both handle generic monetary correction, while some INSS/FGTS tools share 'refund plus correction' semantics, but the specialized names avoid serious confusion.

Naming Consistency3/5

The 16 domain tools follow a consistent 'calculo_<topic>' snake_case pattern, but calculo_atualizar uses a verb where the rest use nouns. The six platform tools break the pattern entirely with short English names (authenticate, connect, marketplace, report_bug, show_version, toolkit_info), resulting in two readable but distinct naming conventions.

Tool Count3/5

At 22 tools, the set is in the heavy range, and while the 16 legal calculators each justify their place, the six unrelated MCP platform utilities bloat the count for a server named 'Atualização Monetária'. The breadth of the legal calculators makes this borderline rather than excessive, but the overall scope is less focused than a well-scoped 10-15 tool server.

Completeness4/5

The toolkit covers a remarkably wide set of Brazilian legal calculations: monetary correction, index factors, alimony, labor severance, FGTS, INSS refunds, bank contract revisions, criminal sentencing, prison progression, family division, retirement benefits, and contribution time. Minor gaps exist, such as no standalone general-interest calculator and no OCR for FGTS statements yet, but agents can work around these with the generic tools.