Skip to main content
Glama
1C OData MCP

1C OData MCP

Создать контактное лицо (директор и т.п.)

write.counterparty.create_contact_person
Destructive

Creates a counterparty contact person with full name and position, optionally marking it as the main contact. Runs as a dry-run by default; set confirm=true to save after preview.

Instructions

Заводит контактное лицо контрагента (директор, бухгалтер, менеджер): ФИО + должность. Можно сделать основным контактным лицом. По умолчанию 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": {
      "ownerRef": "<ownerRef>",
      "name": "<name>"
    },
    "name": "write.counterparty.create_contact_person"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesФИО (наименование контактного лица)
confirmNofalse (по умолчанию) — только предпросмотр (dry-run), запись НЕ выполняется. true — выполнить создание. Сначала всегда показывайте dry-run и получайте согласие пользователя; при подтверждении передавайте operationId из результата предпросмотра и те же аргументы. После таймаута повторяйте подтверждение с тем же id, не создавая новый предпросмотр.
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
lastNameNoФамилия
makeMainNoСделать основным контактным лицом контрагента
ownerRefYesRef_Key контрагента
positionNoДолжность (напр. «Директор»)
firstNameNoИмя
operationIdNoUUID из предпросмотра. Передайте его при confirm=true, чтобы повтор не создал дубликат.

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

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

Annotations already flag readOnlyHint=false, destructiveHint=true, openWorldHint=true, so the safety profile is known. The description adds the meaningful part the annotations cannot: the two-phase preview/confirm flow and the side effect of potentially reassigning the primary contact (makeMain). It does not state what happens to the previous main contact or what the confirm result contains.

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 resource and fields, then the optional primary-contact flag, then the dry-run/confirm rule. Nothing is redundant and no sentence is padding.

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 a mutation tool with nine parameters, an output schema, and full schema documentation, the description covers purpose, the primary field pair, the main-contact option, and the confirm gate. Remaining details such as database disambiguation and operationId reuse live in the schema, which is acceptable here.

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 coverage is 100% and all nine parameters, including confirm, operationId idempotency and database selection, are documented in the schema itself. The description only confirms that name/position are the core fields and that makeMain is optional, which adds little beyond the structured data, so the 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 a specific resource (контактное лицо контрагента) plus the fields it carries (ФИО + должность). That is enough to separate it from siblings like create_counterparty or create_bank_account, though it never explicitly routes the agent away from those tools.

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 operational context: the call is a dry-run by default and only creates when confirm=true, and it notes the option to make the person primary. It does not explain when to prefer this tool over creating a counterparty or partner, so no exclusions or alternatives are offered.

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