Skip to main content
Glama

Moedux — Finanças Brasileiras

calcular_quanto_posso_gastar_por_dia

Read-onlyIdempotent

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. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description goes further by disclosing the calculation order (subtract conta_fixa and economia_mensal, divide by days until next income), the downward cent rounding with its rationale ('para o teto nunca passar do disponível'), the defaults for optional fields, and what the response contains (teto por dia, disponível, link). It also clarifies that conta_fixa changes meaning between the two modes.

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?

A single dense paragraph that front-loads the core question and the mutual-exclusivity rule, then adds the formula, triggers, and caveats in descending priority. Every sentence carries information, though the passage on what Moedux observes is slightly tangential and the block is heavier than it needs to be.

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?

For a no-output-schema calculation tool, the description is unusually complete: it gives the formula, rounding direction, defaults, output contents, and the conceptual scope of the result. It does not say what happens if both entrada_mensal and saldo_hoje are supplied or if neither is, nor what the returned calculator link does, leaving minor gaps.

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 all five parameters, their defaults, and the conta_fixa mode split are already documented in structured data. The description largely restates that (defaults 0 and 30, the entrada_mensal/saldo_hoje either-or, the meaning of conta_fixa per mode) rather than adding new semantics, so the baseline 3 is right.

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 computation (daily spending ceiling) and spells out the inputs and the arithmetic that produce it. It also draws a sharp line between this planning ceiling and related-but-different concepts (actual spending, an app-configured limit), so an agent can distinguish it from the sibling calculators without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It lists concrete user phrasings that should trigger this tool (quanto posso gastar por dia, quanto sobra por dia, limite diário, tenho um saldo e quero saber até o próximo salário) and states the mode-selection rule: exactly one of entrada_mensal or saldo_hoje. The closing sentence effectively marks when the answer is not the right frame (it is a ceiling, not observed spending or a configured limit).

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.