Skip to main content
Glama
1C OData MCP

1C OData MCP

Свежесть данных

read.system.data_freshness
Read-only

Checks how current data in a 1C database is: latest document date and number by document type, last-30-day counts, unposted documents, future dates, and the last closed month.

Instructions

По какую дату внесены данные в базу: по основным видам документов (реализации, поступления, банк, касса, счета-фактуры, отчёты комитенту) — дата и номер последнего документа не позже сегодня, сколько документов за последние 30 дней и сколько из них не проведено, будущие даты отдельно; последний закрытый месяц. Для вопросов «есть ли данные за октябрь», «по какое число разнесён банк», а также чтобы выбрать базу, когда их несколько. Только показывает факты: старая дата не значит, что данных не хватает, вид документа может не использоваться. Полная проверка месяца — check_month_close.

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.system.data_freshness"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
asOfYes
scanYes
closingNo
databaseYes
documentsYes
windowDaysYes
organizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description reinforces the read-only nature («Только показывает факты»). More valuable, it warns how to interpret results – an old date does not mean data is missing, and a document type may simply be unused – which prevents false conclusions. It does not discuss volume or performance, so it stops short of a 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?

Content is front-loaded with the main purpose before the example questions and caveats, and nearly every clause carries information. The middle paragraph is a dense semicolon-chained run-on, which costs some readability but not correctness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need no explanation, and annotations cover the safety profile. Between the covered document types, the interpretation caveats, and the pointer to check_month_close, an agent has everything needed to call it and read the result correctly.

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 both parameters (database, organization) are already documented in the schema, including fallback behavior when omitted. The description only indirectly touches the database parameter via the multi-database selection use case, adding no format or syntax detail beyond the schema, so the baseline of 3 applies.

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?

It states a specific resource (data freshness as of a date) and enumerates exactly what is measured: last document date/number per main document type, document counts for the last 30 days, unposted count, future-dated documents, and the last closed month. It names the sibling it is not (check_month_close) for the full month check, so the boundary is clear.

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?

It gives concrete trigger questions («есть ли данные за октябрь», «по какое число разнесён банк») and a secondary use case (choosing the right database when several exist). It also names the alternative for deeper verification (check_month_close), so when to prefer something else is explicit.

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