Skip to main content
Glama

Manage accounts

manage_account
Destructive

Money accounts (bank, card, cash, investment), one action per call. create: name, type, currency (entity optional). update: account plus new_name, type, currency or entity (history stays; an entity change affects future rows). set_balance: account, amount, optional currency and date: the REAL balance from the bank app at the end of that date; balances are this snapshot plus later flows. merge: source into target, moving every row, dropping duplicates (same type, currency, amount, date within dedup_window_days; the row with a bank reference wins) and deleting source; typical for a statement-import account and a bank-sync account of the same bank; run dry_run=true first and show the counts. delete: account with its snapshots; delete_transactions=true when it still has rows; delete_all_data erases everything. Transfers between own accounts never count as spending.

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": {
      "action": "<action>"
    },
    "name": "manage_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoset_balance: balance as of the end of this date. Default: today.
nameNocreate: short name, e.g. 'Revolut', 'Mono black', 'IBKR'.
typeNocreate (required), update: cash | bank | card | investment.
actionYes
amountNoset_balance: the balance shown by the bank or broker.
entityNocreate, update: personal (default) or business, the default scope of the account's rows.
sourceNomerge: account to merge FROM (deleted afterwards).
targetNomerge: account to merge INTO (kept).
accountNoupdate, set_balance, delete: the account's name (see get_accounts).
dry_runNomerge: preview counts without changing anything.
currencyNocreate (required): main currency. update: main currency the balance is shown in. set_balance: default the account's.
new_nameNoupdate: the new name.
dedup_window_daysNomerge: duplicate match window in days, default 3; 0 = bank-reference duplicates only.
delete_transactionsNodelete: must be true when the account still has transactions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds substantial behavior beyond them: update preserves history while an entity change only affects future rows; set_balance is a snapshot so 'balances are this snapshot plus later flows'; merge moves every row, resolves duplicates by the 'row with a bank reference wins' rule, and deletes the source; delete also removes snapshots. This is exactly the consequence-level disclosure a destructive tool needs.

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?

The description is front-loaded with the resource scope and then structured as a labeled per-action list, which makes a 14-parameter, five-action tool scannable. It is dense and some clauses (e.g. the transfer/spending note) sit outside the action list, but almost every sentence carries non-obvious operational content.

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?

For a destructive, multi-action tool with no output schema, the description covers the important gaps: what is kept vs destroyed per action, the required dry-run workflow for merge, and the extra flag needed to delete a populated account. Return-value expectations are only partially addressed (dry_run 'counts'), which keeps it from a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 93%, so the schema already documents most parameters and the baseline is 3. The description still earns credit for conceptual meaning the schema does not convey: set_balance means 'the REAL balance from the bank app at the end of that date', merge dedup semantics (same type, currency, amount, date within dedup_window_days, bank-reference row wins), and that transfers between own accounts never count as spending.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific resource ('Money accounts (bank, card, cash, investment)') and explicitly frames the tool as a multi-action dispatcher with one action per call, then names all five actions. It is clearly distinguishable from siblings like get_accounts or delete_all_data, though it never states in prose that get_accounts is the listing counterpart (only the schema's 'account' field mentions it).

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?

Each action carries concrete usage guidance: merge is flagged as 'typical for a statement-import account and a bank-sync account of the same bank' with an instruction to 'run dry_run=true first and show the counts', and delete requires delete_transactions=true 'when it still has rows'. It lacks explicit when-not-to-use or named-alternative routing, so it stops short of a 5.

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.