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

mcp-1c-local-bridge

by ntappw

load_file

Uploads a file from the user's computer to 1C temporary storage and returns its address so server-side code can read the binary data without writing to the database.

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

Input Schema

NameRequiredDescriptionDefault
pathYesФайл на компьютере пользователя: путь Windows или путь WSL.
sessionNoСеанс моста: идентификатор из sessions или часть строки соединения, имени конфигурации, пользователя. Не указан - единственный открытый сеанс.
timeoutNoСколько секунд ждать ответ. Команда, которую обработка не начала за это время, снимается; начатая выполняется дальше, её результат забирается инструментом result.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses that nothing is persisted to the database ('В базу при этом ничего не пишется') and that the returned address is ephemeral, valid only while the bridge form is open. It omits size limits, permission requirements, and what happens to the temp copy after the form closes.

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?

Three tight sentences: action and return value first, then the consumer-side retrieval call, then the two lifecycle constraints. Every sentence contributes, though the mid-sentence line break is a formatting artifact rather than intentional structure.

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 three-parameter tool with an output schema and full schema coverage, the description supplies what structured fields cannot: the no-database-write guarantee and the address lifetime. The only real gap is the unstated dependency on an active bridge session, which the 'session' parameter hints at but the description never confirms.

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%, with path, session, and timeout all documented in the schema itself, including the timeout's cancellation semantics. The description adds no parameter-level meaning beyond that, so the baseline of 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 specific verb and resource ('Помещает файл ... во временное хранилище 1С') and states the outcome ('возвращает адрес'), which unambiguously identifies this as an upload-into-temporary-storage operation. The phrase 'с компьютера пользователя' implicitly separates it from save_file's likely direction, but no sibling is named explicitly.

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 through the follow-up mechanics ('серверный код следующих команд получает двоичные данные через ПолучитьИзВременногоХранилища(адрес)'), which tells the agent this is a hand-off step before server-side processing. There is no explicit statement of when to prefer this over save_file, nor any stated prerequisite about needing an open bridge session.

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