Skip to main content
Glama
1C OData MCP

1C OData MCP

Прочитать точную настройку счетов расчётов

read.accounting.get_contract_settlement_settings
Read-only

Reads contract-level settlement settings for a specified organization, counterparty, contract, and settlement kind, returning directly configured values without inherited settings.

Instructions

УСТАРЕВШЕЕ ИМЯ — будет удалено в 2.0: используйте read.accounting.get_settlement_settings со scope=contract. Читает точную настройку независимого регистра. scope=contract требует договор; counterparty/group означает контрагента или группу в том же поле Контрагент_Key без договора. Организация и вид расчётов обязательны. Для counterparty/group пустой GUID организации означает все организации, субъект остаётся точным. Унаследованные настройки не подставляются. Отсутствующая или несовместимая схема блокирует операцию. Старое имя get_contract_settlement_settings поддерживает только договор.

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": {
      "organizationRef": "<organizationRef>",
      "counterpartyRef": "<counterpartyRef>",
      "contractRef": "<contractRef>",
      "settlementKind": "<settlementKind>"
    },
    "name": "read.accounting.get_contract_settlement_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
contractRefYes
settlementKindYes
counterpartyRefYes
organizationRefYes

Output Schema

NameRequiredDescriptionDefault
keyYes
foundYes
scopeYes
recordNo
databaseYes
entitySetYes
recordPathYes
contractKindNo

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?

Beyond readOnlyHint/openWorldHint, the description discloses meaningful behavior: inherited settings are not substituted, and a missing or incompatible schema blocks the operation. That is real error-mode context an agent cannot get from annotations. Minor deduction because the scope-mode discussion is borrowed from the successor tool and does not apply here.

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

Conciseness3/5

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

Deprecation notice is correctly front-loaded, but the middle of the paragraph spends several sentences on scope semantics belonging to a different tool, which is noise for a caller of this alias. It is dense rather than tight.

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?

Given an output schema exists and annotations cover safety, the description is largely sufficient: it covers deprecation, the read action, inherited-setting behavior, and schema compatibility failure. The only gap is that the mode description does not match this tool's actual parameter set.

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 only 20%, so the description must carry weight; it does state that organization and settlement kind are mandatory and explains the empty-GUID organization sentinel. However, the sentinel rule is tied to counterparty/group modes this alias does not support, and the settlementKind enum values are never explained.

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?

Opens by declaring the name deprecated and naming the successor (read.accounting.get_settlement_settings with scope=contract), then states the concrete action: reading the exact setting of an independent register. An agent can tell instantly what it does and that it is a legacy alias.

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?

Explicitly routes the agent to the replacement tool and states the mode restriction for the legacy alias ("Старое имя ... поддерживает только договор"). The remaining guidance about counterparty/group scope modes describes the successor's parameter, not this tool's, which slightly muddies the when-to-use picture.

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