Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать перемещение товаров

write.warehouse.create_transfer

Creates an unposted 1C warehouse transfer document between source and destination warehouses, with dry-run preview and confirmation before writing.

Instructions

Создаёт документ «Перемещение товаров» между складами. НЕПРОВЕДЁННЫЙ; провести — post_document (проводки Дт 41(склад-получатель) Кт 41(склад-отправитель)). dry-run/confirm. В Управлении торговлей — перемещение УТ: status «Принято» (по умолчанию) или «Отгружено», серия — seriesRef; post_document сверяет движения по складу со строками.

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": {
      "fromWarehouse": "<fromWarehouse>",
      "toWarehouse": "<toWarehouse>",
      "lines": "<lines>"
    },
    "name": "write.warehouse.create_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoДата YYYY-MM-DD (по умолчанию — момент предпросмотра)
linesYesПозиции документа
statusNoУправление торговлей: «Принято» (по умолчанию) — расход с отправителя и приход на получателя одним документом; «Отгружено» — только расход, приход — позже
commentNoУправление торговлей: комментарий документа
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.
toWarehouseYesСклад-получатель: название, код или Ref_Key
organizationNoОрганизация (юрлицо) для фильтра: часть названия, ИНН или Ref_Key из list_organizations. Без указания — все организации базы.
fromWarehouseYesСклад-отправитель: название, код или Ref_Key
responsibleRefNoОтветственный документа — Ref_Key пользователя 1С (read.catalog.list_users): ставится в «Ответственный» или, где его нет (продажи и закупки УТ), в «Менеджер». Помеченный, недействительный и служебный — отказ; у документов без обоих полей (ПКО, РКО и заявка на расходование УТ) — отказ. Заменяет ответственного из fields

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.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, but the description adds the crucial behavioral fact that the created document is unposted and produces no ledger movements until post_document is called (with the Дт 41 / Кт 41 entries spelled out). It also discloses the УТ status semantics ('Принято' writes off and receives in one document, 'Отгружено' only writes off). It stops short of covering permission requirements or failure modes, which keeps it at 4 rather than 5.

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?

Front-loaded with the core action, then the posting constraint, then the УТ-specific variant — a logical order with no filler. It is compressed to the point of jargon ('проводки Дт 41(склад-получатель) Кт 41(склад-отправитель)', 'dry-run/confirm'), which is efficient for a domain agent but slightly telegraphic.

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 11-parameter mutation tool with an output schema and full schema coverage, the description covers what matters most: the unposted state, the posting follow-up, and the dry-run/confirm workflow. Minor gaps remain around permissions and what happens on validation failure, but nothing essential for correct invocation is missing.

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 all 11 parameters including confirm/operationId and status enum. The description restates the status values and seriesRef rather than adding new meaning; the one genuinely additive note ('post_document сверяет движения по складу со строками') is behavioral rather than parameter-level. 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 and resource: 'Создаёт документ «Перемещение товаров» между складами', which is unambiguous and inherently distinct from the sibling create_* tools that each produce a different document type. An agent can identify the operation 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 Guidelines5/5

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

Explicitly names the alternative and the condition that selects it: the document is created НЕПРОВЕДЁННЫЙ, and posting must be done via post_document. It also flags the dry-run/confirm protocol, telling the agent to preview before writing. Nothing about when-to-use is left to inference.

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