Skip to main content
Glama

Prepare changing the payment details

prepare_change_payment_details

Checks a change of the details where the customers of a company pay and send e-invoices to (the electronic address of the company, the IBAN of a bank account, the default bank account) and returns a summary of the change for the user's confirmation: each change as old and new value (the new IBAN of an account and the IBAN of the new default account in full, the old ones masked), the invoice drafts that get a new electronic address and the effect of each change, with a one-time confirmation token valid for 10 minutes. No data of the company or its documents is changed.

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>"
    },
    "name": "prepare_change_payment_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
ibanNoThe new IBAN of the bank account account_id; spaces are allowed and removed.
account_idNoThe id of the bank account whose IBAN changes, from get_company with include "accounts"; required with iban.
company_idYesThe id of the company, from list_companies.
electronic_addressNoThe new electronic address where the company receives e-invoices; only the given keys change, null removes the address.
primary_account_idNoThe id of the bank account that becomes the default account of the company, from get_company with include "accounts".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false, destructiveHint=false and idempotentHint=false; the description adds real value on top by stating no company data is changed, that old IBANs are masked while new ones are full, that affected invoice drafts are listed, and that the token is single-use and expires in 10 minutes. The only soft gap is that it does not explain how readOnlyHint=false squares with 'no data is changed' (token issuance).

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

Conciseness3/5

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

The core action is front-loaded, but everything is packed into one long sentence with nested parentheticals, which makes the return-value contract hard to parse. Splitting the 'what it does' from 'what it returns' would cost nothing in length and gain clarity.

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?

With no output schema, the description correctly carries the burden of describing the return value (old/new pairs, masking, affected drafts, effect of each change, token lifetime) and is complete enough to call correctly. It stops short of covering error conditions (invalid IBAN/scheme) and the hand-off to the confirming tool.

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 company_id, account_id, iban, primary_account_id and the nested electronic_address. The description only re-states the parameter domains in prose ('the electronic address of the company, the IBAN of a bank account, the default bank account') without adding format, pairing, or validation meaning, so the baseline 3 applies.

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 uses a specific verb and resource: it checks a proposed change of payment details (electronic address, IBAN, default account) and returns a confirmation summary plus a one-time token. It clearly separates itself from an apply-style tool by stating it prepares rather than performs, though it never names the sibling (change_payment_details) that would consume the token.

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 rather than stated: 'returns a summary of the change for the user's confirmation' and a 'one-time confirmation token valid for 10 minutes' tell the agent this is a pre-commit step. There is no explicit when-to-use/when-not statement and no named follow-up tool, so the agent must infer the two-step flow.

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