Skip to main content
Glama
mcp-1c-local-bridge

mcp-1c-local-bridge

by ntappw

usages

Read-only

Finds where a 1C metadata object is used: register writers, document movements, subscriptions, subsystems, functional options, and subordinate catalogs. Use it to trace dependencies before changing configuration.

Instructions

Где используется объект метаданных, по индексу сеанса: поля и объекты его типа (в том числе через определяемые типы), документы, которые пишут в регистр, движения документа, подписки на события, журналы, последовательности, планы обмена, подсистемы, функциональные опции, общие реквизиты, подчинённые справочники, ввод на основании; для общего модуля - подписки и регламентные задания, вызывающие его методы. Обращений из кода модулей в индексе нет.

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": {
      "name": "<name>"
    },
    "name": "usages"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesПолное имя объекта метаданных: Справочник.Контрагенты, РегистрНакопления.ТоварыНаСкладах, ОпределяемыйТип.Владелец, ОбщийМодуль.ОбщегоНазначения. СправочникСсылка.X тоже подойдёт.
buildNotrue - разрешить построение индекса на большой конфигурации (больше 10000 объектов метаданных): оно идёт минуты и всё это время нагружает сеанс пользователя. Без true обработка на такой конфигурации индекс не строит. Передавай только с согласия пользователя.
limitNoСколько строк связей показать.
refreshNotrue - построить индекс метаданных заново, не беря сохранённый: после загрузки изменений конфигурации в базу, если индекс их не заметил.
sessionNoСеанс моста: идентификатор из sessions или часть строки соединения, имени конфигурации, пользователя. Не указан - единственный открытый сеанс.
timeoutNoСколько секунд ждать индекс. Построение на большой конфигурации идёт дольше - тогда вызов сообщит об этом, а повторный вызов дождётся той же команды.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / build
      Added value: +{
      +  "default": false,
      +  "description": "true - разрешить построение индекса на большой конфигурации (больше 10000 объектов метаданных): оно идёт минуты и всё это время нагружает сеанс пользователя. Без true обработка на такой конфигурации индекс не строит. Передавай только с согласия пользователя.",
      +  "title": "Build",
      +  "type": "boolean"
      +}
  2. Addedv1.4.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses that answers come from a per-session index, that building on large configurations takes minutes and loads the user's session, that consent is required for build, that refresh discards the cached index, and that a repeat call will wait on the same pending command. This is exactly the cost/side-effect context annotations cannot carry.

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 coverage list are front-loaded and every enumerated item conveys real scope. The middle of the description is a long comma-run that is dense to read, but each clause earns its place by delimiting what the index actually contains.

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?

Six parameters, all documented, plus an output schema, so return values need no prose. The description supplies the conceptual model (session index), the coverage boundary, and the 'no module code references' caveat. What it does not cover is the prerequisite of an open session / how the index is first produced, which the schema only partly implies.

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%, and the schema already explains build, refresh, limit, timeout, and session in detail. The description contributes only the framing idea of a 'session index' that underlies those parameters; it adds no syntax or format detail of its own, so the baseline 3 applies.

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 concrete verb+resource: 'Где используется объект метаданных' (where a metadata object is used), then enumerates exactly which reference kinds are covered (typed fields, register writers, document movements, subscriptions, subsystems, functional options, subordinate catalogs, input-by-base) plus a special case for common modules. That is far more specific than the bare name 'usages'. It does not name a sibling to contrast with, so it stops short of a 5.

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?

It gives a real exclusion — 'Обращений из кода модулей в индексе нет' (module-code references are not in the index) — which tells the agent not to expect that class of answer. The build/refresh parameter text supplies the escalation condition (large configs, consent required) and when to rebuild after loading changes. No alternative tool is named, so this is clear context rather than full routing guidance.

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