Skip to main content
Glama
Storno CLI

Storno CLI

Official
by stornoro

bank_accounts_create

Create a bank or cash account for the active company, with IBAN, currency, default status, and optional opening balance for cash-register reporting.

Instructions

Add a new bank account to the active company. For type=bank, IBAN is required and must be unique within the company. For type=cash (the till that backs POS / cash-register reports), IBAN is optional and openingBalance/openingBalanceDate enable cash-register tracking. A company can have at most one cash account. If isDefault is true, any existing default account for that currency is demoted.

Input Schema

NameRequiredDescriptionDefault
ibanNoInternational Bank Account Number in valid IBAN format (e.g., "RO49AAAA1B31007593840000"). Required for type=bank, optional for type=cash.
typeNoAccount type. "bank" (default) for IBAN-backed accounts; "cash" for the physical till that backs POS / cash-register reports.
bankNameNoName of the bank (e.g., "BCR", "Banca Transilvania", "ING Bank")
currencyNoCurrency code ISO 4217 (default: "RON"). Use "EUR" for Euro accounts.
companyIdNoCompany UUID override (uses active company if not set)
isDefaultNoSet as default account for this currency (default: false)
openingBalanceNoInitial cash-on-hand. Required to enable cash-register reporting on cash accounts. Once set, locks and can only be modified via forward-going cash movements. Must be >= 0.
openingBalanceDateNoDate the opening balance was taken (YYYY-MM-DD). Required when openingBalance is supplied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag non-readOnly, non-idempotent, non-destructive. The description adds the non-obvious side effects an agent needs: per-company IBAN uniqueness, a hard limit of one cash account per company, openingBalance locking after set, and demotion of an existing default account for the same currency when isDefault is 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?

Four tight sentences, front-loaded with the action, then the type-specific constraints, then the singleton cash rule, then the default-demotion side effect. No sentence is redundant with the schema or annotations.

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 an 8-param mutation with no output schema, the description covers the business invariants well, but it never says what the call returns (e.g., created account id) or whether any permission/role is required. Those are modest gaps rather than blockers.

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, but the description adds conditional meaning the schema states only per-field: IBAN required only for type=bank, and the default-demotion consequence of isDefault, which the schema's "Set as default account for this currency" does not convey. It leaves companyId override behavior and currency interaction to 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?

Opening sentence gives a precise verb+resource+scope: "Add a new bank account to the active company." The create semantics and the two account variants (bank vs cash) are unambiguous, so an agent can distinguish it from bank_accounts_update/list/delete 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 Guidelines4/5

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

The description clearly conditions usage on type: IBAN required for bank, optional for cash, and cash accounts exist to back POS/cash-register reports. It stops short of naming alternatives (e.g., bank_accounts_update for modifying an existing account) or stating exclusions, but the when-to-use context is explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools