Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать папку (группу) справочника

write.entity.create_folder

Create a folder or group in a 1C hierarchical catalog, optionally inside a parent folder, with a dry-run preview and explicit confirmation before writing.

Instructions

Создаёт папку/группу в иерархическом справочнике 1С (по умолчанию — Контрагенты). Опционально вкладывает в родительскую папку (parent — имя папки или Ref_Key). В 1С «папки» = группы справочника; отдельных тегов в типовой Бухгалтерии нет. dry-run/confirm.

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.entity.create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesНазвание папки
parentNoРодительская папка — имя или Ref_Key (для вложенности)
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
entitySetNoИерархический справочник (по умолчанию Catalog_Контрагенты)Catalog_Контрагенты
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

A3.8/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 safety profile is known; the description nonetheless adds real behavioral value by disclosing the dry-run-first/confirm workflow and the parent-nesting semantics. It also flags the openWorld-relevant nuance that groups are the only hierarchy construct in typical 1C configurations (no tags). It does not state permission requirements or what happens on duplicate folder names.

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 parent behavior, then domain nuance, then the confirm mode. No padding or repetition. The trailing 'dry-run/confirm.' is telegraphic to the point of being under-explained rather than concise.

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 an output schema present, return values need not be described, and all six parameters are fully documented in the schema. The description covers purpose, default catalog, nesting, and the preview/confirm flow. Gaps remain around authorization, duplicate-name behavior, and how this differs from moving an existing entity into a folder.

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 coverage is 100%, so the baseline is 3; the description still earns an increment by restating parent as either a folder name or a Ref_Key and by reiterating the default entitySet of Catalog_Контрагенты. It adds conceptual meaning (folders are groups, no tags) that the schema does not convey. Confirm/operationId semantics are left entirely to the schema text.

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 concrete verb and resource: creates a folder/group in a hierarchical 1C catalog, with the default (Контрагенты) named explicitly. The 1C-specific clarification that "папки" = "группы" and that there are no tags in typical Accounting removes ambiguity an agent would otherwise carry. It does not name a sibling such as write.entity.move_to_folder to contrast with, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied by the verb 'Создаёт' — an agent can infer this is for creating new folder nodes, but there is no explicit when-to-use/when-not statement. The closing 'dry-run/confirm.' hints at the required two-phase workflow, yet the actual protocol lives in the schema rather than in the description. No alternative is named for the adjacent case of placing an existing item into a folder.

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