Skip to main content
Glama

Beancount.io

Set Bank Account Currency

setBankAccountCurrency
DestructiveIdempotent

Set a linked bank account's currency; replaces the current value.

Input Schema

NameRequiredDescriptionDefault
ledgerNoTarget ledger as owner/name. Required for an unpinned credential; defaults to the credential's ledger restriction.
currencyYesThe account's currency, e.g. USD.
accountIdNoThe linked bank account's id.
account_idNoAlias of accountId.

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accountId
      Added value: +{
      +  "description": "The linked bank account's id.",
      +  "type": "string"
      +}
    • changedInput schema / properties / account_id / description
      Previous value: -"The linked bank account's id (account_id)."New value: +"Alias of accountId."
    • changedInput schema / required
      Previous value: -[
      -  "account_id",
      -  "currency"
      -]New value: +[
      +  "currency"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the agent knows this is a write that overwrites the current value. The description adds that it 'replaces the current value,' which reinforces the destructive trait, but it doesn't mention permissions, validation requirements, error behavior, or consequences for related records.

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?

A single short sentence with the destructive replacement behavior front-loaded. It is efficient, though it could be slightly more informative without becoming bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has full schema coverage, an output schema, and annotations covering safety/idempotency, the description is minimally adequate. However, for a destructive mutation on a linked bank account, the absence of any usage context or prerequisite warnings leaves a noticeable gap.

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 all four parameters are already documented in the schema, including the ledger credential restriction, currency example, and the accountId/account_id alias relationship. The description adds no parameter-level detail beyond the schema, which is the expected baseline when coverage is high.

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?

States a specific verb+resource: setting a linked bank account's currency. It's distinguishable from siblings like mapBankAccount, listBankConnections, or refreshBankConnection which deal with different bank-connection operations. However, it doesn't explicitly say which sibling to use for adjacent tasks (mapping vs. setting currency), leaving some ambiguity.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives like mapBankAccount or refreshBankConnection, nor any prerequisites such as requiring an existing linked account. Only implied usage comes from the verb 'set'.

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.