Skip to main content
Glama

Smart Money

Edit an account

update_account
DestructiveIdempotent

Changes an existing account. Only the fields passed are changed; institution, last4, note and creditLimit can be cleared with null. archived: true hides the account while keeping its history. annualRatePercent turns the account into an interest-bearing one, null removes the interest terms. Currency can be changed only while the account has no transactions. Account IDs come from list_accounts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAccount ID (see list_accounts)
kindNo
nameNo
noteNo
last4No
archivedNo
currencyNoISO 4217 code, e.g. KZT, USD
openedOnNo
maturesOnNo
capitalizeNoCompound the interest
creditLimitNoCredit limit in major units, credit accounts
institutionNo
openingBalanceNoOpening balance in major units
annualRatePercentNoNominal annual interest rate in percent; null removes the interest terms
includeInNetWorthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds valuable behavioral detail beyond annotations: null clears fields, archived hides history, annualRatePercent turns the account interest-bearing, and the currency restriction. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, dense paragraph with no filler. The core action is front-loaded, and each clause adds distinct information. It avoids restating schema details, focusing only on behavior.

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?

Given the 15-parameter schema and low description coverage, the description covers the most critical behaviors (null semantics, archiving, currency constraint, interest terms). The presence of an output schema reduces the need to explain return values. However, it omits behavior for fields like kind and openedOn, which might require inference, but overall it is sufficient for an agent to make correct update calls.

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 low at 40%, so the description carries extra weight. It explains the semantics of null for institution, last4, note, creditLimit, and annualRatePercent, and clarifies the currency change restriction. However, it doesn't address parameters like kind, name, openedOn, includeInNetWorth, leaving some ambiguity, but the description compensates meaningfully for the coverage gap.

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 'Changes an existing account' – a specific verb and resource. It then enumerates the mutable fields and clarifies scoping (only passed fields change), which clearly separates it from create_account and delete_account. The mention of list_accounts for IDs further distinguishes the update workflow.

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?

While it doesn't explicitly say 'use this instead of create/delete', it provides a concrete usage rule: currency can only change when no transactions exist, and IDs come from list_accounts. This gives agents actionable constraints. It could be improved by explicitly stating 'for new accounts use create_account', but the context is reasonably clear.

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.