Skip to main content
Glama
1C OData MCP

1C OData MCP

Статус операции записи

write.operation.status

Checks whether a failed write operation actually succeeded in 1C by verifying the created object, document lines, or register record without resending it, and holds retries when the result cannot be confirmed.

Instructions

Состояние операции записи по operationId из предпросмотра. После потери ответа созданный объект сверяется по назначенной ссылке (старые операции — по метке), строки документа — по числу строк, настройка регистра — по точному составному ключу и отпечатку проверяемых полей. Совпадение фиксирует успех без повторной отправки. Для изменения группы, Post/Unpost и неподтверждённого результата регистра ответ unverifiable удерживает повтор и требует ручной сверки. Отсутствие объекта само по себе не разрешает новый запрос: 1С могла ещё выполнять его, сколько бы времени ни прошло, — ответ not_found. Закрыть операцию как not_applied можно только с markNotApplied=true после того, как человек сам сверил базу. Новый предпросмотр допустим после not_applied либо rejected с устранённой причиной. Ничего не записывает в 1С.

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": {
      "operationId": "<operationId>"
    },
    "name": "write.operation.status"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
operationIdYesoperationId из предпросмотра создания
markNotAppliedNoТолько по явному решению человека, который сам сверил базу 1С и убедился, что записи нет. Сверка всё равно выполняется: найденный объект фиксируется как успех. Не раньше чем через 120 с после попытки.

Output Schema

NameRequiredDescriptionDefault
refNo
noteNo
numberNo
statusYes
databaseNo
entitySetNo
lastErrorNo
retrySafeNo
inProgressNo
operationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior3/5

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

The annotations declare readOnlyHint=false while the description insists 'Ничего не записывает в 1С', which could mislead an agent into treating closure via markNotApplied as a pure read; the parameter docs resolve this, so it is a tension rather than a flat contradiction. Beyond that, the disclosure is exceptional: verification keys (assigned link, old-operations label, row count, composite register key plus field fingerprint), the unverifiable/not_found/not_applied/rejected states, and the rule that elapsed time never proves absence are all spelled out.

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?

The purpose is front-loaded and every paragraph carries operational weight, but the prose is dense and several clauses restate what the JSON schema already documents (operationId provenance, the 120 s human-verification rule). It is justified in length for a stateful tool with subtle failure semantics, yet could be tightened with a bulleted state list.

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?

An output schema exists, so return shapes need no prose, and the description instead supplies the operational semantics an agent cannot get from schema or annotations: which states permit a retry, which forbid it, and the single human-gated path to abandonment. Nothing needed to call this tool safely against 1C 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, but the description adds meaning the schema lacks: it explains that closing as not_applied is a last resort requiring human verification of the database, that verification still runs and a found object overrides the closure, and that only then does a fresh preview become legal. The classes of changes that stay permanently unverifiable (group change, Post/Unpost, unconfirmed register result) are also given.

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 opening clause names the exact verb and resource: 'Состояние операции записи по operationId из предпросмотра' — retrieve the state of a write operation given an operationId. It is trivially distinguishable from every sibling, all of which create or mutate 1C objects.

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?

The description states the full decision procedure: when a match counts as success, when the answer is unverifiable and the retry must be held, when not_found does NOT license a retry, and the only condition under which the operation can be closed (markNotApplied=true after human verification). It also names the gate for a new preview (after not_applied or rejected with the cause fixed), which is exactly the when-to-use guidance an agent needs.

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