Skip to main content
Glama

Revisão de Contrato Bancário

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.8/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, and the description is consistent with those. It adds useful behavioral detail about the calculation process: pena-base, intermediate phase, and definitive phase, plus configurable fractions. No contradiction exists between the description and the annotations.

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 a single dense sentence organized by the three phases, with legal citations and no filler. It front-loads the core purpose and remains highly scannable for an agent.

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

Completeness4/5

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

Given the complexity of a nine-parameter legal calculation and the absence of an output schema, the description provides strong algorithmic and legal context. It explains the progressive calculation structure and notes configurable fractions. Minor gaps remain around expected return format and precise fraction encoding, but the core invocation semantics are largely inferable.

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?

Schema description coverage is 0%, so the description must compensate for parameter meaning. It maps phases to legal concepts like circunstâncias judiciais, atenuantes/agravantes, and causas de aumento/diminuição, which align with parameter names. However, it does not explain fraction format, the exact role of fracao_fase1/fracao_fase2, or how circunstancias_desfavoraveis should be quantified.

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 clearly identifies the domain and operation: 'Dosimetria da pena' under the three-phase system of art. 68 CP. It describes each phase, making the tool distinguishable from sibling calculation tools by its criminal-sentencing focus. It lacks an explicit verb like 'calcula' but the purpose is unambiguous.

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 (art. 68 CP, Súmula 231 STJ) implies this is for criminal sentence dosimetry, which gives some usage guidance. However, it does not explicitly state when to choose this tool over alternatives or mention any exclusion conditions. No sibling comparison or routing information is provided.

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.4/5.0
Disambiguation3/5

Most calculo_* tools are separated by legal scenario, but several overlap in the generic task of correcting overdue amounts with indices and interest (calculo_atualizar, calculo_aluguel, calculo_pensao, calculo_fgts, calculo_restituicao_inss, calculo_rmc_rcc). Platform tools also overlap: connect and toolkit_info both report connection status, so an agent could easily misselect for a generic monetary-correction request.

Naming Consistency4/5

The calculation tools follow a strong calculo_<area> pattern and platform tools use simple English verbs, with consistent snake_case throughout. The main inconsistency is the mix between Portuguese calculation names and English platform verbs, plus grammatical variation such as calculo_atualizar versus calculo_indice versus calculo_salario_minimo.

Tool Count2/5

22 tools is already on the heavy side, but the bigger issue is scope: the server is named 'Revisão de Contrato Bancário' yet only a few tools are actually banking-contract related. Most calculators target unrelated legal domains like criminal sentencing, divorce, labor, FGTS, INSS, and the marketplace/admin tools add further unrelated surface area.

Completeness2/5

For a banking-contract-review server, the set lacks obvious companions such as tariff/fee analysis, detailed financing scenario comparison, insurance/consignment breakdowns, or full settlement-planning support. The many unrelated calculators do not fill the gaps in the core banking domain.