Skip to main content
Glama

Реестр реестров: Russian state registries

Статистика реестра по годам и регионам

registry_stats
Read-only

Сколько записей в официальном реестре (лицензии, СРО, аккредитации, реестры Банка России и др., около 95 источников): всего, действующих, выдано и прекращено по годам, по регионам (код субъекта по ИНН), по статусу. Без source: сводка по всем источникам. source=msp: Единый реестр МСП ФНС помесячно с августа 2016 (ЮЛ и ИП, микро, малые, средние, работники, соцпредприятия, по субъектам РФ). source=bfo: доходы и расходы организаций по бухгалтерской отчётности (открытые данные ФНС) по отчётным годам с 2025 и регионам: число организаций, суммы, прибыльные и убыточные, корзины по доходам. Statistics of Russian state registries: totals, issued and terminated per year, per region, per status. В ответе дата среза и ссылка на первоисточник. Бесплатно, без ключа и без расхода квоты.

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": "registry_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoСколько источников в сводке без source (по умолчанию 30)
metricNorecords: все записи; active: действующие; issued: по году выдачи; ended: прекращённые по году прекращения
regionNoКод субъекта (77, 50) или часть названия: "Татарстан", "Московская область"
sourceNoid источника из list_sources (mode=bulk), например nostroy, fsrar-license, cbr-mfo; msp: реестр МСП помесячно с 2016; bfo: доходы и расходы организаций по бухотчётности по годам. Пусто: все источники
year_toNoПо год включительно
group_byNoРазбивка: year (для issued и ended по умолчанию), status, region, none; month: сколько записей было в реестре по ежемесячным снимкам (копятся с ноября 2026; для records, active, ended)
year_fromNoС года (по дате выдачи, для ended по дате прекращения)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source / description
      Previous value: -"id источника из list_sources (mode=bulk), например nostroy, fsrar-license, cbr-mfo; msp: реестр МСП помесячно с 2016. Пусто: все источники"New value: +"id источника из list_sources (mode=bulk), например nostroy, fsrar-license, cbr-mfo; msp: реестр МСП помесячно с 2016; bfo: доходы и расходы организаций по бухотчётности по годам. Пусто: все источники"
  2. Changed3 schema fields changed
    • changedInput schema / properties / group_by / description
      Previous value: -"Разбивка: year (для issued и ended по умолчанию), status, region, none"New value: +"Разбивка: year (для issued и ended по умолчанию), status, region, none; month: сколько записей было в реестре по ежемесячным снимкам (копятся с ноября 2026; для records, active, ended)"
    • changedInput schema / properties / group_by / enum
      Previous value: -[
      -  "none",
      -  "year",
      -  "status",
      -  "region"
      -]New value: +[
      +  "none",
      +  "year",
      +  "status",
      +  "region",
      +  "month"
      +]
    • changedInput schema / properties / source / description
      Previous value: -"id источника из list_sources (mode=bulk), например nostroy, fsrar-license, cbr-mfo. Пусто: все источники"New value: +"id источника из list_sources (mode=bulk), например nostroy, fsrar-license, cbr-mfo; msp: реестр МСП помесячно с 2016. Пусто: все источники"
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description is not carrying the safety burden. It still adds real behavioral context beyond them: the response includes the snapshot date ('дата среза') and a link to the primary source, and the call is free, keyless and does not consume quota — all operationally relevant facts absent from the annotations and schema.

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?

The purpose and the default behavior are front-loaded, and each sentence adds information about source modes or response metadata rather than restating the name. The single dense paragraph with a duplicated English summary sentence ('Statistics of Russian state registries...') is somewhat hard to scan, but there is no filler.

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 7 optional parameters, full schema coverage, annotations present and no output schema, the description covers the areas that matter: what is counted, how source modes change the result, and that the response carries a snapshot date and source link. Minor gaps remain — the meaning of `limit` (source count in a no-source summary) and the physical shape of the aggregate response are left to the schema.

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 than the schema on the most consequential parameter: for source=msp it enumerates the covered entities and breakdowns (ЮЛ и ИП, микро/малые/средние, работники, соцпредприятия, monthly since Aug 2016) and for source=bfo it spells out the accounting aggregates (organizations, sums, profitable/unprofitable, income buckets) since 2025. That tells an agent what a given source choice will actually produce, which the enum text alone does not.

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 opens with a specific question it answers ('Сколько записей в официальном реестре') and enumerates the dimensions of aggregation (years, regions, status) across ~95 sources, so the verb+resource are unambiguous. It implicitly distinguishes itself as the aggregate/statistics tool rather than a per-record lookup, but it never names the sibling query tools (get_registry, query_registry), so differentiation is by inference.

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?

It gives clear in-tool routing rules for the `source` parameter ('Без source: сводка по всем источникам', plus the msp and bfo special modes), which is genuine when-to-use guidance within the tool. However, there is no statement about when to prefer this over get_registry/query_registry/search_registries, and no exclusions for cases where counts are not what the agent needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.