Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать номенклатуру

write.catalog.create_nomenclature

Creates a new product or service item in 1C, showing a dry-run payload by default and writing only after confirmation.

Instructions

Создаёт новую позицию номенклатуры (товар/услуга). ПО УМОЛЧАНИЮ предпросмотр (dry-run): покажите пользователю payload и только после согласия повторите с confirm=true. Можно указать артикул, папку (folder — имя группы или Ref_Key) и пометить услугой (isService). Запись идёт в боевую базу.

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": {
      "name": "<name>"
    },
    "name": "write.catalog.create_nomenclature"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoУправление торговлей, обязательно: вид номенклатуры — название или Ref_Key. От вида зависят тип, серии, характеристики, упаковки; НЕ выбирайте сами — уточните у пользователя.
nameYesНаименование номенклатуры (Description)
unitNoУправление торговлей: единица измерения — название, код ОКЕИ или Ref_Key (по умолчанию «шт»)
folderNoПапка/группа — имя или Ref_Key (для размещения в группе)
articleNoАртикул
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
vatRateNoУправление торговлей: ставка НДС — название («22%», «Без НДС») или Ref_Key (по умолчанию основная действующая)
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
fullNameNoПолное наименование
isServiceNotrue — услуга (Услуга=true, вид «Услуга»), false — товар
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.

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

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

Annotations already declare readOnly=false and destructive=false, so the description's real value is the disclosure that the default call performs no write and that the confirmed write lands in the live production base ('боевая база') — important context not encoded in annotations. The resume-after-timeout semantics live in the schema rather than the description, so the top-level text stops short of full operational disclosure.

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 purpose and the dry-run constraint in the very first two sentences, then optional-field detail. Four sentences with little waste; the field enumeration mildly duplicates the schema but is short enough to earn its place.

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 a full output schema and non-trivial annotations, the description covers the one thing an agent could get wrong — writing without a confirmed preview against a production database. Remaining gaps (required kind, database ambiguity handling) are fully specified in the schema, so nothing essential is missing at the description level.

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 every one of the 11 parameters is already documented, including the confirm/operationId pairing and the database selection rule. The description only echoes article, folder and isService, adding no syntax or constraint meaning beyond the schema — baseline 3 is correct.

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 — 'Создаёт новую позицию номенклатуры (товар/услуга)' — and the word 'новую' cleanly separates it from the sibling write.catalog.update_nomenclature. It also names the concrete optional fields (артикул, папка, isService) so an agent knows the scope 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?

Gives a clear operating procedure: the default is a dry-run preview, the payload must be shown to the user, and the call is repeated with confirm=true only after consent. It does not, however, address when to prefer this tool over update_nomenclature or what to do when the item already exists, so a routing edge case 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