Skip to main content
Glama

Moedux — Brazilian Personal Finance & Salary Calculator

calcular_quanto_posso_gastar_por_dia

Quanto posso gastar por dia: informe entrada_mensal (planejando pelo mês) OU saldo_hoje (o dinheiro que já está na conta) — exatamente um dos dois. Subtrai a conta_fixa (Conta Fixa mensal no modo entrada; contas a vencer até a próxima entrada no modo saldo) e a economia_mensal, divide pelos dias até a próxima entrada e arredonda para baixo ao centavo para o teto nunca passar do disponível. Use quando o usuário perguntar quanto pode gastar por dia, quanto sobra por dia depois das contas, qual é o limite diário de gasto, ou disser que tem um saldo na conta e quer saber quanto pode gastar até o próximo salário. Economia e dias são opcionais (padrão 0 e 30). É um teto de planejamento, não o gasto real nem um limite configurado no app: o Moedux observa o Gasto Diário dos últimos 30 dias. Devolve o teto por dia, o disponível e o link da calculadora com os números preenchidos.

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": {
      "conta_fixa": "<conta_fixa>"
    },
    "name": "calcular_quanto_posso_gastar_por_dia"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNoDias até a próxima entrada. Padrão: 30 (mês cheio)
conta_fixaYesCom entrada_mensal: a Conta Fixa mensal em reais (aluguel, contas e parcelas que vencem todo mês). Com saldo_hoje: as contas a vencer até a próxima entrada.
saldo_hojeNoSaldo que já está na conta hoje, em reais. Use quando o dinheiro já caiu e a pergunta é quanto dá para gastar até a próxima entrada; as contas a vencer saem dele antes da divisão.
entrada_mensalNoEntrada mensal líquida em reais, já sem INSS e Imposto de Renda. Use este campo OU saldo_hoje, não os dois.
economia_mensalNoQuanto a pessoa quer guardar, em reais. Padrão: 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / conta_fixa / description
      Previous value: -"Conta Fixa mensal em reais: aluguel, contas e parcelas que vencem todo mês"New value: +"Com entrada_mensal: a Conta Fixa mensal em reais (aluguel, contas e parcelas que vencem todo mês). Com saldo_hoje: as contas a vencer até a próxima entrada."
    • changedInput schema / properties / economia_mensal / description
      Previous value: -"Quanto a pessoa quer guardar por mês, em reais. Padrão: 0"New value: +"Quanto a pessoa quer guardar, em reais. Padrão: 0"
    • changedInput schema / properties / entrada_mensal / description
      Previous value: -"Entrada mensal líquida em reais, já sem INSS e Imposto de Renda"New value: +"Entrada mensal líquida em reais, já sem INSS e Imposto de Renda. Use este campo OU saldo_hoje, não os dois."
    • addedInput schema / properties / saldo_hoje
      Added value: +{
      +  "description": "Saldo que já está na conta hoje, em reais. Use quando o dinheiro já caiu e a pergunta é quanto dá para gastar até a próxima entrada; as contas a vencer saem dele antes da divisão.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "entrada_mensal",
      -  "conta_fixa"
      -]New value: +[
      +  "conta_fixa"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the mutual-exclusion rule for entrada_mensal vs saldo_hoje, that conta_fixa changes meaning by mode, the rounding direction and why (ceiling never exceeds available), the defaults for optional fields, and the return payload.

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?

One dense paragraph, front-loaded with the question it answers and the either/or input choice, then the formula, then triggers, then disclaimers. Every sentence carries information, though the run-on structure makes the conditional logic harder to scan than a short bulleted breakdown would.

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, and the description still states what comes back (daily ceiling, available amount, calculator link). Combined with the formula, mode rules, and defaults, an agent has everything needed to call this correctly without guessing.

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 adds real value on top: the 'exactly one of the two' XOR constraint, which the schema does not enforce (only conta_fixa is required), and the mode-dependent reading of conta_fixa. The defaults for economia and dias are restated from the schema and add nothing new.

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 the exact computation (subtract conta_fixa and economia_mensal, divide by days to next income, round down to the cent) and its output (daily ceiling, available amount, pre-filled calculator link). An agent can tell this apart from savings-projection siblings by the formula and framing.

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 phrasings ('quanto pode gastar por dia', 'quanto sobra por dia depois das contas', 'tem um saldo na conta') and a clear when-not (not actual spend, not an app-configured limit). It does not name the nearest sibling alternative (e.g. the how-much-to-save calculator), so routing relies on the agent inferring from the formula.

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.