Skip to main content
Glama

Cálculo de FGTS

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

A4.3/5.0
Behavior5/5

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

The description discloses the full calculation behavior: index-based adjustment over the contract, correction of each overdue month through today, 1% monthly mora interest, late-payment penalty, and monthly-plus-total output. This goes well beyond the readOnlyHint/idempotentHint annotations and is consistent with them, with no contradiction.

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 front-loads the use case and legal basis, then describes the calculation steps in order, and ends with the return shape. No filler or repetition; every clause adds information.

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 is adequate to identify the tool and understand its main behavior, but for a complex legal-financial calculation with 9 parameters, no output schema, and no per-property descriptions, it leaves notable gaps: no default assumptions when optional parameters are omitted, no date format guidance, and only a vague 'detalhamento por mês + total' for return structure.

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. It adds meaning to core parameters: aluguel_inicial, inicio_contrato, inicio_atraso/fim_atraso, juros (1% a.m.), multa, and indice are all referenced directly. However, it does not explain optional parameter semantics such as periodicidade_meses, whether juros/multa are overrides or defaults, or expected date formats, leaving gaps for a 9-parameter 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 names a specific resource ('Aluguéis em atraso (Lei 8.245/91)') and a clear set of actions: it adjusts the rent by the index, corrects each overdue month until today, applies 1% monthly mora interest and a late-payment penalty, and returns a monthly breakdown plus total. This clearly distinguishes it from sibling tools like calculo_indice or calculo_atualizar.

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 opening phrase 'Aluguéis em atraso' clearly signals the intended scenario: overdue rent calculations under Brazil's Lease Law. It does not explicitly name alternatives or state when not to use it, so it falls short of full routing guidance, but the context is unambiguous enough for an agent to select it over related calculo_* tools.

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

The calculo_* tools are largely distinct by legal scenario, but several overlap in mechanics—calculo_atualizar, calculo_pensao, calculo_restituicao_inss, and calculo_rmc_rcc all apply correction and interest to overdue amounts. Platform tools also blur boundaries: authenticate/connect both deal with credentials, and marketplace/toolkit_info both describe installation state.

Naming Consistency3/5

The 16 calculation tools consistently follow a calculo_<domain> snake_case pattern, which is good. However, the 6 platform tools break the convention with single verbs/nouns (connect, marketplace, authenticate) and mixed forms (report_bug, show_version, toolkit_info), creating two inconsistent naming styles within one server.

Tool Count3/5

22 tools is at the high end of reasonable for a legal-calculation suite, but the server name 'Cálculo de FGTS' suggests a much narrower scope. The platform-management tools add bulk and make the set feel broader and heavier than the name implies.

Completeness4/5

As a Brazilian legal calculation toolkit, the coverage is strong: labor, pension, criminal sentencing, family, banking, FGTS, and monetary correction are all represented. Minor gaps exist—such as no OCR extraction for FGTS statements and no standalone interest-only calculation—but the core calculation workflows are not dead-ended.