Skip to main content
Glama
1C OData MCP

1C OData MCP

ОСВ по счёту

read.accounting.get_account_turnover
Read-only

Retrieves an account turnover balance sheet for a period, with opening/closing debit/credit balances, turnovers, totals, subaccount detail, and optional organization filter.

Instructions

Оборотно-сальдовая ведомость по бухгалтерскому счёту (регистр бухгалтерии Хозрасчетный, виртуальная таблица «Остатки и обороты») за период: сальдо на начало Дт/Кт, обороты Дт/Кт, сальдо на конец Дт/Кт — итогом и по субсчетам. account — код счёта или префикс («51», «60», «62», «90.01»): берутся все субсчета, код которых начинается с него. Сальдо развёрнутое по аналитике (измерения и субконто), как в стандартной ОСВ по счёту. Можно ограничить организацией. Период — даты YYYY-MM-DD включительно. Не отбирает по аналитике и не разбивает по месяцам. Оборот по контрагенту, договору или другому субконто, по месяцам или корреспондирующим счетам — read.accounting.get_account_card с counterpartyRef или dimensionRef, groupBy и summaryOnly=true; ссылку договора дают его группы (groupBy: contract). Деньги по статье ДДС — read.analytics.get_payments_breakdown с cashflowItem.

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": {
      "account": "<account>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "read.accounting.get_account_turnover"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesДата конца периода (YYYY-MM-DD)
fromYesДата начала периода (YYYY-MM-DD)
accountYesКод счёта или префикс субсчетов, напр. 51, 60, 62, 90.01
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
organizationNoОрганизация (юрлицо) для фильтра: часть названия, ИНН или Ref_Key из list_organizations. Без указания — все организации базы.

Output Schema

NameRequiredDescriptionDefault
noteNo
scanYes
periodYes
accountYes
accountsYes
databaseYes
closingNetNo
consistentYes
openingNetNo
closingDebitYes
openingDebitYes
organizationNo
closingCreditYes
debitTurnoverYes
openingCreditYes
creditTurnoverYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint the description discloses the account code is treated as a prefix and expands to all matching subaccounts, that balances are shown unfolded by analytics (измерения и субконто) as in a standard ОСВ, that dates are inclusive, and that the tool refuses to filter by analytics or split by month. These are real behavioral limits an agent cannot infer from the annotations.

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?

Front-loaded with what the register returns, then scope rule, then exclusions with named alternatives; no filler sentences and no repetition of annotation content. Dense but every clause carries operational information.

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 5-parameter read tool with an output schema and full schema coverage, the description covers output content, scope rules and alternative routing. The only slight gap is that the database parameter's default/multi-base handling is left to the schema text alone.

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 goes further: it states the 'to' boundary is inclusive and spells out prefix semantics (all subaccounts whose code starts with the value), which resolves the main ambiguity in the account parameter. It adds little for database/organization because the schema already covers those.

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?

Names a specific artifact (оборотно-сальдовая ведомость по счёту) built from a named source (регистр Хозрасчетный, виртуальная таблица «Остатки и обороты») and enumerates exactly what it returns (сальдо на начало, обороты, сальдо на конец) at totals and subaccount level. A reader can distinguish it from read.accounting.get_account_card and read.analytics.get_payments_breakdown without opening any other tool.

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?

Explicit exclusions: it does not select by analytics and does not split by month, with the alternative named together with the exact parameters that switch behavior (get_account_card with counterpartyRef/dimensionRef, groupBy, summaryOnly=true; get_payments_breakdown with cashflowItem). It even resolves the contract-link case by pointing to groupBy: contract, so the routing decision is fully specified.

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