Skip to main content
Glama

Remove Account

remove_account
DestructiveIdempotent

Archive or delete a financial account by resolving a conflict prompt; deletion is blocked while active transactions exist.

Instructions

Remove a financial account by archiving (hides from active views, recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL. Accounts with active (non-deleted) transactions cannot be deleted - the delete option becomes available once the account has no live transactions.

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": {
      "account_id": "<account_id>"
    },
    "name": "remove_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDeprecated: use `resolution`. 'archive' / 'delete' / 'cancel'.
account_idYesAccount UUID to remove.
resolutionNoResolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is to add specifics, which it does: archive hides but is recoverable, the first call is non-committal and returns a resolution conflict, and deletion is gated on live transactions. The one soft spot is the word 'permanently deleting,' which sits uneasily beside the schema's note that 'confirm' is recoverable for 30 days — a mild internal inconsistency, though not a contradiction of the annotations.

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 tight sentences, front-loaded with the action and the archive/delete distinction before the flow detail. The final sentence about transaction gating is slightly convoluted but every sentence carries information an agent needs.

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 correctly takes on the burden of describing the conflict response and the resolution options, which it does. It stops short of describing what a successful (non-conflict) call returns, leaving the agent to infer the outcome of a confirmed archive or delete.

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 description coverage is 100%, so the schema already documents account_id, mode (deprecated), and resolution. The description adds real value by explaining the interactive conflict flow, but it labels the options ARCHIVE / DELETE / CANCEL while the actual enum is confirm / archive / cancel — the 'DELETE' vs 'confirm' mismatch forces the agent to reconcile the two, and the deprecated `mode` parameter is never addressed.

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?

The description opens with a specific verb+resource ('Remove a financial account') and immediately disambiguates the two removal semantics (archive vs. delete) that the tool supports. An agent can distinguish this from siblings like remove_transaction or remove_category without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear conditional rule: deletion is blocked while the account has active (non-deleted) transactions, and archive remains available. The two-step conflict flow (first call returns ARCHIVE / DELETE / CANCEL) tells the agent how to proceed after the initial call. It does not, however, point to related siblings such as restore_item or purge_item for recovery/cleanup paths.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools