Skip to main content
Glama

Reajuste de Aluguel

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

A3.9/5.0
Behavior4/5

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

Beyond the read-only/idempotent/destructive annotations, the description discloses the non-obvious BACEN/IBGE date convention (start month excluded, end month included) and the conditional output behavior with 'valor' and 'incluir_valores'. No contradiction with annotations — 'consulta' matches readOnlyHint=true. It does not address defaults or error behavior, but the core behavioral traits are well covered.

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 with no filler. The first sentence front-loads the purpose and the critical date convention; the second adds the conditional invocation modes. Every clause earns its place.

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 tool has 6 parameters, no output schema, and moderate complexity. The description covers purpose, date convention, and output modes, and hints at return values. But it leaves pro_rata unexplained, the default behavior when data_final is omitted (it is optional) unstated, and the unusual 'NENHUM' enum value unaddressed — notably, 'retorna o valor corrigido' only describes the value path, not what result shape the base query returns.

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?

With 0% schema description coverage, the description carries the full burden. It enriches most parameters: the date convention defines data_inicial/data_final semantics, 'valor' maps to corrected-value output, and 'incluir_valores' maps to monthly variations. However, pro_rata — a parameter that materially alters how the correction is computed — is left completely undocumented, a meaningful gap at this coverage level.

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 verb ('Consulta de índice oficial') and resource (accumulated correction factor between two dates), with an exact date convention (initial month excluded, final month included). This clearly differentiates it from the many calculo_* siblings covering aluguel, FGTS, pensão, trabalhista, etc., none of which deal with official price indices.

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 gives conditional mode guidance — 'Se valor informado, retorna o valor corrigido; se incluir_valores true, retorna as variações mensais' — which tells an agent how to elicit different behaviors. However, it provides no explicit when-to-use vs alternatives or exclusions; the domain is implied by 'índice oficial' rather than contrasted with sibling 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

B3.4/5.0
Disambiguation3/5

The 16 calculo_* tools are each tied to a specific legal area and are generally easy to distinguish. However, the platform tools overlap: marketplace bundles discovery, auth, listing, and bug-report flows that also exist in authenticate, connect, toolkit_info, and report_bug.

Naming Consistency3/5

The calculo_* group is highly consistent and readable. The six platform tools follow a different, more mixed English convention with bare verbs, noun phrases, and snake_case names, so the set as a whole has two naming schemas rather than one.

Tool Count3/5

22 tools is in the heavy 16-25 range and feels excessive for a server titled 'Reajuste de Aluguel'. Some legal calculators are useful in a broader legal-calculation platform, but the title and the actual scope are mismatched.

Completeness3/5

For a broad Brazilian legal-calculation toolkit, coverage is quite wide: rent, monetary updating, criminal sentencing, FGTS, INSS, labor, and banking calculations are present. Still, there are notable gaps for a general legal surface, such as other INSS benefit calculations or civil compensation estimates, and the rent-adjustment title does not represent the full set.