Skip to main content
Glama

Update bank account currency

update_bank_account_currency

Change the currency of an existing bank account by id. The ledger account moves with it, and a stored opening balance is repriced in the new currency. An account that already has transactions is refused, unwritten, with code confirm-required until the same call is repeated with confirm true.

Input Schema

NameRequiredDescriptionDefault
idYesID of the bank account
confirmNotrue to change it although the account already has transactions
currencyYesThe new three-letter ISO currency code, e.g. USD
openingrateNoRate for the opening balance, in account units per one base unit; the feed's rate otherwise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false). The description goes well beyond that, disclosing side effects (ledger account moves, opening balance repriced) and the exact failure protocol: accounts with transactions are refused, unwritten, returning code confirm-required until repeated with confirm true.

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?

Three tight sentences, front-loaded with the operation, then effects, then the failure/retry rule. No filler; each 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?

For a 4-param mutation tool with no output schema, this covers purpose, side effects and refusal behavior well. The remaining gap is what a successful call yields/returns, but that is minor given no output schema exists.

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 100%, so the baseline is 3; the schema already documents id, currency, confirm and openingrate. The description adds real meaning on top of that, explaining the confirm gate's error code and the repeat-with-confirm-true workflow, though it says nothing further about openingrate or the base-unit rate semantics beyond the schema.

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?

States a specific verb and resource ('Change the currency of an existing bank account by id'), which is a precise sub-operation distinguishable from the broader sibling update_bank_account and from convert_currency. An agent can tell what this does without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied (existing account, by id) and it describes the refusal/retry path, but it never names an alternative (update_bank_account, convert_currency) or states when this is the right choice versus those. Adequate but without explicit routing.

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.

Resources