Skip to main content
Glama

Moedux — Finanças Brasileiras

prever_mar_vermelho

Read-onlyIdempotent

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.3/5.0
Behavior4/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 adds real context beyond them: it says it reuses Moedux's projection engine and returns a link with values pre-filled, which tells the agent the output is a URL with state rather than raw numbers. It stops short of detailing edge cases (e.g. balance already at zero) or rate/pagination behavior.

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 primary output, then the mechanism, then the sibling exclusion — no filler. It is somewhat jargon-dense ('Mar Vermelho', 'motor de projeção') but each clause carries information.

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?

With no output schema, the description usefully characterizes what comes back (a date, a suggested cut, and a pre-filled link) plus the 12-month horizon, which is enough to call it correctly. Minor gaps remain around behavior when the balance is already non-positive and what the link points to.

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 property already carries a description tying it to a domain term ('Saldo Inicial em reais', 'Entrada mensal recorrente', 'Conta Fixa mensal'). The description restates those same three concepts without adding units, ranges, or defaults beyond what the schema provides, 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?

States a specific computed outcome (the date the balance hits zero plus the smallest monthly 'Saída' cut that avoids it over 12 months) and the exact inputs it derives that from. It also explicitly distinguishes itself from 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?

Contains an explicit exclusion and redirect: 'Não projeta o saldo mês a mês: para a curva mês a mês use projetar_saldo_12_meses.' The when-to-use case is implied by the stated output (zero-balance date plus corrective cut), and the when-not-to-use case is spelled out with the alternative named.

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.