Skip to main content
Glama

open_external_processor

Opens an external 1C data processor or report (.epf/.erf) in the running client via menu navigation and file chooser, verifying the form opened. Use it for native 1C QA automation.

Instructions

Open an EXTERNAL data processor/report (.epf/.erf) in the running client the 1C-NATIVE way. NO external input component, NO config object: drives «Главное меню (≡, top-right) -> Файл -> Открыть» (located on-screen via locate_text) -> the GTK file chooser -> Ctrl+L -> types path Unicode-safe (xtest_type_unicode — plain typing drops Cyrillic) -> Enter. The Gherkin step «Я открываю внешнюю обработку или отчет '' (Расширение)» maps to this. PREREQ (as for write_form_value_xtest): the client was launched with an Xvfb display + a window manager (matchbox). Pass expect_caption (e.g. a substring of the processor's window title) to verify the form opened. Returns {path, opened, caption_found, dialog_closed, screenshot, located}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
displayYes
settle_secNo
main_menu_xNo
main_menu_yNo
expect_captionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does so well: it details the exact UI/dialog driving mechanism (main menu -> Файл -> Открыть, GTK chooser, Ctrl+L, Unicode-safe typing via xtest_type_unicode) and the Xvfb/window-manager prerequisite. It stops short of describing failure modes or timing/race behavior beyond settle_sec.

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 core action and resource, and the dense parentheticals all carry substantive detail rather than filler. It is verbose and the Cyrillic/step-name asides add length, but almost every clause earns its place.

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?

For a complex UI-driving tool with 6 params, no annotations, and an output schema, the description covers the mechanism, prerequisites, verification option, and the return shape. Since an output schema exists, return values need not be re-explained, and the description is complete enough to call the tool 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 description coverage is 0%, so the description must compensate. It adds meaning for path (Cyrillic-safe typing), display (must be an Xvfb display with WM), and expect_caption (verifies the form opened), but leaves main_menu_x, main_menu_y, and settle_sec unexplained despite being tunable coordinates/timing.

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?

States a specific verb+resource: opening an external data processor/report (.epf/.erf) in the running client via the native 1C mechanism. It distinguishes itself from siblings like run_report by stressing 'EXTERNAL' and 'NO external input component, NO config object', so an agent can tell it apart without opening schemas.

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 clear usage context by mapping the Gherkin step «Я открываю внешнюю обработку или отчет '<path>'» to this tool and stating a prerequisite (Xvfb display + window manager). However, it does not explicitly name an alternative for related tasks (e.g. run_report for internal reports) or state when NOT to use it.

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