Skip to main content
Glama
1c-odata-mcp

1c-odata-mcp

by foxnaim

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

write.counterparty.update_counterparty

Updates counterparty details such as name, INN, KPP, contacts, or address by Ref_Key, using a dry-run preview by default and writing only when confirmed.

Instructions

Изменяет реквизиты контрагента по Ref_Key (наименование/ИНН/КПП/полное имя). По умолчанию предпросмотр (dry-run); применение — при confirm=true. Указывайте только меняемые поля.

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 observedv0.12.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=true, which leaves the two-phase behavior unstated. The description adds the crucial trait that the default call is a preview and no write occurs unless confirm=true, plus the partial-update rule. It does not discuss permissions or reversibility, but the preview/apply disclosure is the important behavioral fact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what changes and keyed on Ref_Key, then the dry-run/apply mechanics, then the field rule. Every sentence carries distinct information with no filler.

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 no explanation, and 100% schema coverage covers the 11 parameters. The description supplies the workflow context an agent needs to call it safely. Minor gap: it does not mention prerequisites or what happens to fields left out.

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, and the description earns above baseline by adding partial-update semantics ("Указывайте только меняемые поля") and identifying Ref_Key as the selector. It does not clarify fields the schema omits from its enumeration, but the added meaning is real.

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 in Russian ("Изменяет реквизиты контрагента по Ref_Key") and names several editable fields (наименование/ИНН/КПП/полное имя). The update-vs-create distinction is implicit in the verb but the description never names a sibling to route away from. Only 4 of the ~9 editable fields are enumerated, so it under-describes slightly.

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 clear operating context: dry-run is the default, confirm=true applies the change, and only changed fields should be passed. It does not state when to reach for a sibling such as write.entity.update_entity or set_group instead, so there are no explicit exclusions.

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