Skip to main content
Glama

Atualização Monetária

calculo_atualizar

Read-onlyIdempotent

Atualização monetária / liquidação de débito judicial: corrige parcelas por um índice oficial (IPCA, INPC, IGP-M, SELIC, TR…) e aplica juros, multa e honorários. Retorna detalhamento por parcela e totais. ATENÇÃO ao regime legal: SELIC já engloba correção+juros (não somar 1% a.m. por cima); pós-set/2024 o cível usa IPCA + taxa legal (Lei 14.905/2024).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
multaNo
indiceNo
parcelasYes
pro_rataNo
honorariosNo
juros_tipoNo
taxa_jurosNo
data_calculoNo
honorarios_tipoNo
periodicidade_jurosNo
multa_incide_sobre_jurosNo

Schema Changelog

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

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses that the tool corrects installments, applies interest/penalties/fees, and returns a per-installment breakdown plus totals. The legal regime warning adds important behavioral context that prevents incorrect calculations. No contradiction with annotations 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-purposeful sentences: the first fronts the purpose, scope, and output shape, and the second packages the essential legal caveat under 'ATENÇÃO'. There is no filler and no redundant repetition of schema content.

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?

Given 11 parameters, no output schema, and no schema-level descriptions, the description covers the main calculation inputs, the high-stakes legal rules, and the return format ('detalhamento por parcela e totais'). It leaves minor gaps for secondary parameters like pro-rata, fee type, and interest compounding behavior, which are likely inferable from the schema enums.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 does by adding meaning to 'indice' with a list of official indexes and by clarifying how SELIC, IPCA, juros, multa, and honorários should be treated. It does not individually cover every parameter such as pro_rata, honorarios_tipo, or periodicidade_juros, but the legal guidance meaningfully reduces ambiguity for the most critical inputs.

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 starts with 'Atualização monetária / liquidação de débito judicial' and explains that the tool 'corrige parcelas por um índice oficial' and 'aplica juros, multa e honorários'. This gives a specific verb, resource, and scope, clearly separating it from sibling calculators such as calculo_aluguel or calculo_indice.

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?

It provides clear context: the tool is for judicial debt monetary updating/settlement, and it even gives conditional legal guidance such as 'SELIC já engloba correção+juros' and 'pós-set/2024 o cível usa IPCA + taxa legal'. This is actionable parameter-level guidance, though it does not explicitly name alternative sibling tools or state when not to use them.

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

Each calculo_* tool targets a distinct legal/financial area (rent, alimony, FGTS, criminal sentencing, etc.), and their descriptions cite specific statutes that make the purpose clear. The only mild ambiguity is that calculo_atualizar and calculo_indice both handle generic monetary correction, while some INSS/FGTS tools share 'refund plus correction' semantics, but the specialized names avoid serious confusion.

Naming Consistency3/5

The 16 domain tools follow a consistent 'calculo_<topic>' snake_case pattern, but calculo_atualizar uses a verb where the rest use nouns. The six platform tools break the pattern entirely with short English names (authenticate, connect, marketplace, report_bug, show_version, toolkit_info), resulting in two readable but distinct naming conventions.

Tool Count3/5

At 22 tools, the set is in the heavy range, and while the 16 legal calculators each justify their place, the six unrelated MCP platform utilities bloat the count for a server named 'Atualização Monetária'. The breadth of the legal calculators makes this borderline rather than excessive, but the overall scope is less focused than a well-scoped 10-15 tool server.

Completeness4/5

The toolkit covers a remarkably wide set of Brazilian legal calculations: monetary correction, index factors, alimony, labor severance, FGTS, INSS refunds, bank contract revisions, criminal sentencing, prison progression, family division, retirement benefits, and contribution time. Minor gaps exist, such as no standalone general-interest calculator and no OCR for FGTS statements yet, but agents can work around these with the generic tools.