fin-app-mcp 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +7 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -564,15 +564,16 @@ REGRAS DE NEGÓCIO:
|
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
566
|
name: "fin_deletar_transacao",
|
|
567
|
-
description: `Deleta
|
|
567
|
+
description: `Deleta apenas a transação especificada pelo ID.
|
|
568
568
|
|
|
569
|
-
QUANDO USAR: remover uma transação lançada por engano ou duplicada.
|
|
569
|
+
QUANDO USAR: remover uma transação lançada por engano ou duplicada, ou remover uma parcela específica de um parcelamento sem afetar as outras.
|
|
570
570
|
|
|
571
571
|
CAMPOS:
|
|
572
572
|
- transaction_id: string UUID — ID da transação (obrigatório).
|
|
573
573
|
|
|
574
574
|
REGRAS DE NEGÓCIO:
|
|
575
|
-
-
|
|
575
|
+
- **Deleta APENAS a transação especificada.** Se a transação faz parte de um parcelamento, as outras parcelas do mesmo installment_group_id permanecem intactas.
|
|
576
|
+
- Para apagar um grupo inteiro de parcelamento, delete cada parcela individualmente usando os IDs retornados por fin_buscar_transacoes ou fin_todas_transacoes.
|
|
576
577
|
- A operação é irreversível.`,
|
|
577
578
|
inputSchema: {
|
|
578
579
|
type: "object",
|
|
@@ -896,7 +897,7 @@ EXEMPLO — cartão migrado com fatura já aberta:
|
|
|
896
897
|
institution: { type: "string", description: "Nome da instituição financeira" },
|
|
897
898
|
type: { type: "string", description: "'cash' ou 'credit'" },
|
|
898
899
|
initial_balance_cents: { type: "number", description: "Saldo inicial em centavos (default: 0)" },
|
|
899
|
-
initial_invoice_date: { type: "string", description: "YYYY-MM-DD — data da fatura inicial. Omitir para cartão sem cutoff histórico (recomendado)." },
|
|
900
|
+
initial_invoice_date: { type: ["string", "null"], description: "YYYY-MM-DD — data da fatura inicial. Omitir ou passar null para cartão sem cutoff histórico (recomendado)." },
|
|
900
901
|
initial_invoice_amount_cents: { type: "number", description: "Valor da fatura inicial em centavos. Use com initial_invoice_date." },
|
|
901
902
|
closing_day: { type: "number", description: "Dia de fechamento da fatura (1-28, obrigatório para credit)" },
|
|
902
903
|
due_day: { type: "number", description: "Dia de vencimento da fatura (1-28, obrigatório para credit)" },
|
|
@@ -938,7 +939,7 @@ EXEMPLO — remover cutoff de um cartão criado errado:
|
|
|
938
939
|
institution: { type: "string", description: "Nova instituição" },
|
|
939
940
|
type: { type: "string", description: "'cash' ou 'credit'" },
|
|
940
941
|
initial_balance_cents: { type: "number", description: "Novo saldo inicial em centavos" },
|
|
941
|
-
initial_invoice_date: { type: "string", description: "YYYY-MM-DD ou null — data da fatura inicial (cutoff histórico)" },
|
|
942
|
+
initial_invoice_date: { type: ["string", "null"], description: "YYYY-MM-DD ou null — data da fatura inicial (cutoff histórico). Passe null para remover o cutoff." },
|
|
942
943
|
initial_invoice_amount_cents: { type: "number", description: "Valor da fatura inicial em centavos" },
|
|
943
944
|
closing_day: { type: "number", description: "Novo dia de fechamento (1-28)" },
|
|
944
945
|
due_day: { type: "number", description: "Novo dia de vencimento (1-28)" },
|
|
@@ -1224,7 +1225,7 @@ async function handleTool(name, args) {
|
|
|
1224
1225
|
// ── Server ──────────────────────────────────────────────────────────
|
|
1225
1226
|
|
|
1226
1227
|
const server = new Server(
|
|
1227
|
-
{ name: "fin-app", version: "2.3.
|
|
1228
|
+
{ name: "fin-app", version: "2.3.2" },
|
|
1228
1229
|
{ capabilities: { tools: {}, resources: {} } }
|
|
1229
1230
|
);
|
|
1230
1231
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fin-app-mcp",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "MCP server para o FIN App — finanças pessoais. Expõe tools para agents LLM operarem contas, despesas, faturas de cartão, bills recorrentes e mais.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.mjs",
|