Skip to main content
Glama
1c-odata-mcp

1c-odata-mcp

by foxnaim

Создать банковский счёт контрагента

write.counterparty.create_bank_account

Creates a counterparty bank account from bank BIK and account number, optionally marking it primary; previews by default and writes only with confirm=true.

Instructions

Заводит расчётный счёт контрагента (подчинённый справочник): банк по БИК + номер счёта. Можно сделать счёт основным. По умолчанию dry-run; создание — при confirm=true. Ref контрагента — из find_counterparty.

Input Schema

NameRequiredDescriptionDefault
bikYesБИК банка (ищется в справочнике «Банки»)
labelNoНаименование счёта (по умолчанию — номер счёта)
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
currencyNoВалюта (код/название; по умолчанию рубль)
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию.
makeMainNoСделать основным банковским счётом контрагента
ownerRefYesRef_Key контрагента-владельца счёта
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.
accountNumberYesНомер расчётного счёта

Output Schema

NameRequiredDescriptionDefault
refNo
codeNo
noteNo
notesNo
dryRunNo
createdNo
payloadNo
databaseNo
replayedNo
entitySetNo
willCreateNo
descriptionNo
operationIdNo
writableBaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses the dry-run-first behavior and the confirm gate, which is the most important behavioral trait for an agent. It doesn't discuss side effects such as what happens to an existing main account when makeMain=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 compact sentences, each carrying a distinct fact (what it creates, optional main flag, dry-run/confirm rule, ownerRef source), with the mutation gate front-loaded. No filler.

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 9 parameters, an output schema, and full annotation coverage, the description covers the essential workflow (preview → confirm, ref lookup). It omits nothing critical, though the database/currency defaults are left entirely to the 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 every parameter, including the dry-run/operationId flow. The description adds meaning only for the bik/accountNumber pairing, makeMain, and the source of ownerRef, which is marginal added value over the schema.

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 names a specific verb and resource ('Заводит расчётный счёт контрагента') and scopes it as a subordinate catalog with the two key inputs (BIC + account number). It is clearly a different sub-resource from the sibling create_counterparty, though it doesn't state the contrast explicitly.

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?

It gives concrete operating context: dry-run is the default, actual creation requires confirm=true, and ownerRef must come from find_counterparty. It stops short of saying when not to use this tool (e.g. when the account already exists, use update_counterparty instead).

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