Skip to main content
Glama
1C OData MCP

1C OData MCP

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

write.counterparty.create_bank_account
Destructive

Creates a counterparty bank account from BIK and account number, optionally making it primary. Use dry-run by default and confirm=true to write.

Instructions

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

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": {
      "ownerRef": "<ownerRef>",
      "accountNumber": "<accountNumber>",
      "bik": "<bik>"
    },
    "name": "write.counterparty.create_bank_account"
  }
}

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
retriedNo
warningNo
databaseNo
replayedNo
entitySetNo
reconciledNo
willCreateNo
descriptionNo
operationIdNo
deletionMarkNo
writableBaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag a non-read-only, destructive, open-world write; the description adds the dry-run-then-confirm protocol and the 'subordinate catalog' nature of the record, which are real behavioral facts. It does not discuss error/duplicate handling or permissions, but with strong annotation and schema coverage this is a meaningful addition.

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?

Four short sentences, front-loaded with the purpose, then the main-account option, the confirmation protocol, and the prerequisite lookup. No filler, though the style is telegraphic and the confirm/dry-run clause partly duplicates the schema wording.

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 destructive create with nine parameters, an output schema, and full schema coverage, the description supplies the essentials: what is created, from which identifiers, and the mandatory dry-run/confirm pattern. Only edge-case behavior (duplicates, permissions) is left unstated.

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 description coverage is 100%, so the baseline is 3; the description earns an extra point by stating the provenance of ownerRef (from find_counterparty) and summarizing the BIK + account number pairing, which the schema alone does not link to another tool.

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 and resource (creates a counterparty settlement account, a subordinate catalog entry) and names the identifying data (bank by BIK + account number). It is clearly distinguishable from sibling creation tools by its domain object, though it does not explicitly contrast itself with any of them.

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?

Gives concrete operating context: dry-run by default, real creation only with confirm=true, and the owner Ref coming from find_counterparty. It lacks explicit when-not guidance (e.g. what to do if the account already exists), but the workflow conditions are clear.

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