Skip to main content
Glama

Alugar ou Comprar — MCP Server

compare_amortization_strategies

Compara 3 estratégias de uso de uma renda extra mensal: A) pagar apenas a parcela do financiamento, B) investir a renda extra, C) amortizar extraordinariamente o financiamento. Retorna o patrimônio líquido final de cada estratégia, o breakeven e uma recomendação.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itbiPctNoITBI (% do valor do imóvel)
prazoAnosNoPrazo do financiamento em anos
entradaPctNoPercentual de entrada (%)
valorImovelYesValor do imóvel (R$)
iptuAnualPctNoIPTU anual (% do valor do imóvel)
aluguelMensalYesAluguel mensal inicial (R$)
rentIncreasePctNoReajuste anual do aluguel (%)
rendaExtraMensalYesRenda extra mensal disponível para amortização ou investimento (R$)
amortizationSystemNoSistema de amortização (PRICE ou SAC)
taxaValorizacaoPctNoTaxa anual de valorização do imóvel (%)
custoOportunidadePctNoRendimento anual alternativo do capital (%)
tempoPermanenciaAnosNoHorizonte de permanência em anos
taxasTransacaoVendaPctNoTotal de taxas de transação de venda (% do valor do imóvel)
taxasTransacaoCompraPctNoTotal de taxas de transação de compra (% do valor do imóvel)
taxaFinanciamentoNominalPctNoTaxa de juros nominal anual do financiamento (%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does clarify what the tool compares and returns, but it does not disclose underlying assumptions, how the strategies are modeled, or any limitations; the agent only learns that this is an analysis/comparison tool rather than a mutating operation.

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 a single, information-dense sentence that front-loads the main action, enumerates the three strategies clearly, and states the outputs. Every part earns its place with no filler.

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?

Given 15 parameters, no annotations, and no output schema, the description gives a useful overview but remains thin for the tool's complexity. It does not explain what 'breakeven' means, which parameters drive each strategy, or the expected output format, so an agent has to infer significant context from parameter names alone.

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 100%, so the parameters are already well documented. The description adds little parameter-level meaning beyond mentioning 'renda extra mensal' and 'amortizar', which is consistent with the high baseline but does not elevate it.

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 ('Compara') and exactly which three strategies are compared, listing them as A, B, and C. It also names concrete outputs (final net worth, breakeven, recommendation), which clearly distinguishes this from sibling tools like simulate_buy_vs_rent and sensitivity_analysis.

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 intended context is implied: use when deciding what to do with a monthly extra income in a financing scenario. However, the description does not explicitly state when to prefer this tool over alternatives or when not to use it, leaving the routing decision to inference.

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.

Resources