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

mcp-1c-local-bridge

by ntappw

find

Read-only

Searches the 1C session metadata index by name or synonym to locate objects, attributes, forms, commands, templates, subscriptions, and jobs, returning full names, synonyms, types, and extensions.

Instructions

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

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

Input Schema

NameRequiredDescriptionDefault
kindNoОтбор по виду: класс объекта (Справочник, Документ, РегистрСведений, ОбщийМодуль...) или вид части (Реквизит, Измерение, Ресурс, ТабличнаяЧасть, ЗначениеПеречисления, Предопределенный, Форма, Команда, Макет). Пусто - всё.
textYesСлова из имени или синонима; все должны встретиться. Слово о владельце ("контрагенты инн") сужает поиск полей.
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

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses meaningful behavior: the index is populated on the first call of a session from user settings or built from scratch, and subsequent searches do not touch 1C at all. It also states the coverage boundary (extensions included, module code excluded) and what is returned (full name, synonym, types, extension). It does not mention the index-build time cost or timeout/retry mechanics in the description itself, though the schema covers those.

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?

Front-loaded with the searched entity types, then scope limits, then result content, then index/caching behavior — a sensible order with no filler. It is dense and long-ish but every clause carries information; the enumeration is bulky yet necessary to convey index scope.

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 search tool with seven parameters, a rich schema, and an output schema, the description covers the essentials an agent needs: what is searchable, what is not, what comes back, and the first-call index cost. The explicit latency/consent caveat for expensive index builds is delegated to the `build` parameter description rather than stated here, a minor gap.

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 all seven parameters are already documented in structured form and the baseline is 3. The description adds only marginal semantic value for parameters — the coverage note about extensions versus module code indirectly explains what `text` can match, and the output-field list hints at what a hit contains, but no additional syntax or matching rules are given.

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 gives a concrete verb and resource — search over the session metadata index — and enumerates the searchable entities (objects, attributes, dimensions, resources, tabular sections, enum values, predefined items, forms, commands, layouts, subscriptions, scheduled jobs, and handler text). It also bounds scope by stating the index covers extension objects and attributes but not module code. It does not name a sibling it is not (e.g. metadata, query, usages), so differentiation is left implicit.

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 implied rather than stated: the reader infers this is the entry point for locating metadata by name/synonym, and that the first call in a session pays the index cost while later calls are local. There is no explicit when-to-use / when-not-to-use guidance relative to siblings such as metadata or usages, and the important consent rule for index building lives in the schema, not the description.

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