Skip to main content
Glama
1C OData MCP

1C OData MCP

Изменить контрагента

write.counterparty.update_counterparty
DestructiveIdempotent

Update counterparty details by Ref_Key with a dry-run preview by default; set confirm=true to apply changes.

Instructions

Изменяет реквизиты контрагента по Ref_Key (наименование/ИНН/КПП/полное имя). По умолчанию предпросмотр (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": {
      "ref": "<ref>"
    },
    "name": "write.counterparty.update_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
innNoИНН
kppNoКПП
refYesRef_Key контрагента
nameNoНовое наименование (Description)
ogrnNoОГРН (если в базе настроен доп.реквизит)
emailNoEmail (контактная информация)
phoneNoТелефон (контактная информация)
addressNoАдрес текстом (юр. адрес)
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
fullNameNoПолное наименование

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

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is largely pre-supplied. The description's genuinely additive part is the dry-run-by-default and confirm=true activation contract, which the annotations do not convey. It says nothing about irreversibility, permissions, or what happens to fields left out beyond 'only changed fields', so it adds real but partial context.

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 short sentences, front-loaded with the mutation target, then the dry-run/confirm contract, then the field-selection rule. No filler, though the parenthetical field list partially duplicates schema property names.

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 destructive write with an output schema, the description covers the essentials: identifier, preview-vs-apply, and partial update. Remaining gaps are minor because the output schema and full schema descriptions carry the return-value and per-field detail.

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 parameter including ref, confirm and database is already documented in the schema; the baseline is 3. The description adds only the partial-update rule ('указывайте только меняемые поля') and otherwise does not elaborate on parameter syntax beyond the schema.

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 with the key identifier: 'Изменяет реквизиты контрагента по Ref_Key', and enumerates the editable fields (наименование/ИНН/КПП/полное имя). It is clearly distinguishable from the create_* siblings in the same namespace, though it never names an alternative tool.

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 concrete operating guidance: default is a dry-run preview, actual application requires confirm=true, and callers should pass only the fields being changed. It does not state any exclusions or point at a sibling tool (e.g. get_counterparty to read current values first), so it falls short of full when/when-not guidance.

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