Skip to main content
Glama

Revisão de Contrato Bancário

calculo_partilha

Read-onlyIdempotent

Partilha de bens no divórcio por regime (Código Civil): apura a massa partilhável (bens − dívidas conforme o regime) e a quota de cada cônjuge, com torna por desequilíbrio. Marque entra_partilha por bem para sobrepor o default do regime.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bensYes
nomesNo
regimeYes
dividasNo

Schema Changelog

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

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already signal read-only, idempotent, and non-destructive behavior, so the description only needs to add algorithmic context. It does: the tool subtracts debts from assets according to regime, computes each spouse's share, handles compensation for imbalance, and lets entra_partilha override the regime default. This is meaningful behavioral detail beyond the structured 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 two sentences, front-loaded with the core purpose and followed by a single actionable usage note. Every clause earns its place and there is no redundant restatement of the schema.

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 communicates the high-level calculation and output semantics (shareable mass, quota, torna) but omits how the different regimes map to the asset fields and what the regime-dependent defaults are. Given the complex nested schema, no output schema, and no field descriptions, this is an adequate but not complete description for reliable invocation.

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?

Schema description coverage is 0%, so the description must carry the parameter-meaning burden, but it only explains one nested field (entra_partilha) and names bens, dividas, and regime. Important fields such as oneroso, titular, incomunicavel, heranca_doacao, adquirido_na_constancia, and anterior_casamento are left to inference from their names, which is risky in a legal-calculation tool.

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 states a specific function: computing the shareable mass in a divorce under the Civil Code and determining each spouse's quota, including compensatory torna. It uses a precise verb ('apura') and names the resource ('partilha de bens no divórcio'), which separates it from sibling calculation tools such as calculo_pensao 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 Guidelines4/5

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

The description clearly situates the tool's domain: divorce asset division by marital-property regime, so an agent can tell when this tool is relevant. It does not explicitly name alternative tools or give when-not-to-use guidance, but the context is clear enough that only the explicit exclusion/alternative part is missing.

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.