Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_quanto_rende_por_mes

Read-onlyIdempotent

Quanto um valor rende por mês e em 12 meses: calcula o rendimento mensal e o valor com juros compostos pela taxa de referência do produto (poupança 0,6719% ao mês, CDI 13,65% ao ano, Tesouro Selic, CDB 102% do CDI, LCI/LCA 95% do CDI, referência de novembro de 2026) ou pela taxa mensal que o usuário informar. Use quando o usuário perguntar quanto rende 100 mil na poupança por mês, quanto 50 mil rende no CDI, quanto rende 1 milhão na poupança ou quanto um valor rende a 1% ao mês. Informe o valor e o tipo de investimento; em vez do tipo, pode informar taxa_mensal (os dois juntos é erro). Devolve o rendimento do mês, o valor em 12 meses, a taxa usada, se é isento de IR e o link da calculadora com a resposta.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "valor": "<valor>"
    },
    "name": "calcular_quanto_rende_por_mes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNoProduto de referência. Padrão: poupanca. Não informe junto com taxa_mensal.
valorYesValor aplicado, em reais
taxa_mensalNoTaxa mensal em % para uma simulação própria (ex.: 1 para 1% ao mês). Não informe junto com tipo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered elsewhere. The description adds real context beyond that: it discloses the return payload (rendimento do mês, valor em 12 meses, taxa usada, isenção de IR, link) and pins the reference rates to a dated baseline (novembro de 2026). The only gap is that it does not say how the reference rates are sourced or updated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph but well ordered: purpose first, then usage triggers with examples, then parameter rules, then return values. The rate enumeration is bulky but each figure earns its place by letting the agent answer without a second call. Slight redundancy between the enumerated rates in the description and the enum list in the schema costs it a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of describing returns and it does so explicitly, listing all five output fields including the tax-exemption flag and the calculator link. For a three-parameter, read-only computation tool, an agent has everything needed to select and invoke it correctly.

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 coverage is 100%, so the baseline is 3, and the description earns above that by expanding on the enum: it spells out the actual reference rate behind each product (poupança 0,6719% ao mês, CDI 13,65% ao ano, CDB 102% do CDI, LCI/LCA 95% do CDI), which the schema does not carry. It also restates the mutual exclusivity of tipo and taxa_mensal and gives a concrete taxa_mensal example (1 para 1% ao mês).

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 and resource ('calcula o rendimento mensal e o valor com juros compostos') and bounds the scope to a single applied amount over one month and twelve months. The concrete example queries (100 mil na poupança, 50 mil no CDI) pin the scope tightly enough that it is distinguishable from the goal-seeking siblings like calcular_quanto_guardar_por_mes.

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 gives explicit trigger phrasing ('Use quando o usuário perguntar quanto rende...') plus four representative user questions, which is stronger than implied guidance. It also states the parameter exclusivity rule ('em vez do tipo, pode informar taxa_mensal (os dois juntos é erro)'). It stops short of naming a sibling alternative or a when-not-to-use condition for this tool as a whole, so it is not a 5.

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.