Skip to main content
Glama
1C OData MCP

1C OData MCP

Деньги на счетах и в кассе

read.analytics.get_cash_balance
Read-only

Retrieves current or historical cash balances across cash desk, bank, currency, special and transit accounts, with totals, to check available funds by account and cash desk.

Instructions

Сколько денег сейчас: остатки счетов 50 (касса), 51 (расчётные счета), 52 (валютные), 55 (спецсчета, депозиты), 57 (переводы в пути, эквайринг) из регистра Хозрасчетный — по каждому банковскому счёту и кассе, итоги available (50+51+52), special (55), inTransit (57). Для валютных счетов — сумма в валюте. asOf=YYYY-MM-DD — остатки на конец даты; без него — текущие. В Управлении торговлей (нет Хозрасчётного) — остатки регистров денежных средств: расчётные счета, кассы, кассы ККМ (available) и деньги в пути (inTransit), source=registers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read.analytics.get_cash_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
asOfNoДата остатков — на конец этой даты (без параметра — текущие) (YYYY-MM-DD)
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию; если баз несколько и неясно какая, спросите пользователя.
organizationNoОрганизация (юрлицо) для фильтра: часть названия, ИНН или Ref_Key из list_organizations. Без указания — все организации базы.

Output Schema

NameRequiredDescriptionDefault
asOfNo
scanYes
specialYes
accountsYes
balancesYes
databaseYes
availableYes
inTransitYes
organizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnly and openWorld; the description adds real behavioral context beyond them — the source register (Хозрасчетный), a configuration-dependent fallback (in Управление торговлей there is no Хозрасчётный, so data comes from money registers with source=registers), and that currency accounts return amounts in the account currency. That config-variance disclosure is valuable. It does not discuss cost, pagination, or empty-result behavior, keeping it below 5.

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?

One dense, front-loaded paragraph that leads with what the tool answers ('Сколько денег сейчас') and then supplies account codes, groupings and date semantics. Every clause carries information; the account-code enumeration is heavy but genuinely useful for a 1С audience.

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 a full output schema, the description does not need to explain return values, and it covers the configuration fallback, currency handling, aggregation groups and the asOf cutoff. Together with annotations and the schema this is sufficient to call the tool correctly. Only the lack of explicit sibling routing keeps it from full completeness.

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 database and organization are already documented in the schema and the asOf note in the description largely restates the schema wording. The description adds only marginal semantics (end-of-day rather than start-of-day, and the cross-configuration meaning of the result). Note it references a 'source=registers' field that is not an input parameter, which could briefly confuse the reader.

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?

The description states a concrete resource (cash and bank account balances) and enumerates exactly which accounts (50, 51, 52, 55, 57) and registers it reads, plus how results are grouped (available/special/inTransit). An agent can tell it returns point-in-time balances rather than flows. It stops short of 5 because it never names a sibling (e.g. get_cashflow) to contrast scope with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'asOf' with no value means current balances, and setting it means balances at the end of that date, which hints at when to reach for it. There is no explicit 'use this instead of X' routing or statement of when not to use it, so the agent must infer the point-in-time-balances niche from sibling names.

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