Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать партнёра (УТ)

write.counterparty.create_partner

Creates a 1C partner business entity with client, supplier, or other relations, previewing the record as a dry run before confirmation so you can then link a counterparty legal entity.

Instructions

Партнёр — бизнес-сущность Управления торговлей, КА и ERP, которой принадлежат контрагенты (юрлица), договоры, соглашения и контактные лица; в Бухгалтерии партнёров нет. Отношения (relations) НЕ выбирайте сами — уточните у пользователя. После создания заведите юрлицо: write.counterparty.create_counterparty с partnerRef. По умолчанию предпросмотр (dry-run); создание — при confirm=true.

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

Input Schema

NameRequiredDescriptionDefault
nameYesНаименование партнёра
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
fullNameNoПолное наименование (по умолчанию — наименование)
relationsYesОтношения: client — клиент, supplier — поставщик, other — прочие
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.
privatePersonNotrue — частное лицо (физлицо без ИП), false — компания (юрлицо или ИП)

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

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

Annotations declare the write profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true) but say nothing about preview semantics, so the description's disclosure that the default is a dry-run and that real creation requires confirm=true adds genuine value. It also flags duplicate-creation risk and how to retry safely. The remaining overlap with the confirm/operationId schema text keeps it from being maximally additive.

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 entity definition, then the hard constraint, then the workflow. Every sentence carries information, though the opening domain primer is longer than strictly needed for an agent that already knows the 1C domain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with full schema coverage and an output schema, the description covers the gaps that structure cannot: preview/confirm semantics, idempotency via operationId, the required user consultation on relations, and the mandatory next call. Nothing an agent needs in order to invoke this correctly is missing.

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 earns above that by adding decision guidance for the required 'relations' parameter (consult the user rather than inferring client/supplier/other) and by tying confirm=true to the preview flow. It does not elaborate on database selection or fullName, but those are already fully documented in the schema.

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?

The description opens with a concrete definition of the resource (partner as the UT/KA/ERP entity that owns counterparties, contracts, agreements and contacts) and pairs it with the creation action implied by the name, plus a boundary statement ('в Бухгалтерии партнёров нет') that distinguishes it from accounting-side tools. An agent can tell what this creates and where it belongs 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?

It states an explicit when-not (there are no partners in Accounting), an explicit constraint on a required parameter ('relations — do NOT choose yourself, ask the user'), and the mandatory follow-up step with the named sibling write.counterparty.create_counterparty using partnerRef. The dry-run-then-confirm workflow is also stated, so the sequence of calls is unambiguous.

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