Skip to main content
Glama

Cálculo de FGTS

calculo_indice

Read-onlyIdempotent

Consulta de índice oficial: fator de correção acumulado entre duas datas (mês inicial excluído, mês final incluído — convenção BACEN/IBGE). Se valor informado, retorna o valor corrigido; se incluir_valores true, retorna as variações mensais publicadas (puxar os índices crus).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valorNo
indiceYes
pro_rataNo
data_finalNo
data_inicialYes
incluir_valoresNo

Schema Changelog

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

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only and idempotent, and the description adds meaningful behavior: the month-inclusive/exclusive convention, the conditional outputs, and the instruction to pull raw indices when `incluir_valores` is set. No contradiction exists.

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?

Two dense sentences pack purpose, date convention, and conditional modes without padding. The front-loading of the core operation makes the primary action clear immediately.

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?

For a read-only query with no output schema, the description covers the main return types (corrected value, monthly variations) and the critical date convention. The absence of `pro_rata` semantics and an explicit output example leave minor gaps, but the core call pattern is well-specified.

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 carry parameter meaning. It explicitly explains `valor` and `incluir_valores`, and implicitly covers `data_inicial`/`data_final` through the 'between two dates' phrasing and month convention. However, `pro_rata` is never mentioned, and the `indice` enum is only referenced generically as 'índice oficial', leaving a gap for a tool with six parameters.

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 specifies a concrete operation: querying an official index's accumulated correction factor between two dates, with the BACEN/IBGE month convention. It also clarifies two result modes (corrected value or monthly variations), which distinguishes it from sibling calculation tools that target specific subjects like FGTS or aluguel. Though it does not name a sibling, the resource and operation are 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 description explains conditional behavior — when `valor` is supplied it returns the corrected amount, and when `incluir_valores` is true it returns raw monthly changes — which guides invocation parameter usage. However, it does not explicitly state when to choose this tool over alternatives or when not to use it. The guidance is implied by the domain rather than stated.

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.