Skip to main content
Glama
1c-odata-mcp

1c-odata-mcp

by foxnaim

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

write.catalog.create_nomenclature

Creates a new product or service item in the 1C catalog with a dry-run preview; confirm to write to the live database.

Instructions

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

Input Schema

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

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

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

It adds behavior that the annotations do not cover: a default dry-run mode, a consent gate before writing, and the fact that the write goes to the production database ('боевая база'). Together with the annotations, which say readOnlyHint=false and destructiveHint=false, this fills the gap for a mutating tool.

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?

It is one compact paragraph that leads with the dry-run warning, the most important information for an agent, and then covers the optional fields. Each sentence carries useful information, though the dry-run instruction could be tightened.

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?

Because an output schema exists and the input schema has 100% description coverage, the definition does not need to cover the return values. It covers the main behavioral risks: preview, consent and production write. Only the database and operationId parameters 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 explains name, folder, article, confirm, database, fullName, isService and operationId. The description mentions folder and isService but adds no meaning beyond what the schema fields already state, so the baseline of 3 is appropriate.

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 opens with a specific verb and resource: 'Создаёт новую позицию номенклатуры (товар/услуга)', and 'новую' implicitly sets it apart from the update_nomenclature sibling. It never names an alternative tool explicitly, so sibling differentiation is left to inference rather than stated.

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 a concrete procedure: a dry-run by default, show the user the payload, then repeat with confirm=true after consent. That is clear operational context, but there is no guidance on when to choose a different tool, such as create_folder for grouping or update_nomenclature for existing items.

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