archive_account

Archive an account. Only allowed when balance is zero.

Server Finance App youssefaltai/finance-app
Category Destructive
Risk class Critical
Parameters 00 required

What archive_account does on Finance App

AI agents call archive_account to permanently remove resources in Finance App — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why archive_account needs a policy

Archiving an account is effectively irreversible in accounting systems — it removes the account from active use and cannot be easily undone without administrative intervention. In double-entry accounting, archived accounts are typically hidden or locked from future transactions. While it's not a hard delete, it renders the account unusable and is a significant, hard-to-reverse action.

From the tool's definition Archive an account. Only allowed when balance is zero.

Questions about archive_account

What does the archive_account tool do? +

Archive an account. Only allowed when balance is zero. It is categorised as a Destructive tool in the Finance App MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on archive_account? +

Register the Finance App MCP server in PolicyLayer and add a rule for archive_account: 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 Finance App. Nothing to install.

What risk level is archive_account? +

archive_account is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit archive_account? +

Yes. Add a rate_limit block to the archive_account 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.

How do I block archive_account completely? +

Set action: deny in the PolicyLayer policy for archive_account. 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.

What MCP server provides archive_account? +

archive_account is provided by the Finance App MCP server (youssefaltai/finance-app). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.