Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать группу контрагентов

write.counterparty.create_group

Create a named counterparty group under a specified parent, with hierarchy validation and a preview-confirm flow using the same operationId to prevent duplicates; an empty parent GUID targets root.

Instructions

Создаёт только явно названную группу контрагентов в указанной группе parentRef; пустой GUID parentRef означает корень. Проверяет родителя и иерархию, сначала предпросмотр, затем confirm с тем же operationId и контрольное чтение. Не создаёт произвольные бизнес-группы без поручения владельца.

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>",
      "parentRef": "<parentRef>"
    },
    "name": "write.counterparty.create_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
confirmNo
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
parentRefYes
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.

Output Schema

NameRequiredDescriptionDefault
refNo
noteNo
notesNo
dryRunNo
fieldsNo
updatedNo
databaseNo
replayedNo
verifiedNo
entitySetNo
willPatchNo
descriptionNo
operationIdNo
readbackNoteNo

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 only cover the safety profile (not read-only, not destructive, open-world). The description adds genuinely new behavior: parent/hierarchy validation, a mandatory preview step, idempotent retry via the same operationId, and a post-write control read. It leaves permission requirements and failure handling unstated, so not a 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?

Three dense sentences, front-loaded with the scope constraint before the workflow. Every clause carries operational information; the only mild weakness is that the preview/confirm/idempotency detail is packed into one long sentence rather than broken out.

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 mutating, two-phase tool this covers what the agent needs to call it safely; an output schema exists, so return values need no explanation. Remaining gap is error/validation outcome behavior when the parent or hierarchy check fails.

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 only 40%, and the description compensates on the critical points: the empty-GUID-as-root convention for parentRef and the preview/confirm contract that drives the confirm and operationId parameters. It adds nothing for 'name' and only the workflow implies how 'database' interacts, but the high-risk parameters are covered.

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 ('Создаёт ... группу контрагентов') plus the containing scope (parentRef, empty GUID = root), which is more than a restatement of the name. It does not explicitly name a sibling such as write.counterparty.set_group, so the agent must infer the boundary between 'create group' and 'place counterparty in group'.

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 when-not: 'Не создаёт произвольные бизнес-группы без поручения владельца', and prescribes the preview-then-confirm sequence. It stops short of naming an alternative tool for the rejected case, so usage is clear but not fully routed.

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