Skip to main content
Glama

Revisão de Contrato Bancário

calculo_aluguel

Read-onlyIdempotent

Aluguéis em atraso (Lei 8.245/91): reajusta o aluguel ao longo do contrato pelo índice, corrige cada mês atrasado até hoje, aplica juros de mora (1% a.m.) e multa moratória. Retorna detalhamento por mês + total.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jurosNo
multaNo
indiceNo
fim_atrasoYes
data_calculoNo
inicio_atrasoYes
aluguel_inicialYes
inicio_contratoYes
periodicidade_mesesNo

Schema Changelog

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

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds meaningful behavioral detail: it reajusta by index, corrects each late month, applies 1% monthly interest and late penalty, and returns a month-by-month breakdown plus total. This is substantive beyond 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 compact: three sentences, front-loaded with the core purpose, then quick detail on the calculation logic and output. Every sentence adds value and there is no 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 legal calculation with 9 parameters and no output schema, the description is not complete. It gives the high-level formula and a minimal output summary, but omits parameter roles, date formats, optional-field behavior, and details of the returned monthly breakdown. An agent would likely need to inspect schemas or examples to call it reliably.

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 compensate for 9 undocumented parameters. It only alludes to 'índice', 'juros', and 'multa', but does not explain the required date fields, aluguel_inicial, data_calculo, or periodicidade_meses. It also states a fixed 1% monthly interest and penalty while the schema exposes juros and multa as parameters, which may confuse agents about whether those are overrides.

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 verb and resource: it calculates overdue rent adjustments under Lei 8.245/91, covering index-based adjustment, per-month correction, interest, and penalty. This clearly distinguishes it from broader sibling tools like calculo_revisional or calculo_atualizar by narrowing the scenario to overdue rent.

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 gives clear context: it is for overdue rent ('Aluguéis em atraso') and names the governing law, making the primary use case obvious. It does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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.