Skip to main content
Glama

Moedux — Calculadoras financeiras e trabalhistas do Brasil

prever_mar_vermelho

Data do Mar Vermelho (quando o saldo chega a zero) e o próximo passo — o menor corte de Saída mensal que a evita em 12 meses — a partir de Saldo Inicial, Entrada mensal e Conta Fixa. Usa o mesmo motor de projeção do diagnóstico do Moedux e devolve um link com os valores já preenchidos. Não projeta o saldo mês a mês: para a curva mês a mês use projetar_saldo_12_meses.

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": {
      "saldo": "<saldo>",
      "entrada": "<entrada>",
      "saida": "<saida>"
    },
    "name": "prever_mar_vermelho"
  }
}

Input Schema

NameRequiredDescriptionDefault
saidaYesConta Fixa mensal em reais
saldoYesSaldo Inicial em reais
entradaYesEntrada mensal recorrente em reais

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose meaningful behavior: it reuses the same projection engine as the Moedux diagnostic and returns a link with values pre-filled, which tells the agent the output form without needing an output schema. Gaps remain on edge cases an agent would care about — what is returned if the balance never reaches zero, or if no feasible cut avoids it within 12 months.

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?

Three sentences, front-loaded with the core computation before the behavioral note and the sibling exclusion. Dense but every clause carries information; minor length comes from the parenthetical gloss of the metaphor.

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?

For a 3-parameter, no-annotation, no-output-schema tool, the description covers purpose, engine provenance, and return form (a pre-filled link), which is substantial. It does not address degenerate outcomes (no zero-crossing, no sufficient cut), which for a forecasting tool the agent may need to interpret the result.

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 coverage is 100% and each parameter already carries a Portuguese description ('Saldo Inicial em reais', 'Entrada mensal recorrente em reais', 'Conta Fixa mensal em reais'). The description restates these three labels in prose ('a partir de Saldo Inicial, Entrada mensal e Conta Fixa') but adds no format, unit, or constraint detail beyond the schema, so the baseline 3 applies.

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?

Names a specific computed quantity (the date the balance hits zero, glossed in parentheses as 'mar vermelho') plus the secondary output (the smallest monthly outflow cut that avoids it within 12 months), and states its inputs. It also explicitly contrasts itself with the sibling projetar_saldo_12_meses, so an agent can separate the two without opening either 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?

States an explicit exclusion ('Não projeta o saldo mês a mês') and routes to the named alternative ('use projetar_saldo_12_meses') with the condition that selects it. That is the when-not/alternative pattern in full.

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