Skip to main content
Glama
1C OData MCP

1C OData MCP

Пометить на удаление

write.entity.mark_for_deletion
DestructiveIdempotent

Marks or unmarks a 1C entity for soft deletion without removing data; previews changes by default and applies them only with confirmation.

Instructions

Ставит/снимает пометку на удаление у объекта (как в 1С) — мягкое удаление, физически данные не стираются. По умолчанию предпросмотр (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": {
      "entitySet": "<entitySet>",
      "ref": "<ref>"
    },
    "name": "write.entity.mark_for_deletion"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesRef_Key объекта (GUID)
markNotrue — пометить на удаление, false — снять пометку
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
entitySetYesИмя объекта, напр. Catalog_Контрагенты

Output Schema

NameRequiredDescriptionDefault
refNo
noteNo
dryRunNo
payloadNo
updatedNo
databaseNo
willPatchNo
deletionMarkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the schema's confirm parameter already documents the dry-run/confirm flow. The description's one genuinely additive disclosure is that deletion is reversible/soft and data is not physically erased — useful, but the rest largely restates what structured fields already carry.

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 the operation, then the safety semantics, then the use case. No filler; each sentence contributes a distinct fact.

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 and full parameter documentation, the description covers purpose, the reversible nature of the operation, and the confirmation protocol. Minor gaps remain, such as what happens to a marked object afterwards and whether marking affects subsequent reads, but nothing essential to correct invocation is missing.

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 all five parameters (ref, mark, confirm, database, entitySet) are already documented in the schema itself. The description only sketches the confirm=true semantics, adding nothing about mark=false toggling or database selection. Baseline 3 applies.

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: it sets or clears the mark-for-deletion flag on an object, explicitly modeled on 1C soft deletion. It also distinguishes itself from hard deletion by saying data is not physically erased. It does not name any sibling tool for contrast, but the behaviour is unambiguous.

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 concrete use case ('убрать ошибочно созданную запись') and a two-step workflow: preview by default, then repeat with confirm=true. It lacks explicit when-not guidance or a pointer to any alternative (for example a hard-delete sibling), so it is strong but not complete.

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