fin_deletar_transacao
Deleta apenas a transação especificada pelo ID. 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. CAMPOS: - transaction_id: string UUID — ID da transação (obrigatório). REGRAS DE NEGÓCIO: - Deleta APENAS ...
This record as markdown: /tools/genius-fin-mcp/fin-deletar-transacao.md
What fin_deletar_transacao does on Genius Fin
AI agents call fin_deletar_transacao to permanently remove resources in Genius Fin, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Why fin_deletar_transacao is rated Critical
An AI agent that decides to call fin_deletar_transacao doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Genius Fin is gone. There is no undo for destructive operations.
Attacks that exploit this kind of access
The rule that runs fin_deletar_transacao safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Genius Fin, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For fin_deletar_transacao, this is the rule to start with:
fin_deletar_transacao is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Genius Fin, apply this rule, and every fin_deletar_transacao call is checked against it from then on.
Questions about fin_deletar_transacao
Deleta apenas a transação especificada pelo ID. 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. CAMPOS: - transaction_id: string UUID — ID da transação (obrigatório). REGRAS DE NEGÓCIO: - 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. - Exceção: perna de câmbio (as duas linhas de fin_cambio). Apagar uma perna apaga as duas, porque câmbio pela metade deixaria um saldo andando sem o outro; a resposta traz removed_count: 2 e removed_exchange_pair (exchange_pair_id e os transaction_ids das duas). Fora do câmbio, removed_count é 1 e removed_exchange_pair não vem. A perna órfã (câmbio que ficou com uma perna só, sobra de antes) apaga só a si mesma, com removed_count: 1 e removed_exchange_pair de um id. - Para apagar um grupo inteiro de parcelamento, delete cada parcela individualmente usando os IDs retornados por fin_buscar_transacoes ou fin_todas_transacoes. - A operação é irreversível. It is categorised as a Destructive tool in the Genius Fin MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Genius Fin MCP server in PolicyLayer and add a rule for fin_deletar_transacao: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Genius Fin. Nothing to install.
fin_deletar_transacao is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the fin_deletar_transacao rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for fin_deletar_transacao. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
fin_deletar_transacao is provided by the Genius Fin MCP server (genius-fin-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Genius Fin, and thousands of servers like it.
Across the catalogue