Skip to main content
Glama

Update bank account

update_bank_account
DestructiveIdempotent

Changes the bank name, BIC or currency of a bank account of a company. Only the given fields change. The IBAN and the default account are not changed by this tool; change_payment_details changes them.

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

Input Schema

NameRequiredDescriptionDefault
bicNoThe BIC (SWIFT code) of the bank: 8 or 11 upper-case letters and digits without spaces; null clears it.
currencyNoThe currency of the account.
bank_nameNoThe name of the bank (one line); null clears it.
account_idYesThe id of the bank account, from get_company with include "accounts".
company_idYesThe id of the company, from list_companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true; the description usefully adds partial-update semantics ("Only the given fields change") and the untouched-field scope, which tempers the destructive flag. It does not explain permissions needed or that null clears fields (that detail lives only in the schema), so it is strong but not complete.

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?

Two short sentences with the mutation scope front-loaded and the exclusion/alternative immediately after; no filler. Slightly compressed phrasing ("of a company") costs a little readability but nothing is wasted.

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 5-parameter, fully documented mutation tool with annotations and no output schema, the description covers scope, partial-update behavior, and the sibling alternative. It leaves return behavior and any failure/validation conditions unstated, a minor gap given the rich schema.

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 bic, currency, bank_name, and the two ids including the null-clears behavior. The description only names the same three mutable fields, adding no format or validation detail beyond the schema, so the baseline 3 applies.

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 (changes) plus the exact mutable fields (bank name, BIC, currency) and the resource (a bank account of a company), and explicitly carves out the fields it does not touch. An agent can distinguish it from change_payment_details without opening either schema.

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

Usage Guidelines5/5

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

The second sentence routes the agent away from this tool for IBAN and default-account edits and names the alternative that handles them (change_payment_details). The condition selecting each tool is stated, not inferred.

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